[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] When tests logged we printed extra parentheses
commit 5e20fa1fe4a4a9b5afbaee491dec089fc9658565
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
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):
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits