diff options
author | Victor Stinner <vstinner@python.org> | 2020-01-22 19:44:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 19:44:22 (GMT) |
commit | beea26b57e8c80f1eff0f967a0f9d083a7dc3d66 (patch) | |
tree | 473ad7cfdd3e65177dc7e392152759bba38e5826 /Lib/test/test_binhex.py | |
parent | 14d80d0b605d8b148e14458e4c1853a940071462 (diff) | |
download | cpython-beea26b57e8c80f1eff0f967a0f9d083a7dc3d66.zip cpython-beea26b57e8c80f1eff0f967a0f9d083a7dc3d66.tar.gz cpython-beea26b57e8c80f1eff0f967a0f9d083a7dc3d66.tar.bz2 |
bpo-39353: Deprecate the binhex module (GH-18025)
Deprecate binhex4 and hexbin4 standards. Deprecate the binhex module
and the following binascii functions:
* b2a_hqx(), a2b_hqx()
* rlecode_hqx(), rledecode_hqx()
* crc_hqx()
Diffstat (limited to 'Lib/test/test_binhex.py')
-rw-r--r-- | Lib/test/test_binhex.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py index 2f3d53a..86ca37c 100644 --- a/Lib/test/test_binhex.py +++ b/Lib/test/test_binhex.py @@ -3,10 +3,12 @@ Uses the mechanism of the python binhex module Based on an original test by Roger E. Masse. """ -import binhex import unittest from test import support +with support.check_warnings(('', DeprecationWarning)): + import binhex + class BinHexTestCase(unittest.TestCase): |