Skip to content

Commit 030bcb2

Browse files
author
MarcoGorelli
committed
loosen bound in test
1 parent 794f9e4 commit 030bcb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/tools/test_to_datetime.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ def test_to_datetime_now_with_format(self, format, expected_ds, string, attribut
946946
expected = DatetimeIndex(
947947
[expected_ds, getattr(Timestamp, attribute)()], dtype="datetime64[ns, UTC]"
948948
)
949-
assert (expected - result).max().total_seconds() < 1e-2
949+
assert (expected - result).max().total_seconds() < 1
950950

951951
@pytest.mark.parametrize(
952952
"dt", [np.datetime64("2000-01-01"), np.datetime64("2000-01-02")]

0 commit comments

Comments
 (0)