mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-07 20:54:32 +08:00
fix module argument to unittest.main (#2403)
This commit is contained in:
1 parent
a08c6eae23
commit
8b9e4c378a
2 files changed
+2
-2
No files matched your search
@@ -226,7 +226,7 @@ def skip(reason: Union[str, unicode]) -> Any: ...
|
||||
class TestProgram:
|
||||
result = ... # type: TestResult
|
||||
|
||||
def main(module: str = ..., defaultTest: Optional[str] = ...,
|
||||
def main(module: Union[None, Text, types.ModuleType] = ..., defaultTest: Optional[str] = ...,
|
||||
argv: Optional[Sequence[str]] = ...,
|
||||
testRunner: Union[Type[TextTestRunner], TextTestRunner, None] = ...,
|
||||
testLoader: TestLoader = ..., exit: bool = ..., verbosity: int = ...,
|
||||
|
||||
Reference in new issue
Block a user