Author: Michael R. Crusoe <crusoe@debian.org>
Description: Remove some flaky assertion about execution durations
Forwarded: not-needed
--- dipy.orig/dipy/denoise/tests/test_nlmeans.py
+++ dipy/dipy/denoise/tests/test_nlmeans.py
@@ -1,5 +1,3 @@
-from time import time
-
 import numpy as np
 from numpy.testing import (
     assert_,
@@ -115,29 +113,13 @@
     print(f"cpu count {cpu_count()}")
 
     print("1")
-    t = time()
     new_data = nlmeans(data, sigma, mask=mask, num_threads=1)
-    duration_1core = time() - t
-    print(duration_1core)
 
     print("All")
-    t = time()
     new_data2 = nlmeans(data, sigma, mask=mask, num_threads=None)
-    duration_all_core = time() - t
-    print(duration_all_core)
 
     print("2")
-    t = time()
     new_data3 = nlmeans(data, sigma, mask=mask, num_threads=2)
-    duration_2core = time() - t
-    print(duration_2core)
 
     assert_array_almost_equal(new_data, new_data2)
     assert_array_almost_equal(new_data2, new_data3)
-
-    if cpu_count() > 2:
-        assert_equal(duration_all_core < duration_2core, True)
-        assert_equal(duration_2core < duration_1core, True)
-
-    if cpu_count() == 2:
-        assert_greater(duration_1core, duration_2core)
