[Python-checkins] cpython (3.5): Issue #26583: Skip test_timestamp_overflow in test_import if bytecode

ned.deily python-checkins at python.org
Thu Mar 17 17:57:06 EDT 2016


https://hg.python.org/cpython/rev/915f158633f4
changeset:   100578:915f158633f4
branch:      3.5
parent:      100574:f874520fd6d8
user:        Ned Deily <nad at python.org>
date:        Thu Mar 17 17:53:52 2016 -0400
summary:
  Issue #26583: Skip test_timestamp_overflow in test_import if bytecode
files cannot be written.

files:
  Lib/test/test_import/__init__.py |  1 +
  Misc/NEWS                        |  3 +++
  2 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py
--- a/Lib/test/test_import/__init__.py
+++ b/Lib/test/test_import/__init__.py
@@ -278,6 +278,7 @@
             """))
         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).
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -319,6 +319,9 @@
 - 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
 -----
 

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list