asyncio.tests: Fix whitespace

This commit is contained in:
Yury Selivanov 2015-11-20 12:43:52 -05:00
parent d59bba88e3
commit a211a7a0e7
1 changed files with 3 additions and 4 deletions

View File

@ -782,10 +782,9 @@ class BaseEventLoopTests(test_utils.TestCase):
self.loop._selector.select.return_value = (event_sentinel,) self.loop._selector.select.return_value = (event_sentinel,)
for i in range(1, 3): for i in range(1, 3):
# with self.subTest('Loop %d/2' % i): # Not in Python 3.3. self.loop.call_soon(self.loop.stop)
self.loop.call_soon(self.loop.stop) self.loop.run_forever()
self.loop.run_forever() self.assertEqual(callcount, 1)
self.assertEqual(callcount, 1)
def test_run_once(self): def test_run_once(self):
# Simple test for test_utils.run_once(). It may seem strange # Simple test for test_utils.run_once(). It may seem strange