Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/tests/test_new_roman_numeral.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ def test_forty_two() -> None:
assert int(RomanNumeral(42)) == 42 # NoQA: PLR2004


def test_four_thousand_nine_hundred_and_ninety_nine() -> None:
def test_three_thousand_nine_hundred_and_ninety_nine() -> None:
assert int(RomanNumeral(3_999)) == 3_999 # NoQA: PLR2004


def test_MAX() -> None: # NoQA: N802
assert int(RomanNumeral(MAX)) == MAX


def test_five_thousand() -> None:
def test_four_thousand() -> None:
with pytest.raises(OutOfRangeError) as ctx:
RomanNumeral(4_000)
msg = str(ctx.value)
Expand Down