Skip to content

Commit 9267431

Browse files
nineteendomrahtz
authored andcommitted
pythongh-120560: Mark zip64 tests in test_zipimport as CPU-heavy (pythonGH-120564)
1 parent 83f7254 commit 9267431

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_zipimport.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -807,10 +807,12 @@ def testLargestPossibleComment(self):
807807
files = {TESTMOD + ".py": (NOW, test_src)}
808808
self.doTest(".py", files, TESTMOD, comment=b"c" * ((1 << 16) - 1))
809809

810+
@support.requires_resource('cpu')
810811
def testZip64(self):
811812
files = self.getZip64Files()
812813
self.doTest(".py", files, "f6")
813814

815+
@support.requires_resource('cpu')
814816
def testZip64CruftAndComment(self):
815817
files = self.getZip64Files()
816818
self.doTest(".py", files, "f65536", comment=b"c" * ((1 << 16) - 1))

0 commit comments

Comments
 (0)