mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-134357: Remove unused imports in tests (#134340)
This commit is contained in:
parent
24a47155d2
commit
328a778db8
35 changed files with 26 additions and 48 deletions
|
@ -553,7 +553,7 @@ class PydocDocTest(unittest.TestCase):
|
|||
# of the known subclasses of object. (doc.docclass() used to
|
||||
# fail if HeapType was imported before running this test, like
|
||||
# when running tests sequentially.)
|
||||
from _testcapi import HeapType
|
||||
from _testcapi import HeapType # noqa: F401
|
||||
except ImportError:
|
||||
pass
|
||||
text = doc.docclass(object)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue