[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Tests can fail with TypeError when unable to start tor process
commit e60a033941c63885cb349d3bc181bbbf66227acf
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date: Wed Oct 2 09:19:38 2013 -0700
Tests can fail with TypeError when unable to start tor process
Traceback (most recent call last):
File "./run_tests.py", line 404, in <module>
main()
File "./run_tests.py", line 245, in main
println(exc, ERROR)
File "/home/atagar/Desktop/stem/test/output.py", line 59, in println
msg = term.format(msg, *attr)
File "/home/atagar/Desktop/stem/stem/util/term.py", line 96, in format
return (CSI % ";".join(encodings)) + msg + RESET
TypeError: cannot concatenate 'str' and 'UnsupportedOperation' objects
---
run_tests.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/run_tests.py b/run_tests.py
index 0621e68..0b590a1 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -242,7 +242,7 @@ def main():
except ValueError as exc:
# can arise if get_torrc_entries() runs into a bad settings.cfg data
- println(exc, ERROR)
+ println(str(exc), ERROR)
break
except OSError:
error_tracker.register_error()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits