未验证 提交 34c85aaa 编写于 作者: X Xu Han 提交者: GitHub

Merge pull request #1357 from hereischen/python3-next

Python 3: drop usage of iter.next()
......@@ -174,7 +174,7 @@ class BallooningTest(MemoryBaseTest):
"""
logging.info("Wait until guest memory don't change")
is_stable = self._mem_state()
utils_misc.wait_for(is_stable.next, timeout, step=10.0)
utils_misc.wait_for(lambda: next(is_stable), timeout, step=10.0)
def get_memory_boundary(self, balloon_type=''):
"""
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册