[Python-checkins] cpython (merge 3.4 -> 3.5): Merge 3.4

yury.selivanov python-checkins at python.org
Fri Nov 20 12:44:26 EST 2015


https://hg.python.org/cpython/rev/f7dc0c8a73b6
changeset:   99240:f7dc0c8a73b6
branch:      3.5
parent:      99237:a3f5d053ab24
parent:      99239:9bd5d2ed436a
user:        Yury Selivanov <yselivanov at sprymix.com>
date:        Fri Nov 20 12:44:03 2015 -0500
summary:
  Merge 3.4

files:
  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
--- a/Lib/test/test_asyncio/test_base_events.py
+++ b/Lib/test/test_asyncio/test_base_events.py
@@ -782,10 +782,9 @@
         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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list