Issue #26583: Skip test_timestamp_overflow in test_import if bytecode
authorNed Deily <nad@python.org>
Thu, 17 Mar 2016 21:53:52 +0000 (17:53 -0400)
committerNed Deily <nad@python.org>
Thu, 17 Mar 2016 21:53:52 +0000 (17:53 -0400)
files cannot be written.

Lib/test/test_import/__init__.py
Misc/NEWS

index 14a688de1c6a7605e1ac08d4eaeb2336adfed353..1e33274b873f263a3cfd96fb12642bc5694ba1c9 100644 (file)
@@ -278,6 +278,7 @@ class ImportTests(unittest.TestCase):
             """))
         script_helper.assert_python_ok(testfn)
 
+    @skip_if_dont_write_bytecode
     def test_timestamp_overflow(self):
         # A modification timestamp larger than 2**32 should not be a problem
         # when importing a module (issue #11235).
index 4299e4e1db2476dbf4489d9613451c4ad4874b49..78980fe9663e500e7fefd098fa3d74f3fce8cc46 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -319,6 +319,9 @@ Tests
 - Issue #25616: Tests for OrderedDict are extracted from test_collections
   into separate file test_ordered_dict.
 
+- Issue #26583: Skip test_timestamp_overflow in test_import if bytecode
+  files cannot be written.
+
 Build
 -----