convert several not covered by unit-test modules to use print function
[htsworkflow.git] / test / tree.py
index 4f666cc14a3b4f3326a66ecec138572a5a8bd05a..37d3fd44c0f7673eeb8c975c514dcbd647521fa2 100644 (file)
@@ -1,8 +1,8 @@
 #!/usr/bin/env python
-
 """
 Build a fake directory tree for testing rsync management code.
 """
+from __future__ import print_function
 
 import os
 import random
@@ -77,5 +77,5 @@ def compare_tree(root, paths, verbose=False):
   difference = experimental_set - theoretical_set
   issame = (len(difference) == 0)
   if verbose and not issame:
-    print difference
+    print(difference)
   return issame