2013-10-17 17:40:50 -03:00
|
|
|
import os
|
2014-07-23 14:00:29 -03:00
|
|
|
from test.support import load_package_tests, import_module
|
2013-10-17 17:40:50 -03:00
|
|
|
|
2013-11-17 21:00:21 -04:00
|
|
|
# Skip tests if we don't have threading.
|
|
|
|
import_module('threading')
|
|
|
|
# Skip tests if we don't have concurrent.futures.
|
|
|
|
import_module('concurrent.futures')
|
2013-10-19 12:47:26 -03:00
|
|
|
|
2014-07-23 14:00:29 -03:00
|
|
|
def load_tests(*args):
|
|
|
|
return load_package_tests(os.path.dirname(__file__), *args)
|