mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-22 21:32:31 +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
|
@ -6,6 +6,7 @@ import re
|
|||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import cosmo
|
||||
from test import support
|
||||
from test.support import script_helper, is_android, requires_android_level
|
||||
import tempfile
|
||||
|
@ -47,6 +48,7 @@ def requires_raise(test):
|
|||
return (test if not is_android else
|
||||
requires_android_level(24, 'raise() is buggy')(test))
|
||||
|
||||
@unittest.skipIf(cosmo.MODE in ('dbg', 'asan'), "regex can't match backtrace")
|
||||
class FaultHandlerTests(unittest.TestCase):
|
||||
def get_output(self, code, filename=None, fd=None):
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue