mypy: Use more specific type for _replacement_destroy_test_db.

This commit is contained in:
Steve Howell 2017-12-08 08:01:39 -08:00 committed by Greg Price
parent 78041a5846
commit f83a73c763
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ def run_subsuite(args: SubsuiteArgs) -> Tuple[int, Any]:
# Monkey-patch database creation to fix unnecessary sleep(1)
from django.db.backends.postgresql.creation import DatabaseCreation
def _replacement_destroy_test_db(self: Any,
def _replacement_destroy_test_db(self: DatabaseCreation,
test_database_name: str,
verbosity: Any) -> None:
"""Replacement for Django's _destroy_test_db that removes the