Commit 7562f7c2 authored by Stefan Behnel's avatar Stefan Behnel

Fix daemon thread setup in test runner for Py2.6.

parent 7440ba4b
......@@ -2104,7 +2104,8 @@ def time_stamper_thread(interval=10):
sleep(1./4)
write('\n#### %s\n' % now())
thread = threading.Thread(target=time_stamper, name='time_stamper', daemon=True)
thread = threading.Thread(target=time_stamper, name='time_stamper')
thread.setDaemon(True) # Py2.6 ...
thread.start()
try:
yield
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment