mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-116417: Move limited C API unicode.c tests to _testlimitedcapi (#116993)
Split unicode.c tests of _testcapi into two parts: limited C API tests in _testlimitedcapi and non-limited C API tests in _testcapi. Update test_codecs.
This commit is contained in:
parent
1312094b39
commit
a557478987
12 changed files with 2082 additions and 2032 deletions
|
@ -2338,7 +2338,7 @@ class Test_testcapi(unittest.TestCase):
|
|||
# Suppress warning from PyUnicode_FromUnicode().
|
||||
@warnings_helper.ignore_warnings(category=DeprecationWarning)
|
||||
def test_widechar(self):
|
||||
_testcapi.test_widechar()
|
||||
_testlimitedcapi.test_widechar()
|
||||
|
||||
def test_version_api_data(self):
|
||||
self.assertEqual(_testcapi.Py_Version, sys.hexversion)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue