We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4087a3e commit 8fb5290Copy full SHA for 8fb5290
tests/pendulum_tests/test_diff.py
@@ -148,7 +148,7 @@ def test_diff_in_minutes_positive(self):
148
self.assertEqual(62, dt.diff(dt.copy().add(hours=1).add(minutes=2)).in_minutes())
149
150
def test_diff_in_minutes_positive_big(self):
151
- dt = Pendulum.create_from_date(2000, 1, 1)
+ dt = Pendulum(2000, 1, 1)
152
self.assertEqual(1502, dt.diff(dt.copy().add(hours=25).add(minutes=2)).in_minutes())
153
154
def test_diff_in_minutes_negative_with_sign(self):
0 commit comments