Revert "Backport METH_FASTCALL from Python 3.7 (#328)"

This reverts commit cf73bbd678.
This commit is contained in:
Justine Tunney 2022-05-12 06:49:54 -07:00
parent e7611a8476
commit 2ea1dc405c
102 changed files with 3299 additions and 2894 deletions

View file

@ -1,6 +1,5 @@
import os
import sys
import cosmo
from test.support import TESTFN, rmtree, unlink, captured_stdout
from test.support.script_helper import assert_python_ok, assert_python_failure
import textwrap
@ -293,7 +292,6 @@ class TestCallers(unittest.TestCase):
# Created separately for issue #3821
@unittest.skipIf(cosmo.MODE == "tiny", "fails only in MODE=tiny")
class TestCoverage(unittest.TestCase):
def setUp(self):
self.addCleanup(sys.settrace, sys.gettrace())
@ -386,7 +384,6 @@ class TestCoverageCommandLineOutput(unittest.TestCase):
unlink(self.codefile)
unlink(self.coverfile)
@unittest.skipIf(cosmo.MODE == "tiny", "docstrings skipped in MODE=tiny")
def test_cover_files_written_no_highlight(self):
argv = '-m trace --count'.split() + [self.codefile]
status, stdout, stderr = assert_python_ok(*argv)
@ -398,7 +395,6 @@ class TestCoverageCommandLineOutput(unittest.TestCase):
" print('unreachable')\n"
)
@unittest.skipIf(cosmo.MODE == "tiny", "fails only in MODE=tiny")
def test_cover_files_written_with_highlight(self):
argv = '-m trace --count --missing'.split() + [self.codefile]
status, stdout, stderr = assert_python_ok(*argv)