Fix typing errors after mypy update

This commit is contained in:
Bruno Oliveira
2022-11-15 08:53:23 -03:00
parent 4fce29f15d
commit d5466b3917
4 changed files with 16 additions and 13 deletions

View File

@@ -92,7 +92,7 @@ class TestSetattrWithImportPath:
mp.delattr("os.path.abspath")
assert not hasattr(os.path, "abspath")
mp.undo()
assert os.path.abspath
assert os.path.abspath # type:ignore[truthy-function]
def test_delattr() -> None: