fix: minor touchups based on stricter mypy settings (#1060)
* fix: minor touchups based on stricter mypy settings * refactor: address review comments
This commit is contained in:
@@ -26,7 +26,7 @@ def test_no_printout_on_error(tmp_path, capsys):
|
||||
tmp_path.joinpath("example.1").touch()
|
||||
raise RuntimeError()
|
||||
|
||||
captured = capsys.readouterr()
|
||||
captured = capsys.readouterr() # type: ignore[unreachable]
|
||||
assert captured.err == ""
|
||||
|
||||
assert "example.0" not in captured.out
|
||||
|
||||
Reference in New Issue
Block a user