Fix couple typos (#4839)

This commit is contained in:
Andrew Svetlov 2017-12-13 17:50:16 +02:00 committed by GitHub
parent 4f29f3c84b
commit 7a6706bf48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -711,7 +711,7 @@ class IocpProactor:
f.set_result(value)
self._results.append(f)
# Remove unregisted futures
# Remove unregistered futures
for ov in self._unregistered:
self._cache.pop(ov.address, None)
self._unregistered.clear()

View File

@ -423,7 +423,7 @@ class ProactorSocketTransportTests(test_utils.TestCase):
def test_dont_pause_writing(self):
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
fut = asyncio.Future(loop=self.loop)
fut.set_result(None)