Fix deprecated threading API usage in test runner.
Fix deprecated threading API usage in test runner.

cython/cython,scoder/cython,cython/cython,scoder/cython,cython/cython,da-woods/cython,da-woods/cython,cython/cython,da-woods/cython,scoder/cython,da-woods/cython,scoder/cython