aboutsummaryrefslogtreecommitdiff
path: root/src/test/bt_test.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-27 22:54:24 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-27 22:54:24 -0400
commitf4be34f70d6f277a0f3f73e62ed358564588e92b (patch)
tree383603733ed9b7775ce60618b94dd271a3687bf9 /src/test/bt_test.py
parent78b431d3e30def3641f25707197c55a1c7200269 (diff)
downloadtor-f4be34f70d6f277a0f3f73e62ed358564588e92b.tar
tor-f4be34f70d6f277a0f3f73e62ed358564588e92b.tar.gz
Make the python test scripts work on python3
The python scripts invoked by 'make check' didn't work on python3 before. That was a problem on systems where 'python' is python3. Fixes bug 11608; bugfix on 0.2.5.2-alpha.
Diffstat (limited to 'src/test/bt_test.py')
-rwxr-xr-xsrc/test/bt_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/bt_test.py b/src/test/bt_test.py
index 2de9924a5..8290509fa 100755
--- a/src/test/bt_test.py
+++ b/src/test/bt_test.py
@@ -35,8 +35,8 @@ LINES = sys.stdin.readlines()
for I in range(len(LINES)):
if matches(LINES[I:], FUNCNAMES):
- print "OK"
+ print("OK")
break
else:
- print "BAD"
+ print("BAD")