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_,
                            assert_equal,
@@ -10,7 +8,6 @@
 from dipy.denoise.nlmeans import nlmeans
 from dipy.denoise.denspeed import (add_padding_reflection, remove_padding)
 from dipy.utils.omp import cpu_count, have_openmp
-from dipy.testing import assert_greater
 from dipy.testing.decorators import set_random_number_generator
 
 
@@ -115,31 +112,13 @@
     print('cpu count %d' % (cpu_count(),))
 
     print('1')
-    t = time()
     new_data = nlmeans(data, sigma, mask, num_threads=1)
-    duration_1core = time() - t
-    print(duration_1core)
 
     print('All')
-    t = time()
     new_data2 = nlmeans(data, sigma, mask, num_threads=None)
-    duration_all_core = time() - t
-    print(duration_all_core)
 
     print('2')
-    t = time()
     new_data3 = nlmeans(data, sigma, 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)
