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.
2 parents cb828eb + 27c9d80 commit 13c4b7dCopy full SHA for 13c4b7d
testing/test_pytester.py
@@ -231,8 +231,8 @@ def test_inline_run_taking_and_restoring_a_sys_modules_snapshot(
231
):
232
spy_factory = self.spy_factory()
233
monkeypatch.setattr(pytester, "SysModulesSnapshot", spy_factory)
234
- original = dict(sys.modules)
235
testdir.syspathinsert()
+ original = dict(sys.modules)
236
testdir.makepyfile(import1="# you son of a silly person")
237
testdir.makepyfile(import2="# my hovercraft is full of eels")
238
test_mod = testdir.makepyfile(
0 commit comments