Skip to content

Commit

Permalink
fixed attribute error
Browse files Browse the repository at this point in the history
  • Loading branch information
SZonkil committed Mar 14, 2024
1 parent aee2e30 commit dc2b1aa
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions sio/workers/test/test_executors.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,27 +845,27 @@ def test_checker_percentage_parsing():
eq_(output_to_fraction('007/0042'), (1, 6))
eq_(output_to_fraction('1e5'), (100000, 1))

with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('42 2')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('42,2')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('42 2 1')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('42/2/1')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('42/2.1')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('42/')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('/42')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('/')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('42/0')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('abc')
with raises(CheckerError):
with pytest.raises(CheckerError):
output_to_fraction('42/abc')

0 comments on commit dc2b1aa

Please sign in to comment.