Ticket #20681: 0001-Don-t-try-to-tear-down-aliases-for-test-databases-it.patch
File 0001-Don-t-try-to-tear-down-aliases-for-test-databases-it.patch, 638 bytes (added by , 11 years ago) |
---|
-
django/test/simple.py
diff --git a/django/test/simple.py b/django/test/simple.py index 40e5919..0098c57 100644
a b class DjangoTestSuiteRunner(object): 312 312 313 313 for alias in aliases: 314 314 connection = connections[alias] 315 old_names.append((connection, db_name, True))316 315 if test_db_name is None: 316 old_names.append((connection, db_name, True)) 317 317 test_db_name = connection.creation.create_test_db( 318 318 self.verbosity, autoclobber=not self.interactive) 319 319 else: