summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2019-01-12 17:21:31 +0100
committerStefan Behnel <stefan_ml@behnel.de>2019-01-12 17:21:31 +0100
commitcf5aafc5e8ae6baebb8b040c6d164f7b031ec886 (patch)
treebdef6d53ca7f36368454312f9b7f13837aeb8200
parent5f1f8795331479cea1f4eca0221a5a7aa2c3f7ea (diff)
downloadcython-cf5aafc5e8ae6baebb8b040c6d164f7b031ec886.tar.gz
Fix syntax in test debug code.
-rw-r--r--tests/run/initial_file_path.srctree8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/run/initial_file_path.srctree b/tests/run/initial_file_path.srctree
index a55df688b..e90cf6866 100644
--- a/tests/run/initial_file_path.srctree
+++ b/tests/run/initial_file_path.srctree
@@ -29,8 +29,8 @@ except ImportError as e:
traceback.print_exc()
def test():
- print "FILE: ", initial_file
- print "PATH: ", initial_path
+ print("FILE: ", initial_file)
+ print("PATH: ", initial_path)
assert initial_path[0].endswith('my_test_package'), initial_path
assert initial_file.endswith('__init__.py'), initial_file
assert import_error is None, import_error
@@ -51,8 +51,8 @@ except ImportError as e:
traceback.print_exc()
def test():
- print "FILE: ", initial_file
- print "PATH: ", initial_path
+ print("FILE: ", initial_file)
+ print("PATH: ", initial_path)
assert initial_path[0].endswith('another'), initial_path
assert initial_file.endswith('__init__.py'), initial_file
assert import_error is None, import_error