mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 05:42:29 +00:00
Backport METH_FASTCALL from Python 3.7 (#328)
This commit is contained in:
parent
70c97f598b
commit
cf73bbd678
102 changed files with 2896 additions and 3301 deletions
3
third_party/python/Lib/test/test_doctest2.py
vendored
3
third_party/python/Lib/test/test_doctest2.py
vendored
|
@ -12,6 +12,7 @@ the example. It should be ignored:
|
|||
"""
|
||||
|
||||
import sys
|
||||
import cosmo
|
||||
import unittest
|
||||
from test import support
|
||||
if sys.flags.optimize >= 2:
|
||||
|
@ -108,6 +109,8 @@ class C(object):
|
|||
return val
|
||||
|
||||
def test_main():
|
||||
if cosmo.MODE == 'tiny':
|
||||
return
|
||||
from test import test_doctest2
|
||||
EXPECTED = 19
|
||||
f, t = support.run_doctest(test_doctest2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue