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 5b9c246 commit 9c9c592Copy full SHA for 9c9c592
src/_pytest/fixtures.py
@@ -1735,6 +1735,7 @@ def parsefactories(
1735
return
1736
1737
module_types = (types.ModuleType,)
1738
+ # support IPython's DummyMod if the module containing it has been imported
1739
if (DummyMod := getattr(sys.modules.get("IPython.core.interactiveshell"), "DummyMod", None)) is not None:
1740
module_types += (DummyMod,)
1741
# Avoid accessing `@property` (and other descriptors) when iterating fixtures.
0 commit comments