Skip to content

Commit 8fb5290

Browse files
committed
Fixes tests
1 parent 4087a3e commit 8fb5290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pendulum_tests/test_diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def test_diff_in_minutes_positive(self):
148148
self.assertEqual(62, dt.diff(dt.copy().add(hours=1).add(minutes=2)).in_minutes())
149149

150150
def test_diff_in_minutes_positive_big(self):
151-
dt = Pendulum.create_from_date(2000, 1, 1)
151+
dt = Pendulum(2000, 1, 1)
152152
self.assertEqual(1502, dt.diff(dt.copy().add(hours=25).add(minutes=2)).in_minutes())
153153

154154
def test_diff_in_minutes_negative_with_sign(self):

0 commit comments

Comments
 (0)