[py-svn] pytest commit 8dad8f0e7649: PYTHONDONTWRITEBYTECODE might not be set

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sun Nov 7 00:36:05 CET 2010


# HG changeset patch -- Bitbucket.org
# Project pytest
# URL http://bitbucket.org/hpk42/pytest/overview
# User Benjamin Peterson <benjamin at python.org>
# Date 1289086584 18000
# Node ID 8dad8f0e7649d22b6ffae74c9a806324460c871b
# Parent  43dccff205987b4737e5d8c4fa077224f38b78c0
PYTHONDONTWRITEBYTECODE might not be set

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



More information about the pytest-commit mailing list