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:
Henry Schreiner
2022-04-01 22:00:07 -04:00
committed by GitHub
parent dc10f1a654
commit 7ef593c2ad
4 changed files with 13 additions and 11 deletions
+1 -1
View File
@@ -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