Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c80b15

Browse files
committed
Issue #26583: Skip test_timestamp_overflow in test_import if bytecode
files cannot be written.
1 parent c488bc6 commit 1c80b15

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/test/test_import/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ def __del__(self):
278278
"""))
279279
script_helper.assert_python_ok(testfn)
280280

281+
@skip_if_dont_write_bytecode
281282
def test_timestamp_overflow(self):
282283
# A modification timestamp larger than 2**32 should not be a problem
283284
# when importing a module (issue #11235).

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ Tests
319319
- Issue #25616: Tests for OrderedDict are extracted from test_collections
320320
into separate file test_ordered_dict.
321321

322+
- Issue #26583: Skip test_timestamp_overflow in test_import if bytecode
323+
files cannot be written.
324+
322325
Build
323326
-----
324327

0 commit comments

Comments
 (0)