mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
bpo-39353: binascii.crc_hqx() is no longer deprecated (GH-18276)
The binascii.crc_hqx() function is no longer deprecated.
This commit is contained in:
parent
2bf127d97b
commit
c38fd0df2b
6 changed files with 3 additions and 15 deletions
|
@ -435,9 +435,6 @@ class BinASCIITest(unittest.TestCase):
|
|||
with self.assertWarns(DeprecationWarning):
|
||||
self.assertEqual(binascii.rledecode_hqx(b'a\x90\n'), b'a' * 10)
|
||||
|
||||
with self.assertWarns(DeprecationWarning):
|
||||
self.assertEqual(binascii.crc_hqx(b'abc', 0), 40406)
|
||||
|
||||
|
||||
class ArrayBinASCIITest(BinASCIITest):
|
||||
def type2test(self, s):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue