summaryrefslogtreecommitdiffstats
path: root/tests/date/test_diff.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-17 14:32:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-17 14:32:20 +0000
commitdb51f7f103bbbd6c91c8f47d75b3482ef8939691 (patch)
treeab59b1147bd0cd39f31a48073cff236ede4ec1df /tests/date/test_diff.py
parentAdding upstream version 3.0.0~a1. (diff)
downloadpendulum-upstream.tar.xz
pendulum-upstream.zip
Adding upstream version 3.0.0.upstream/3.0.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/date/test_diff.py')
-rw-r--r--tests/date/test_diff.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/date/test_diff.py b/tests/date/test_diff.py
index 56358cc..cfececf 100644
--- a/tests/date/test_diff.py
+++ b/tests/date/test_diff.py
@@ -9,7 +9,7 @@ import pendulum
@pytest.fixture
def today():
- return pendulum.today().date()
+ return pendulum.Date.today()
def test_diff_in_years_positive():