File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11
11
12
12
13
13
def test_run_pylint_with_invalid_argument (capsys : CaptureFixture [str ]) -> None :
14
- """Check that appropriate exit code is used with invalid argument"""
14
+ """Check that appropriate exit code is used with invalid argument. """
15
15
with pytest .raises (SystemExit ) as ex :
16
16
run_pylint (["--never-use-this" ])
17
17
captured = capsys .readouterr ()
@@ -23,7 +23,8 @@ def test_run_pylint_with_invalid_argument_in_config(
23
23
capsys : CaptureFixture [str ], tmp_path : Path
24
24
) -> None :
25
25
"""Check that appropriate exit code is used with an ambiguous
26
- argument in a config file"""
26
+ argument in a config file.
27
+ """
27
28
test_file = tmp_path / "testpylintrc"
28
29
with open (test_file , "w" , encoding = "utf-8" ) as f :
29
30
f .write ("[MASTER]\n no=" )
You can’t perform that action at this time.
0 commit comments