mirror of
https://github.com/python/cpython.git
synced 2025-10-24 23:46:23 +00:00
gh-109140: Rename duplicated tests in test_binascii (#109141)
This commit is contained in:
parent
f63d37877a
commit
aa51182320
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ class BinASCIITest(unittest.TestCase):
|
||||||
binary=hypothesis.strategies.binary(),
|
binary=hypothesis.strategies.binary(),
|
||||||
backtick=hypothesis.strategies.booleans(),
|
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)
|
converted = binascii.b2a_uu(self.type2test(binary), backtick=backtick)
|
||||||
restored = binascii.a2b_uu(self.type2test(converted))
|
restored = binascii.a2b_uu(self.type2test(converted))
|
||||||
self.assertConversion(binary, converted, restored, backtick=backtick)
|
self.assertConversion(binary, converted, restored, backtick=backtick)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue