Skip to content

Commit

Permalink
pythongh-120560: Mark zip64 tests in test_zipimport as CPU-heavy (p…
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo authored Jun 17, 2024
1 parent 35b1679 commit ac37a80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Lib/test/test_zipimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit ac37a80

Please sign in to comment.