mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +00:00
Python 3.7 METH_FASTCALL backport (#406)
This commit is contained in:
parent
fec396037a
commit
83b743cf96
103 changed files with 2949 additions and 3356 deletions
2
third_party/python/Lib/test/test_site.py
vendored
2
third_party/python/Lib/test/test_site.py
vendored
|
@ -97,6 +97,7 @@ class HelperFunctionsTests(unittest.TestCase):
|
|||
"%s from sys.path not found in set returned "
|
||||
"by _init_pathinfo(): %s" % (entry, dir_set))
|
||||
|
||||
@unittest.skipIf(True, "pth files modify import paths, nasty")
|
||||
def pth_file_tests(self, pth_file):
|
||||
"""Contain common code for testing results of reading a .pth file"""
|
||||
self.assertIn(pth_file.imported, sys.modules,
|
||||
|
@ -480,6 +481,7 @@ class ImportSideEffectTests(unittest.TestCase):
|
|||
else:
|
||||
self.fail("sitecustomize not imported automatically")
|
||||
|
||||
@unittest.skipIf(True, "internet not allowed")
|
||||
@test.support.requires_resource('network')
|
||||
@test.support.system_must_validate_cert
|
||||
@unittest.skipUnless(sys.version_info[3] == 'final',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue