We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e148dc commit 4543cd9Copy full SHA for 4543cd9
1 file changed
tests/test_inspector.py
@@ -49,7 +49,7 @@ def test_missing_dependency() -> None:
49
with temporary_pypackage("package", ["module.py"]) as tmp_package:
50
filepath = Path(tmp_package.path, "module.py")
51
filepath.write_text("import missing")
52
- with pytest.raises(ImportError): # noqa: PT012,SIM117
+ with pytest.raises(ImportError): # noqa: SIM117
53
with suppress(ModuleNotFoundError):
54
inspect("package.module", filepath=filepath, import_paths=[tmp_package.tmpdir])
55
0 commit comments