https://github.com/python/cpython/commit/ac37a806018cc40fafebcd0fa90250c3e0261e0c
commit: ac37a806018cc40fafebcd0fa90250c3e0261e0c
branch: main
author: Nice Zombies <nineteendo1...@gmail.com>
committer: brettcannon <br...@python.org>
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 -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to