diff options
| author | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-20 17:44:12 (GMT) |
|---|---|---|
| committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-20 17:44:12 (GMT) |
| commit | ded66891173cfa461251a44e300913a395c0ffca (patch) | |
| tree | 9556da4485f400121f01ad68dac7b0cbdca8f2c3 /Lib/test/test_asyncio/test_base_events.py | |
| parent | 38b6468ff2b9f07002399d8be4fb4572435ab842 (diff) | |
| parent | e342b8e8fe6a3359094688ce63bc0131ed7d416c (diff) | |
| download | cpython-ded66891173cfa461251a44e300913a395c0ffca.zip cpython-ded66891173cfa461251a44e300913a395c0ffca.tar.gz cpython-ded66891173cfa461251a44e300913a395c0ffca.tar.bz2 | |
Merge 3.5
Diffstat (limited to 'Lib/test/test_asyncio/test_base_events.py')
| -rw-r--r-- | Lib/test/test_asyncio/test_base_events.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/test/test_asyncio/test_base_events.py b/Lib/test/test_asyncio/test_base_events.py index dff01d2..bedfe16 100644 --- a/Lib/test/test_asyncio/test_base_events.py +++ b/Lib/test/test_asyncio/test_base_events.py @@ -782,10 +782,9 @@ class BaseEventLoopTests(test_utils.TestCase): self.loop._selector.select.return_value = (event_sentinel,) 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.run_forever() - self.assertEqual(callcount, 1) + self.loop.call_soon(self.loop.stop) + self.loop.run_forever() + self.assertEqual(callcount, 1) def test_run_once(self): # Simple test for test_utils.run_once(). It may seem strange |
