summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/contrib/gis/tests/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/tests/__init__.py b/django/contrib/gis/tests/__init__.py
index 19d305e3bd..fe7e33311c 100644
--- a/django/contrib/gis/tests/__init__.py
+++ b/django/contrib/gis/tests/__init__.py
@@ -193,7 +193,7 @@ def run_tests(test_labels, verbosity=1, interactive=True, extra_tests=[], suite=
suite.addTest(test)
# Creating the test spatial database.
- create_spatial_db(test=True, verbosity=verbosity)
+ create_spatial_db(test=True, verbosity=verbosity, autoclobber=not interactive)
# Executing the tests (including the model tests), and destorying the
# test database after the tests have completed.