diff options
author | Éric Araujo <merwok@netwok.org> | 2011-09-18 18:24:27 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-09-18 18:24:27 (GMT) |
commit | cc95dd81f32112b31a321d42ac676d6ec714747d (patch) | |
tree | 39a8864e6ca759e2a958452f5f7508506da0f375 /Lib/packaging/tests/test_util.py | |
parent | 229011d949f40c898ca4e146f3120af326a3f40d (diff) | |
parent | 0cfb81d13f16dfa71b2f5bf215c36dfef319f4fe (diff) | |
download | cpython-cc95dd81f32112b31a321d42ac676d6ec714747d.zip cpython-cc95dd81f32112b31a321d42ac676d6ec714747d.tar.gz cpython-cc95dd81f32112b31a321d42ac676d6ec714747d.tar.bz2 |
Branch merge
Diffstat (limited to 'Lib/packaging/tests/test_util.py')
-rw-r--r-- | Lib/packaging/tests/test_util.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/packaging/tests/test_util.py b/Lib/packaging/tests/test_util.py index dcd210f..3d71a96 100644 --- a/Lib/packaging/tests/test_util.py +++ b/Lib/packaging/tests/test_util.py @@ -319,8 +319,6 @@ class UtilTestCase(support.EnvironRestorer, res = get_compiler_versions() self.assertEqual(res[2], None) - @unittest.skipUnless(hasattr(sys, 'dont_write_bytecode'), - 'sys.dont_write_bytecode not supported') def test_dont_write_bytecode(self): # makes sure byte_compile raise a PackagingError # if sys.dont_write_bytecode is True @@ -407,7 +405,6 @@ class UtilTestCase(support.EnvironRestorer, finally: sys.path.remove(tmp_dir) - @unittest.skipIf(sys.version < '2.6', 'requires Python 2.6 or higher') def test_run_2to3_on_code(self): content = "print 'test'" converted_content = "print('test')" @@ -421,7 +418,6 @@ class UtilTestCase(support.EnvironRestorer, file_handle.close() self.assertEqual(new_content, converted_content) - @unittest.skipIf(sys.version < '2.6', 'requires Python 2.6 or higher') def test_run_2to3_on_doctests(self): # to check if text files containing doctests only get converted. content = ">>> print 'test'\ntest\n" |