From 8716b391c74f7d252169498b4fac9bfa215cdbdf Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 6 Nov 2010 18:36:24 -0500 Subject: [PATCH] PYTHONDONTWRITEBYTECODE might not be set --- testing/acceptance_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py index d9dea4716..3f3f977c5 100644 --- a/testing/acceptance_test.py +++ b/testing/acceptance_test.py @@ -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")