mirror of
https://github.com/thombashi/subprocrunner.git
synced 2021-05-19 21:14:52 +03:00
Apply formatter
This commit is contained in:
@@ -16,7 +16,12 @@ from subprocrunner import Which
|
||||
|
||||
class Test_Which_constructor:
|
||||
@pytest.mark.parametrize(
|
||||
["value", "expected"], [[0, ValueError], ["", ValueError], [None, ValueError]],
|
||||
["value", "expected"],
|
||||
[
|
||||
[0, ValueError],
|
||||
["", ValueError],
|
||||
[None, ValueError],
|
||||
],
|
||||
)
|
||||
def test_exception(self, value, expected):
|
||||
with pytest.raises(expected):
|
||||
|
||||
Reference in New Issue
Block a user