Skip to content

Commit 40ca0a2

Browse files
committed
Update test_decorators.py
1 parent 03bcab1 commit 40ca0a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/searchcommands/test_decorators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ def test_option(self):
460460
self.assertEqual(expected[x.name], x.value.pattern)
461461
elif isinstance(x.value, TextIOWrapper):
462462
self.assertEqual(expected[x.name], "'%s'" % x.value.name)
463-
elif not isinstance(x.value, (bool,) + (six.text_type,) + (six.binary_type,) + tuplewrap(six.integer_types)):
463+
elif not isinstance(x.value, (bool,) + (float,) + (six.text_type,) + (six.binary_type,) + tuplewrap(six.integer_types)):
464464
self.assertEqual(expected[x.name], repr(x.value))
465465
else:
466466
self.assertEqual(expected[x.name], x.value)

0 commit comments

Comments
 (0)