PYTHONDONTWRITEBYTECODE might not be set
This commit is contained in:
parent
107b04d462
commit
8716b391c7
|
@ -311,7 +311,7 @@ class TestInvocationVariants:
|
|||
assert "--myopt" in out
|
||||
|
||||
def test_cmdline_python_package(self, testdir, monkeypatch):
|
||||
monkeypatch.delenv('PYTHONDONTWRITEBYTECODE')
|
||||
monkeypatch.delenv('PYTHONDONTWRITEBYTECODE', False)
|
||||
path = testdir.mkpydir("tpkg")
|
||||
path.join("test_hello.py").write("def test_hello(): pass")
|
||||
path.join("test_world.py").write("def test_world(): pass")
|
||||
|
|
Loading…
Reference in New Issue