Cache behaviour of multiple invocations of pytest.main() with import-mode=importlib
#12983
-
|
The docs state the following about running
Does this limitation still hold when using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
|
As you can trivially confirm with a import sys
def test_module():
assert __name__ in sys.modulesthat assumption is wrong. |
Beta Was this translation helpful? Give feedback.
As you can trivially confirm with a
that assumption is wrong.