aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_asyncio/test_windows_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-02-26 11:07:42 +0100
committerVictor Stinner <victor.stinner@gmail.com>2014-02-26 11:07:42 +0100
commitf5e37037cc14bd30f2a270326852970d46bc648f (patch)
tree22d2178338ea80627aa62354c06acae4c560e9e3 /Lib/test/test_asyncio/test_windows_events.py
parent24ba2035048566df2e0876fb719749d984234bc7 (diff)
downloadcpython-f5e37037cc14bd30f2a270326852970d46bc648f.tar.gz
cpython-f5e37037cc14bd30f2a270326852970d46bc648f.zip
asyncio: Fix pyflakes warnings: remove unused variables and imports
Diffstat (limited to 'Lib/test/test_asyncio/test_windows_events.py')
-rw-r--r--Lib/test/test_asyncio/test_windows_events.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_asyncio/test_windows_events.py b/Lib/test/test_asyncio/test_windows_events.py
index 846049a245a..f6522586397 100644
--- a/Lib/test/test_asyncio/test_windows_events.py
+++ b/Lib/test/test_asyncio/test_windows_events.py
@@ -8,7 +8,6 @@ if sys.platform != 'win32':
import _winapi
import asyncio
-from asyncio import test_utils
from asyncio import _overlapped
from asyncio import windows_events
@@ -50,7 +49,7 @@ class ProactorTests(unittest.TestCase):
ADDRESS = r'\\.\pipe\test_double_bind-%s' % os.getpid()
server1 = windows_events.PipeServer(ADDRESS)
with self.assertRaises(PermissionError):
- server2 = windows_events.PipeServer(ADDRESS)
+ windows_events.PipeServer(ADDRESS)
server1.close()
def test_pipe(self):