]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-109140: Rename duplicated tests in `test_binascii` (#109141)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Fri, 8 Sep 2023 15:30:28 +0000 (09:30 -0600)
committerGitHub <noreply@github.com>
Fri, 8 Sep 2023 15:30:28 +0000 (15:30 +0000)
Lib/test/test_binascii.py

index eb831b1a06fcb8899fe6748a66a7d7f7f956bb11..3d3e0746e9bfdf9befc42c46413552bbde4b07d4 100644 (file)
@@ -233,7 +233,7 @@ class BinASCIITest(unittest.TestCase):
         binary=hypothesis.strategies.binary(),
         backtick=hypothesis.strategies.booleans(),
     )
-    def test_hex_roundtrip(self, binary, backtick):
+    def test_b2a_roundtrip(self, binary, backtick):
         converted = binascii.b2a_uu(self.type2test(binary), backtick=backtick)
         restored = binascii.a2b_uu(self.type2test(converted))
         self.assertConversion(binary, converted, restored, backtick=backtick)