Convert from "print ..." to "print(...)"
[hooke.git] / test / command_stack_save_load.py
index ad732fdaf01c4796ae4f9ca9b54e53e0ccd4e48f..591d00fac2b35ecc6ec4af8760cc805eb00bf5f7 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2010-2012 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2010-2012 W. Trevor King <wking@tremily.us>
 #
 # This file is part of Hooke.
 #
@@ -75,7 +75,7 @@ Success
 >>> os.listdir(target_dir)
 ['default']
 >>> with open(os.path.join(target_dir, 'default'), 'r') as f:
-...     print f.read()
+...     print(f.read())
 - arguments: {input: test/data/test}
   command: load playlist
 - arguments: {}
@@ -90,7 +90,7 @@ Success
 >>> sorted(os.listdir(target_dir))
 ['default', 'my_stack']
 >>> with open(os.path.join(target_dir, 'my_stack'), 'r') as f:
-...     print f.read()
+...     print(f.read())
 - arguments: {input: test/data/test}
   command: load playlist
 - arguments: {}
@@ -112,14 +112,14 @@ Success
 Success
 <BLANKLINE>
 >>> with open(os.path.join(target_dir, 'default'), 'r') as f:
-...     print f.read()
+...     print(f.read())
 - arguments: {input: test/data/test}
   command: load playlist
 - arguments: {}
   command: get curve
 <BLANKLINE>
 >>> with open(os.path.join(target_dir, 'my_stack'), 'r') as f:
-...     print f.read()
+...     print(f.read())
 - arguments: {input: test/data/test}
   command: load playlist
 - arguments: {}
@@ -144,7 +144,7 @@ Success
 Success
 <BLANKLINE>
 >>> with open(os.path.join(target_dir, 'default'), 'r') as f:
-...     print f.read()
+...     print(f.read())
 - arguments: {}
   command: version
 <BLANKLINE>