mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
asyncio: Fix pyflakes warnings: remove unused variables and imports
This commit is contained in:
parent
24ba203504
commit
f5e37037cc
8 changed files with 12 additions and 26 deletions
|
|
@ -1,6 +1,5 @@
|
|||
"""Tests for selector_events.py"""
|
||||
|
||||
import collections
|
||||
import errno
|
||||
import gc
|
||||
import pprint
|
||||
|
|
@ -1378,7 +1377,7 @@ class SelectorSslWithoutSslTransportTests(unittest.TestCase):
|
|||
def test_ssl_transport_requires_ssl_module(self):
|
||||
Mock = mock.Mock
|
||||
with self.assertRaises(RuntimeError):
|
||||
transport = _SelectorSslTransport(Mock(), Mock(), Mock(), Mock())
|
||||
_SelectorSslTransport(Mock(), Mock(), Mock(), Mock())
|
||||
|
||||
|
||||
class SelectorDatagramTransportTests(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue