mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-20 19:01:16 +08:00
The return type of DiscoverRunner.get_resultclass should be Optional[Type[TextTestResult]] given that it may also return PDBDebugResult:0dd2920909/django/test/runner.py (L958-L962)`DicoverRunner.run_tests` accepts `None` for `extra_tests` because that's already the default value for it:0dd2920909/django/test/runner.py (L1030)