[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [stem/master] Fix issue causing tests to be unable to run



commit 10fb8a63c2cd53ee0bc5d292a93a5dc891440ad0
Author: Damian Johnson <atagar@xxxxxxxxxxxxxx>
Date:   Fri Oct 27 12:23:07 2017 -0700

    Fix issue causing tests to be unable to run
    
    Oops, python 2.6 fixes added a regression breaking everything *except* python
    2.6. Oops. :P
    
      Traceback (most recent call last):
        File "./run_tests.py", line 20, in <module>
          RUN_ASYNC_TESTS = true
      NameError: name 'true' is not defined
---
 run_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run_tests.py b/run_tests.py
index fe4a908f..69afd971 100755
--- a/run_tests.py
+++ b/run_tests.py
@@ -17,7 +17,7 @@ try:
   # TODO: added in python 2.7, drop check when removing 2.6 support
 
   import importlib
-  RUN_ASYNC_TESTS = true
+  RUN_ASYNC_TESTS = True
 except ImportError:
   RUN_ASYNC_TESTS = False
 

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits