From Dan Kenigsberg <[email protected]>:

Dan Kenigsberg has uploaded a new change for review.

Change subject: py3: vmMigrationTests: minor modernization
......................................................................

py3: vmMigrationTests: minor modernization

One instance of izip was not taken from six. Test still fails under
Python 3 due to much bigger issues with our clientIF.

Change-Id: Iac87ea056a17035a0204a4bb1aa1bde432511245
Signed-off-by: Dan Kenigsberg <[email protected]>
---
M tests/vmMigrationTests.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/85/67785/1

diff --git a/tests/vmMigrationTests.py b/tests/vmMigrationTests.py
index 421258c..8f4e2e1 100644
--- a/tests/vmMigrationTests.py
+++ b/tests/vmMigrationTests.py
@@ -19,7 +19,7 @@
 #
 from __future__ import absolute_import
 
-from itertools import tee, izip, product
+from itertools import tee, product
 
 import libvirt
 
@@ -261,7 +261,7 @@
     "s -> (s0,s1), (s1,s2), (s2, s3), ..."
     a, b = tee(iterable)
     next(b, None)
-    return izip(a, b)
+    return zip(a, b)
 
 
 def _linear_downtime(downtime, steps):


-- 
To view, visit https://gerrit.ovirt.org/67785
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac87ea056a17035a0204a4bb1aa1bde432511245
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <[email protected]>
_______________________________________________
vdsm-patches mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to