]> git.phdru.name Git - m_lib.git/blobdiff - m_lib/pbar/test/test4.py
Use print function for Py3 compatibility
[m_lib.git] / m_lib / pbar / test / test4.py
index 1ce821c573febee6e01cdb16d36158bece7b4018..93871752f31e9ec9b3dbe02164f297a80a334377 100755 (executable)
@@ -3,6 +3,7 @@
    Test N4: earse()/redraw()
 """
 
+from __future__ import print_function
 import sys
 from time import sleep
 from m_lib.pbar.tty_pbar import ttyProgressBar
@@ -27,7 +28,7 @@ def test():
    sleep(2)
 
    del pbar
-   print "Ok"
+   print("Ok")
 
 
 if __name__ == "__main__":