Skip to content

Commit 7625864

Browse files
committed
autopep8
1 parent dca7efa commit 7625864

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
from codonPython.suppression import suppress_value
22
import pytest
33

4+
45
@pytest.mark.parametrize("to_suppress, expected", [
56
(0, 0),
67
(2, "*"),
78
(5, "*"),
89
(8, 10),
9-
(14, 15),
10+
(16, 15),
1011
(57, 60),
1112
(10023, 10025)
1213
])
1314
def test_suppress_value_BAU(to_suppress, expected):
1415
assert expected == suppress_value(to_suppress)
1516

17+
1618
@pytest.mark.parametrize("to_suppress", [
1719
-1,
1820
4.2,
1921
100000001
2022
])
21-
def test_suppress_value_valueErrors(to_suppress):
22-
with pytest.raises(ValueError):
23-
suppress_value(to_suppress)
23+
def test_suppress_value_valueErrors(to_suppress):
24+
with pytest.raises(ValueError):
25+
suppress_value(to_suppress)

0 commit comments

Comments
 (0)