mirror of https://github.com/python/cpython
Merge with default.
This commit is contained in:
commit
8485701714
|
@ -240,7 +240,7 @@ class BuiltinImporter:
|
|||
@classmethod
|
||||
@_requires_builtin
|
||||
def is_package(cls, fullname):
|
||||
"""Return None as built-in module are never packages."""
|
||||
"""Return None as built-in modules are never packages."""
|
||||
return False
|
||||
|
||||
|
||||
|
|
|
@ -489,6 +489,7 @@ class TestsWithSourceFile(unittest.TestCase):
|
|||
except zipfile.BadZipFile:
|
||||
self.assertTrue(zipfp2.fp is None, 'zipfp is not closed')
|
||||
|
||||
@skipUnless(zlib, "requires zlib")
|
||||
def test_unicode_filenames(self):
|
||||
# bug #10801
|
||||
fname = findfile('zip_cp437_header.zip')
|
||||
|
|
Loading…
Reference in New Issue