summaryrefslogtreecommitdiff
path: root/silx/opencl/test/test_medfilt.py
diff options
context:
space:
mode:
Diffstat (limited to 'silx/opencl/test/test_medfilt.py')
-rw-r--r--silx/opencl/test/test_medfilt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/silx/opencl/test/test_medfilt.py b/silx/opencl/test/test_medfilt.py
index f4e4cc8..976b199 100644
--- a/silx/opencl/test/test_medfilt.py
+++ b/silx/opencl/test/test_medfilt.py
@@ -35,7 +35,7 @@ __authors__ = ["Jérôme Kieffer"]
__contact__ = "jerome.kieffer@esrf.eu"
__license__ = "MIT"
__copyright__ = "2013-2017 European Synchrotron Radiation Facility, Grenoble, France"
-__date__ = "15/03/2017"
+__date__ = "05/07/2018"
import sys
@@ -112,7 +112,7 @@ class TestMedianFilter(unittest.TestCase):
logger.info("test_medfilt: size: %s: skipped")
else:
logger.info("test_medfilt: size: %s error %s, t_ref: %.3fs, t_ocl: %.3fs" % r)
- self.assert_(r.error == 0, 'Results are correct')
+ self.assertEqual(r.error, 0, 'Results are correct')
def benchmark(self, limit=36):
"Run some benchmarking"