Skip to content

Commit 25d8404

Browse files
mangrisanoezio-melotti
authored andcommitted
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
1 parent 942c31d commit 25d8404

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Lib/ctypes/test/test_unicode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def tearDown(self):
9393
func.argtypes = None
9494
func.restype = ctypes.c_int
9595

96-
def test_ascii_replace(self):
96+
def test_ascii_strict(self):
9797
func = self.func
9898
ctypes.set_conversion_mode("ascii", "strict")
9999
self.assertEqual(func("abc"), "abc")

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Juancarlo Añez
4747
Chris Angelico
4848
Jérémy Anger
4949
Jon Anglin
50+
Michele Angrisano
5051
Ankur Ankan
5152
Heidi Annexstad
5253
Ramchandra Apte
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Rename the :meth:`test_ascii_replace` to :meth:`test_ascii_strict`.

0 commit comments

Comments
 (0)