alessandro trinca tornidor
commited on
Commit
•
faa82ff
1
Parent(s):
c311b69
[test] improve test assertion
Browse files
tests/io/test_raster_helpers.py
CHANGED
@@ -133,7 +133,7 @@ class Test(unittest.TestCase):
|
|
133 |
count_abs_diff += 1
|
134 |
if check_type == "float":
|
135 |
cls.assertAlmostEqual(el00, el01, places=places)
|
136 |
-
cls.assertTrue(ndiff < check_ndiff)
|
137 |
print("count_abs_diff:", count_abs_diff)
|
138 |
|
139 |
normalized_array = raster_helpers.normalize_array(z)
|
|
|
133 |
count_abs_diff += 1
|
134 |
if check_type == "float":
|
135 |
cls.assertAlmostEqual(el00, el01, places=places)
|
136 |
+
cls.assertLess(ndiff, check_ndiff) # cls.assertTrue(ndiff < check_ndiff)
|
137 |
print("count_abs_diff:", count_abs_diff)
|
138 |
|
139 |
normalized_array = raster_helpers.normalize_array(z)
|