mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
gh-110572: Remove test_* from _testcapi/getargs.c (GH-111214)
This commit is contained in:
parent
47d3e2ed93
commit
4fbf20605b
4 changed files with 23 additions and 212 deletions
|
|
@ -2159,7 +2159,7 @@ class TestThreadState(unittest.TestCase):
|
|||
class Test_testcapi(unittest.TestCase):
|
||||
locals().update((name, getattr(_testcapi, name))
|
||||
for name in dir(_testcapi)
|
||||
if name.startswith('test_') and not name.endswith('_code'))
|
||||
if name.startswith('test_'))
|
||||
|
||||
# Suppress warning from PyUnicode_FromUnicode().
|
||||
@warnings_helper.ignore_warnings(category=DeprecationWarning)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue