Skip to content

Commit 6df9baf

Browse files
committed
Improve test_nth_of_month_outside_scope() test cases
1 parent 23f290f commit 6df9baf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/date/test_day_of_week_modifiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def test_last_friday_of_month():
111111

112112

113113
def test_nth_of_month_outside_scope():
114-
d = pendulum.date(1975, 12, 5)
114+
d = pendulum.date(1975, 6, 5)
115115

116116
with pytest.raises(PendulumException):
117117
d.nth_of("month", 6, pendulum.MONDAY)

tests/datetime/test_day_of_week_modifiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def test_last_friday_of_month():
127127

128128

129129
def test_nth_of_month_outside_scope():
130-
d = pendulum.datetime(1975, 12, 5)
130+
d = pendulum.datetime(1975, 6, 5)
131131

132132
with pytest.raises(PendulumException):
133133
d.nth_of("month", 6, pendulum.MONDAY)

0 commit comments

Comments
 (0)