summaryrefslogtreecommitdiff
path: root/Lib/test/test_binhex.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_binhex.py')
-rw-r--r--Lib/test/test_binhex.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_binhex.py b/Lib/test/test_binhex.py
index 2f3d53afbd..86ca37ce1b 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):