Python 3.7 METH_FASTCALL backport (#406)

This commit is contained in:
Gautham 2022-05-13 17:35:12 +05:30 committed by GitHub
parent fec396037a
commit 83b743cf96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
103 changed files with 2949 additions and 3356 deletions

View file

@ -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):
"""