Пример #1
0
def test_from_roman_with_invalid_number():
    with pytest.raises(RomanNumeralsError):
        from_roman("ABC")
Пример #2
0
def test_from_roman():
    for arabic, roman in ARABIC_TO_ROMAN:
        assert from_roman(roman) == arabic