summaryrefslogtreecommitdiffstats
path: root/Lib/binhex.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/binhex.py')
-rw-r--r--Lib/binhex.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Lib/binhex.py b/Lib/binhex.py
index 6ff38dd..9559f46 100644
--- a/Lib/binhex.py
+++ b/Lib/binhex.py
@@ -200,8 +200,7 @@ class BinHex:
self._writecrc()
def _write(self, data):
- with _ignore_deprecation_warning():
- self.crc = binascii.crc_hqx(data, self.crc)
+ self.crc = binascii.crc_hqx(data, self.crc)
self.ofp.write(data)
def _writecrc(self):
@@ -396,8 +395,7 @@ class HexBin:
def _read(self, len):
data = self.ifp.read(len)
- with _ignore_deprecation_warning():
- self.crc = binascii.crc_hqx(data, self.crc)
+ self.crc = binascii.crc_hqx(data, self.crc)
return data
def _checkcrc(self):