mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Use .next() in contextdict test for py3 (#34106)
This commit is contained in:
parent
39cd302686
commit
8f714138eb
@ -104,7 +104,7 @@ class ContextDictTests(AsyncTestCase):
|
||||
|
||||
wait_iterator = tornado.gen.WaitIterator(*futures)
|
||||
while not wait_iterator.done():
|
||||
r = yield next(wait_iterator)
|
||||
r = yield wait_iterator.next()
|
||||
self.assertEqual(r[0], r[1]) # verify that the global value remails
|
||||
self.assertEqual(r[2], r[3]) # verify that the override sticks locally
|
||||
self.assertEqual(r[3], r[4]) # verify that the override sticks across coroutines
|
||||
|
Loading…
Reference in New Issue
Block a user