mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-24 03:51:52 +08:00
Add __all__ for modules beginning with 'u', 'x', 'w' and 'z' (#7374)
This commit is contained in:
@@ -32,4 +32,55 @@ if sys.version_info >= (3, 8):
|
||||
|
||||
from .case import addModuleCleanup as addModuleCleanup
|
||||
|
||||
__all__ = [
|
||||
"TestResult",
|
||||
"TestCase",
|
||||
"IsolatedAsyncioTestCase",
|
||||
"TestSuite",
|
||||
"TextTestRunner",
|
||||
"TestLoader",
|
||||
"FunctionTestCase",
|
||||
"main",
|
||||
"defaultTestLoader",
|
||||
"SkipTest",
|
||||
"skip",
|
||||
"skipIf",
|
||||
"skipUnless",
|
||||
"expectedFailure",
|
||||
"TextTestResult",
|
||||
"installHandler",
|
||||
"registerResult",
|
||||
"removeResult",
|
||||
"removeHandler",
|
||||
"addModuleCleanup",
|
||||
"getTestCaseNames",
|
||||
"makeSuite",
|
||||
"findTestCases",
|
||||
]
|
||||
|
||||
else:
|
||||
__all__ = [
|
||||
"TestResult",
|
||||
"TestCase",
|
||||
"TestSuite",
|
||||
"TextTestRunner",
|
||||
"TestLoader",
|
||||
"FunctionTestCase",
|
||||
"main",
|
||||
"defaultTestLoader",
|
||||
"SkipTest",
|
||||
"skip",
|
||||
"skipIf",
|
||||
"skipUnless",
|
||||
"expectedFailure",
|
||||
"TextTestResult",
|
||||
"installHandler",
|
||||
"registerResult",
|
||||
"removeResult",
|
||||
"removeHandler",
|
||||
"getTestCaseNames",
|
||||
"makeSuite",
|
||||
"findTestCases",
|
||||
]
|
||||
|
||||
def load_tests(loader: TestLoader, tests: TestSuite, pattern: str | None) -> TestSuite: ...
|
||||
|
||||
Reference in New Issue
Block a user