Skip to content

Commit 76cd0eb

Browse files
committed
round floating point error manually in test
1 parent 63fa94b commit 76cd0eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/tools/test_to_datetime.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,6 +1452,7 @@ def test_to_datetime_unit(self):
14521452
]
14531453
+ [NaT]
14541454
)
1455+
result = result.round("ms")
14551456
tm.assert_series_equal(result, expected)
14561457

14571458
s = pd.concat(

0 commit comments

Comments
 (0)