Skip to content

Commit 32a36f4

Browse files
Fix tests by using pendulum.travel_to (#725)
1 parent 06fb2e9 commit 32a36f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/localization/test_tr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99
def test_diff_for_humans():
10-
with pendulum.test(pendulum.datetime(2016, 8, 29)):
10+
with pendulum.travel_to(pendulum.datetime(2016, 8, 29), freeze=True):
1111
diff_for_humans()
1212

1313

0 commit comments

Comments
 (0)