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 9d95112 commit 190eabeCopy full SHA for 190eabe
src/inline/plugin.py
@@ -1395,7 +1395,7 @@ def collect(self) -> Iterable[InlinetestItem]:
1395
try:
1396
# TODO: still need to find the right way to import without errors. mode=ImportMode.importlib did not work
1397
module = import_path(self.path, root=self.config.rootpath)
1398
- except (ImportError or ModuleNotFoundError) as e:
+ except (ImportError, ModuleNotFoundError) as e:
1399
if self.config.getvalue("inlinetest_ignore_import_errors"):
1400
pytest.skip("unable to import module %r" % self.path)
1401
else:
0 commit comments