Skip to content

Commit

Permalink
Don't match specific text strings
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed Jan 3, 2025
1 parent 14cac35 commit 589791c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_recurrence.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,5 +268,5 @@ def test_mismatch_date_and_datetime_types() -> None:
"RDATE:20220805",
]
)
with pytest.raises(RecurrenceError, match=r"can't compare datetime.datetime to datetime.date"):
with pytest.raises(RecurrenceError):
list(recurrences.as_rrule())

0 comments on commit 589791c

Please sign in to comment.