Skip to content

[2.7] bpo-36713: Rename duplicated method in test_unicode. #13525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/ctypes/test/test_unicode.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def tearDown(self):
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")
Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Juancarlo Añez
Chris Angelico
Jérémy Anger
Jon Anglin
Michele Angrisano
Ankur Ankan
Heidi Annexstad
Ramchandra Apte
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rename the :meth:`test_ascii_replace` to :meth:`test_ascii_strict`.