Commit 7a6706bf authored by Andrew Svetlov's avatar Andrew Svetlov Committed by GitHub

Fix couple typos (#4839)

parent 4f29f3c8
...@@ -711,7 +711,7 @@ class IocpProactor: ...@@ -711,7 +711,7 @@ class IocpProactor:
f.set_result(value) f.set_result(value)
self._results.append(f) self._results.append(f)
# Remove unregisted futures # Remove unregistered futures
for ov in self._unregistered: for ov in self._unregistered:
self._cache.pop(ov.address, None) self._cache.pop(ov.address, None)
self._unregistered.clear() self._unregistered.clear()
......
...@@ -423,7 +423,7 @@ class ProactorSocketTransportTests(test_utils.TestCase): ...@@ -423,7 +423,7 @@ class ProactorSocketTransportTests(test_utils.TestCase):
def test_dont_pause_writing(self): def test_dont_pause_writing(self):
tr = self.pause_writing_transport(high=4) tr = self.pause_writing_transport(high=4)
# write a large chunk which completes immedialty, # write a large chunk which completes immediately,
# it should not pause writing # it should not pause writing
fut = asyncio.Future(loop=self.loop) fut = asyncio.Future(loop=self.loop)
fut.set_result(None) fut.set_result(None)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment