]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-120560: Mark `zip64` tests in `test_zipimport` as CPU-heavy (GH-120564)
authorNice Zombies <nineteendo19d0@gmail.com>
Mon, 17 Jun 2024 22:18:51 +0000 (00:18 +0200)
committerGitHub <noreply@github.com>
Mon, 17 Jun 2024 22:18:51 +0000 (15:18 -0700)
Lib/test/test_zipimport.py

index e9c3218d2bb39ee4c5f1d6ed1e1ed6ad3a97bdfa..0bae54d26c64f17bfb0e83fa58335f99053b2b86 100644 (file)
@@ -807,10 +807,12 @@ class UncompressedZipImportTestCase(ImportHooksBaseTestCase):
         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))