PYTHONDONTWRITEBYTECODE might not be set

This commit is contained in:
Benjamin Peterson 2010-11-06 18:36:24 -05:00
parent 107b04d462
commit 8716b391c7
1 changed files with 1 additions and 1 deletions

View File

@ -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")