diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-27 22:54:24 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-27 22:54:24 -0400 |
commit | f4be34f70d6f277a0f3f73e62ed358564588e92b (patch) | |
tree | 383603733ed9b7775ce60618b94dd271a3687bf9 /src/test/bt_test.py | |
parent | 78b431d3e30def3641f25707197c55a1c7200269 (diff) | |
download | tor-f4be34f70d6f277a0f3f73e62ed358564588e92b.tar.gz tor-f4be34f70d6f277a0f3f73e62ed358564588e92b.zip |
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-x | src/test/bt_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/bt_test.py b/src/test/bt_test.py index 2de9924a59..8290509fa7 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") |