mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-109050: Remove remaining tests for legacy Unicode C API (GH-109068)
This commit is contained in:
parent
17f994174d
commit
b4131a13cb
6 changed files with 1 additions and 197 deletions
|
@ -506,15 +506,6 @@ def has_no_debug_ranges():
|
|||
def requires_debug_ranges(reason='requires co_positions / debug_ranges'):
|
||||
return unittest.skipIf(has_no_debug_ranges(), reason)
|
||||
|
||||
def requires_legacy_unicode_capi():
|
||||
try:
|
||||
from _testcapi import unicode_legacy_string
|
||||
except ImportError:
|
||||
unicode_legacy_string = None
|
||||
|
||||
return unittest.skipUnless(unicode_legacy_string,
|
||||
'requires legacy Unicode C API')
|
||||
|
||||
# Is not actually used in tests, but is kept for compatibility.
|
||||
is_jython = sys.platform.startswith('java')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue