[tor-commits] [stem/master] When tests logged we printed extra parentheses
atagar at torproject.org
atagar at torproject.org
Sun Aug 20 19:38:38 UTC 2017
commit 5e20fa1fe4a4a9b5afbaee491dec089fc9658565
Author: Damian Johnson <atagar at torproject.org>
Date: Sun Aug 20 12:38:32 2017 -0700
When tests logged we printed extra parentheses
Print always requires an argument. Lacking this causes python 2.7 to
print '()'. Probably breaks python 3.x outright but didn't check.
---
test/output.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/output.py b/test/output.py
index 82eb358d..c5a9efe9 100644
--- a/test/output.py
+++ b/test/output.py
@@ -89,7 +89,7 @@ def print_logging(logging_buffer):
for entry in logging_buffer:
println(entry.replace('\n', '\n '), term.Color.MAGENTA)
- print()
+ print('')
def apply_filters(testing_output, *filters):
More information about the tor-commits
mailing list