mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Change constants to type-equivalent versions (#392)
* Change constants to type-equivalent versions For pytype support. " = object()" -> " = ..." Non-zero ints -> 0 * Drop changes to typing and __builtin__
This commit is contained in:
committed by
Matthias Kramm
parent
ba69b32d06
commit
746f4db989
@@ -27,7 +27,7 @@ class TestResult:
|
||||
errors = ... # type: List[Tuple[Testable, str]]
|
||||
failures = ... # type: List[Tuple[Testable, str]]
|
||||
testsRun = 0
|
||||
shouldStop = False
|
||||
shouldStop = ... # type: bool
|
||||
|
||||
def wasSuccessful(self) -> bool: ...
|
||||
def stop(self) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user