summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 af4f6c9..7d3f422 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -846,6 +846,9 @@ Tests
- ``PCbuild\rt.bat`` now accepts an unlimited number of arguments to pass along
to regrtest.py. Previously there was a limit of 9.
+- Issue #26583: Skip test_timestamp_overflow in test_import if bytecode
+ files cannot be written.
+
Build
-----