test_build_matrix: use python3 compatible print
@@ -687,12 +687,12 @@ class TestSubset(object):
found = True
break
if not found:
- print "tree\n{tree}\ngenerated list\n{desc}\n\nfrom matrix\n\n{matrix}\nsubset {subset} without facet {fac}".format(
+ print("tree\n{tree}\ngenerated list\n{desc}\n\nfrom matrix\n\n{matrix}\nsubset {subset} without facet {fac}".format(
tree=pptree(tree),
desc='\n'.join(description_list),
subset=subset,
matrix=str(mat),
- fac=facet)
+ fac=facet))
all_desc = build_matrix.generate_combinations(
'root',
mat,
@@ -700,10 +700,10 @@ class TestSubset(object):
mat.size())
for i, desc in zip(range(mat.size()), all_desc):
if i == first:
- print '=========='
- print i, desc
+ print('==========')
+ print("{} {}".format(i, desc))
if i + 1 == matlimit:
- print '=========='
+ print('==========')
assert found
def test_random(self):
