mirror of
https://github.com/python/cpython.git
synced 2025-07-30 14:44:10 +00:00
gh-120560: Mark zip64
tests in test_zipimport
as CPU-heavy (GH-120564)
This commit is contained in:
parent
35b16795d1
commit
ac37a80601
1 changed files with 2 additions and 0 deletions
|
@ -807,10 +807,12 @@ class UncompressedZipImportTestCase(ImportHooksBaseTestCase):
|
||||||
files = {TESTMOD + ".py": (NOW, test_src)}
|
files = {TESTMOD + ".py": (NOW, test_src)}
|
||||||
self.doTest(".py", files, TESTMOD, comment=b"c" * ((1 << 16) - 1))
|
self.doTest(".py", files, TESTMOD, comment=b"c" * ((1 << 16) - 1))
|
||||||
|
|
||||||
|
@support.requires_resource('cpu')
|
||||||
def testZip64(self):
|
def testZip64(self):
|
||||||
files = self.getZip64Files()
|
files = self.getZip64Files()
|
||||||
self.doTest(".py", files, "f6")
|
self.doTest(".py", files, "f6")
|
||||||
|
|
||||||
|
@support.requires_resource('cpu')
|
||||||
def testZip64CruftAndComment(self):
|
def testZip64CruftAndComment(self):
|
||||||
files = self.getZip64Files()
|
files = self.getZip64Files()
|
||||||
self.doTest(".py", files, "f65536", comment=b"c" * ((1 << 16) - 1))
|
self.doTest(".py", files, "f65536", comment=b"c" * ((1 << 16) - 1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue