Skip to content

Commit 0005e0f

Browse files
committed
TST: test_precision_conversion on windows fix (GH8324)
1 parent 91e6dda commit 0005e0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/io/tests/test_parsers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3201,8 +3201,8 @@ def error(val):
32013201
normal_errors.append(error(normal_val))
32023202
precise_errors.append(error(precise_val))
32033203
self.assertEqual(roundtrip_val, float(text[2:])) # round-trip should match float()
3204-
self.assertTrue(sum(precise_errors) < sum(normal_errors))
3205-
self.assertTrue(max(precise_errors) < max(normal_errors))
3204+
self.assertTrue(sum(precise_errors) <= sum(normal_errors))
3205+
self.assertTrue(max(precise_errors) <= max(normal_errors))
32063206

32073207
def test_pass_dtype(self):
32083208
data = """\

0 commit comments

Comments
 (0)