summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_xdrlib.py
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2022-04-30 01:22:10 (GMT)
committerGitHub <noreply@github.com>2022-04-30 01:22:10 (GMT)
commitc2b579741dc36f4b7da00d4361d651544996d8f4 (patch)
tree00a35a32af2cd12ce9b140a9fe31310a7aee4f0c /Lib/test/test_xdrlib.py
parent7861a9e3276cf9bf2bfa56d86f29ef06b2456f87 (diff)
downloadcpython-c2b579741dc36f4b7da00d4361d651544996d8f4.zip
cpython-c2b579741dc36f4b7da00d4361d651544996d8f4.tar.gz
cpython-c2b579741dc36f4b7da00d4361d651544996d8f4.tar.bz2
gh-91217: deprecate xdrlib (GH-92066)
Automerge-Triggered-By: GH:brettcannon
Diffstat (limited to 'Lib/test/test_xdrlib.py')
-rw-r--r--Lib/test/test_xdrlib.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Lib/test/test_xdrlib.py b/Lib/test/test_xdrlib.py
index 3df5f26..226b70a 100644
--- a/Lib/test/test_xdrlib.py
+++ b/Lib/test/test_xdrlib.py
@@ -1,6 +1,8 @@
import unittest
+from test.support import warnings_helper
+
+xdrlib = warnings_helper.import_deprecated("xdrlib")
-import xdrlib
class XDRTest(unittest.TestCase):