From 8c59a0efb7a34722b7e938e62fd5dacf83482060 Mon Sep 17 00:00:00 2001 From: Michele Angrisano Date: Thu, 23 May 2019 15:31:19 +0200 Subject: [PATCH] bpo-36713: Rename duplicated method in test_unicode. 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 --- Lib/ctypes/test/test_unicode.py | 2 +- Misc/ACKS | 1 + .../next/Library/2019-05-23-15-57-36.bpo-36713.sjPhnf.rst | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Library/2019-05-23-15-57-36.bpo-36713.sjPhnf.rst diff --git a/Lib/ctypes/test/test_unicode.py b/Lib/ctypes/test/test_unicode.py index 1da5a25f25d3b5..ec5663a5001b79 100644 --- a/Lib/ctypes/test/test_unicode.py +++ b/Lib/ctypes/test/test_unicode.py @@ -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") diff --git a/Misc/ACKS b/Misc/ACKS index 3e71016a7ec4d7..eba64ae02586ce 100644 --- a/Misc/ACKS +++ b/Misc/ACKS @@ -47,6 +47,7 @@ Juancarlo Añez Chris Angelico Jérémy Anger Jon Anglin +Michele Angrisano Ankur Ankan Heidi Annexstad Ramchandra Apte diff --git a/Misc/NEWS.d/next/Library/2019-05-23-15-57-36.bpo-36713.sjPhnf.rst b/Misc/NEWS.d/next/Library/2019-05-23-15-57-36.bpo-36713.sjPhnf.rst new file mode 100644 index 00000000000000..cc52bff701e616 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2019-05-23-15-57-36.bpo-36713.sjPhnf.rst @@ -0,0 +1 @@ +Rename the :meth:`test_ascii_replace` to :meth:`test_ascii_strict`.