summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-06-03 12:16:58 -0400
committerTim Graham <timograham@gmail.com>2015-06-03 12:20:12 -0400
commit192b3637c50e0037276e7972bf21556aa8c98cc7 (patch)
tree177a8706e477d0e4ded3988d8db618ef48d9dee1
parent7c637a3aaec311269bf863c220bf894eebbe7c7c (diff)
Removed unnecessary postgres logic in runtests.py
Obsolete after 36e90d1f45a13f53ce25fdc2d9c04433b835c9af
-rwxr-xr-xtests/runtests.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/runtests.py b/tests/runtests.py
index 7a2143e15d..12e78cad68 100755
--- a/tests/runtests.py
+++ b/tests/runtests.py
@@ -239,11 +239,6 @@ def django_tests(verbosity, interactive, failfast, keepdb, reverse, test_labels,
state = setup(verbosity, test_labels)
extra_tests = []
- if test_labels and 'postgres_tests' in test_labels and connection.vendor != 'postgres':
- if verbosity >= 2:
- print("Removed postgres_tests from tests as we're not running with PostgreSQL.")
- test_labels.remove('postgres_tests')
-
# Run the test suite, including the extra validation tests.
if not hasattr(settings, 'TEST_RUNNER'):
settings.TEST_RUNNER = 'django.test.runner.DiscoverRunner'