Skip to content

Commit

Permalink
Cleanup unused assertion flagged by kypso-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
rlskoeser committed Nov 7, 2024
1 parent 3913997 commit 25ba4ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_dateformat/test_edtf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import pytest

from undate.dateformat.edtf import EDTFDateFormat
from undate.undate import Undate, UndateInterval

Expand All @@ -25,7 +24,7 @@ def test_parse_singledate_unequal(self):

def test_parse_invalid(self):
with pytest.raises(ValueError):
assert EDTFDateFormat().parse("1991-5") == Undate(1991, 5)
EDTFDateFormat().parse("1991-5")

def test_parse_range(self):
assert EDTFDateFormat().parse("1800/1900") == UndateInterval(
Expand Down

0 comments on commit 25ba4ad

Please sign in to comment.