Skip to content

Commit e82e2b5

Browse files
committed
Adjust types of attributes for runners.
Signed-off-by: Zixuan James Li <[email protected]>
1 parent 349af2a commit e82e2b5

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

django-stubs/test/runner.pyi

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ class RemoteTestResult:
6565

6666
class RemoteTestRunner:
6767
resultclass: Any = ...
68-
failfast: Any = ...
68+
failfast: bool = ...
69+
buffer: bool = ...
6970
def __init__(self, failfast: bool = ..., resultclass: Optional[Any] = ..., buffer: bool = ...) -> None: ...
7071
def run(self, test: Any): ...
7172

@@ -75,9 +76,9 @@ class ParallelTestSuite(TestSuite):
7576
init_worker: Any = ...
7677
run_subsuite: Any = ...
7778
runner_class: Any = ...
78-
subsuites: Any = ...
79-
processes: Any = ...
80-
failfast: Any = ...
79+
subsuites: List[TestSuite] = ...
80+
processes: int = ...
81+
failfast: bool = ...
8182
buffer: bool = ...
8283
initial_settings: Any = ...
8384
serialized_contents: Any = ...

0 commit comments

Comments
 (0)