bpo-36713: Rename duplicated method in test_unicode. (#13525)
modified: Lib/ctypes/test/test_unicode.py modified: Misc/ACKS new file: Misc/NEWS.d/next/Library/2019-05-23-15-57-36.bpo-36713.sjPhnf.rst
This commit is contained in:
parent
942c31dffb
commit
25d8404c35
|
@ -93,7 +93,7 @@ class StringTestCase(UnicodeTestCase):
|
|||
func.argtypes = None
|
||||
func.restype = ctypes.c_int
|
||||
|
||||
def test_ascii_replace(self):
|
||||
def test_ascii_strict(self):
|
||||
func = self.func
|
||||
ctypes.set_conversion_mode("ascii", "strict")
|
||||
self.assertEqual(func("abc"), "abc")
|
||||
|
|
|
@ -47,6 +47,7 @@ Juancarlo Añez
|
|||
Chris Angelico
|
||||
Jérémy Anger
|
||||
Jon Anglin
|
||||
Michele Angrisano
|
||||
Ankur Ankan
|
||||
Heidi Annexstad
|
||||
Ramchandra Apte
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Rename the :meth:`test_ascii_replace` to :meth:`test_ascii_strict`.
|
Loading…
Reference in New Issue