We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5290946 commit 9c8df44Copy full SHA for 9c8df44
tests/searchcommands/test_validators.py
@@ -222,7 +222,7 @@ def test(float_val):
222
assert False
223
for s in str(float_val), six.text_type(float_val):
224
value = validator.__call__(s)
225
- self.assertEqual(value, float_val)
+ self.assertAlmostEqual(value, float_val)
226
self.assertIsInstance(value, float)
227
self.assertEqual(validator.format(float_val), six.text_type(float_val))
228
0 commit comments