mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-06-18 14:26:09 +01:00
utils/diff: fix diff_interrupt_files on Python 2
During Python 3 migration, the izip call inside diff_interrupt_files has been replaced with a zip call (zip returning an iterator in Python 3). Import zip from builtins to ensure that it also produces an iterator in Python 2. Also fix the associated unit test by importing the correct function.
This commit is contained in:
committed by
setrofim
parent
d64ab6f099
commit
64f9cf79e4
@ -1,6 +1,7 @@
|
||||
import os
|
||||
import re
|
||||
|
||||
from builtins import zip
|
||||
from future.moves.itertools import zip_longest
|
||||
|
||||
from wa.utils.misc import as_relative, diff_tokens, write_table
|
||||
|
Reference in New Issue
Block a user