2013-10-17 13:40:50 -07:00
|
|
|
import os
|
2022-03-22 12:04:36 +02:00
|
|
|
from test import support
|
2020-06-25 20:15:40 +08:00
|
|
|
from test.support import load_package_tests
|
|
|
|
from test.support import import_helper
|
|
|
|
|
2022-03-22 12:04:36 +02:00
|
|
|
support.requires_working_socket(module=True)
|
2013-10-17 13:40:50 -07:00
|
|
|
|
2013-11-17 17:00:21 -08:00
|
|
|
# Skip tests if we don't have concurrent.futures.
|
2020-06-25 20:15:40 +08:00
|
|
|
import_helper.import_module('concurrent.futures')
|
2013-10-19 08:47:26 -07:00
|
|
|
|
2014-07-23 12:00:29 -05:00
|
|
|
def load_tests(*args):
|
|
|
|
return load_package_tests(os.path.dirname(__file__), *args)
|