https://github.com/python/cpython/commit/ac37a806018cc40fafebcd0fa90250c3e0261e0c
commit: ac37a806018cc40fafebcd0fa90250c3e0261e0c
branch: main
author: Nice Zombies <[email protected]>
committer: brettcannon <[email protected]>
date: 2024-06-17T15:18:51-07:00
summary:
gh-120560: Mark `zip64` tests in `test_zipimport` as CPU-heavy (GH-120564)
files:
M Lib/test/test_zipimport.py
diff --git a/Lib/test/test_zipimport.py b/Lib/test/test_zipimport.py
index e9c3218d2bb39e..0bae54d26c64f1 100644
--- a/Lib/test/test_zipimport.py
+++ b/Lib/test/test_zipimport.py
@@ -807,10 +807,12 @@ def testLargestPossibleComment(self):
files = {TESTMOD + ".py": (NOW, test_src)}
self.doTest(".py", files, TESTMOD, comment=b"c" * ((1 << 16) - 1))
+ @support.requires_resource('cpu')
def testZip64(self):
files = self.getZip64Files()
self.doTest(".py", files, "f6")
+ @support.requires_resource('cpu')
def testZip64CruftAndComment(self):
files = self.getZip64Files()
self.doTest(".py", files, "f65536", comment=b"c" * ((1 << 16) - 1))
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]