mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Wrap comments at 79
This commit is contained in:
parent
6570ca3255
commit
426387630c
@ -368,9 +368,9 @@ def teardown_databases(old_config, verbosity, parallel=0, keepdb=False):
|
|||||||
)
|
)
|
||||||
connection.creation.destroy_test_db(old_name, verbosity, keepdb)
|
connection.creation.destroy_test_db(old_name, verbosity, keepdb)
|
||||||
|
|
||||||
# When we keep the database and have serialized content, we need to roll back the data
|
# When we keep the database and have serialized content, we need to
|
||||||
# at the end of the test suite. When using a parallelized test, the data must be restored
|
# roll back the data at the end of the test suite. When using a
|
||||||
# per clone.
|
# parallelized test, the data must be restored per clone.
|
||||||
if keepdb and hasattr(connection, "_test_serialized_contents"):
|
if keepdb and hasattr(connection, "_test_serialized_contents"):
|
||||||
serialized_data = connection._test_serialized_contents
|
serialized_data = connection._test_serialized_contents
|
||||||
old_settings = dict(connection.settings_dict)
|
old_settings = dict(connection.settings_dict)
|
||||||
|
Loading…
Reference in New Issue
Block a user