diff options
author | Éric Araujo <merwok@netwok.org> | 2011-09-18 20:24:27 +0200 |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-09-18 20:24:27 +0200 |
commit | cc95dd81f32112b31a321d42ac676d6ec714747d (patch) | |
tree | 39a8864e6ca759e2a958452f5f7508506da0f375 /Lib/packaging/tests/test_command_build_ext.py | |
parent | 229011d949f40c898ca4e146f3120af326a3f40d (diff) | |
parent | 0cfb81d13f16dfa71b2f5bf215c36dfef319f4fe (diff) | |
download | cpython-git-cc95dd81f32112b31a321d42ac676d6ec714747d.tar.gz |
Branch merge
Diffstat (limited to 'Lib/packaging/tests/test_command_build_ext.py')
-rw-r--r-- | Lib/packaging/tests/test_command_build_ext.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/packaging/tests/test_command_build_ext.py b/Lib/packaging/tests/test_command_build_ext.py index a6ad6ac0af..c84631c2a8 100644 --- a/Lib/packaging/tests/test_command_build_ext.py +++ b/Lib/packaging/tests/test_command_build_ext.py @@ -19,18 +19,13 @@ class BuildExtTestCase(support.TempdirManager, support.LoggingCatcher, unittest.TestCase): def setUp(self): - # Create a simple test environment - # Note that we're making changes to sys.path super(BuildExtTestCase, self).setUp() self.tmp_dir = self.mkdtemp() self.old_user_base = site.USER_BASE site.USER_BASE = self.mkdtemp() def tearDown(self): - # Get everything back to normal - if sys.version > "2.6": - site.USER_BASE = self.old_user_base - + site.USER_BASE = self.old_user_base super(BuildExtTestCase, self).tearDown() def test_build_ext(self): @@ -94,7 +89,6 @@ class BuildExtTestCase(support.TempdirManager, # make sure we get some library dirs under solaris self.assertGreater(len(cmd.library_dirs), 0) - @unittest.skipIf(sys.version < '2.6', 'requires Python 2.6 or higher') def test_user_site(self): dist = Distribution({'name': 'xx'}) cmd = build_ext(dist) |