Message138503
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. |
|
Date |
User |
Action |
Args |
2011-06-17 12:17:51 | vstinner | set | recipients:
+ vstinner, nadeem.vawda, tarek, eric.araujo |
2011-06-17 12:17:51 | vstinner | set | messageid: <1308313071.61.0.685737555084.issue12309@psf.upfronthosting.co.za> |
2011-06-17 12:17:51 | vstinner | link | issue12309 messages |
2011-06-17 12:17:50 | vstinner | create | |
|