summaryrefslogtreecommitdiffstats
path: root/tests/date/test_diff.py
diff options
context:
space:
mode:
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():