summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2016-03-17 21:53:52 (GMT)
committerNed Deily <nad@python.org>2016-03-17 21:53:52 (GMT)
commit1c80b152bd7a793b40a729bddf19c10660b06202 (patch)
treefd5bdf8987e2c3711f5e533943d4a17bd84b4d09
parentc488bc6a76b99f579039edaa52aeb26e54f96d3b (diff)
downloadcpython-1c80b152bd7a793b40a729bddf19c10660b06202.zip
cpython-1c80b152bd7a793b40a729bddf19c10660b06202.tar.gz
cpython-1c80b152bd7a793b40a729bddf19c10660b06202.tar.bz2
Issue #26583: Skip test_timestamp_overflow in test_import if bytecode
files cannot be written.
-rw-r--r--Lib/test/test_import/__init__.py1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py
index 14a688d..1e33274 100644
--- a/Lib/test/test_import/__init__.py
+++ b/Lib/test/test_import/__init__.py
@@ -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).
diff --git a/Misc/NEWS b/Misc/NEWS
index 4299e4e..78980fe 100644
--- 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
-----