This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients eric.araujo, nadeem.vawda, tarek, vstinner
Date 2011-06-17.12:17:50
SpamBayes Score 0.0070537506
Marked as misclassified No
Message-id <1308313071.61.0.685737555084.issue12309@psf.upfronthosting.co.za>
In-reply-to
Content
A patch fixing os.environ warning for test_command_build_ext.py:

diff --git a/Lib/packaging/tests/test_command_build_ext.py b/Lib/packaging/tests/test_command_build_ext.py
--- a/Lib/packaging/tests/test_command_build_ext.py
+++ b/Lib/packaging/tests/test_command_build_ext.py
@@ -20,7 +20,10 @@ def _get_source_filename():
 
 class BuildExtTestCase(support.TempdirManager,
                        support.LoggingCatcher,
+                       support.EnvironRestorer,
                        unittest.TestCase):
+    restore_environ = ['LIB', 'INCLUDE', 'PATH']
+
     def setUp(self):
         # Create a simple test environment
         # Note that we're making changes to sys.path

It is not enough.
History
Date User Action Args
2011-06-17 12:17:51vstinnersetrecipients: + vstinner, nadeem.vawda, tarek, eric.araujo
2011-06-17 12:17:51vstinnersetmessageid: <1308313071.61.0.685737555084.issue12309@psf.upfronthosting.co.za>
2011-06-17 12:17:51vstinnerlinkissue12309 messages
2011-06-17 12:17:50vstinnercreate