mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-91217: deprecate nntplib (GH-91543)
This commit is contained in:
parent
ea2ae02607
commit
c9e231de85
5 changed files with 9 additions and 4 deletions
|
@ -5,13 +5,13 @@ import textwrap
|
|||
import unittest
|
||||
import functools
|
||||
import contextlib
|
||||
import nntplib
|
||||
import os.path
|
||||
import re
|
||||
import threading
|
||||
|
||||
from test import support
|
||||
from test.support import socket_helper
|
||||
from test.support import socket_helper, warnings_helper
|
||||
nntplib = warnings_helper.import_deprecated("nntplib")
|
||||
from nntplib import NNTP, GroupInfo
|
||||
from unittest.mock import patch
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue