# HG changeset patch # User simon@laptop-tosh # Date 1370789348 -7200 # Node ID 4598906608cfef782bf5c0115ceeb5f529cede60 # Parent 4a224ed7e923ab131d63e783e97a092c1fccff6c run-tests: call Threads constructor with keyword arguments This is suggested in the python documentation (on http://docs.python.org/2/library/threading.html#thread-objects) [ original upstream message ] diff -r 4a224ed7e923 -r 4598906608cf tests/run-tests.py --- a/tests/run-tests.py Sun Jun 09 16:42:55 2013 +0200 +++ b/tests/run-tests.py Sun Jun 09 16:49:08 2013 +0200 @@ -1089,7 +1089,7 @@ test = tests.pop(0) if options.loop: tests.append(test) - t = threading.Thread(None, job, args=(test, count)) + t = threading.Thread(target=job, args=(test, count)) t.start() running += 1 count += 1