mirror of
https://github.com/python/cpython.git
synced 2025-08-11 12:29:34 +00:00

Deprecation warnings about the loop argument were incorrectly emitted in cases when the loop argument was used inside the asyncio library, not from user code.
10 lines
249 B
Python
10 lines
249 B
Python
import os
|
|
from test import support
|
|
|
|
# Skip tests if we don't have concurrent.futures.
|
|
support.import_module('concurrent.futures')
|
|
|
|
|
|
def load_tests(*args):
|
|
pkg_dir = os.path.dirname(__file__)
|
|
return support.load_package_tests(pkg_dir, *args)
|