1
0
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:
David Sanders 2024-03-21 00:40:11 +11:00
parent 6570ca3255
commit 426387630c

View File

@ -368,9 +368,9 @@ def teardown_databases(old_config, verbosity, parallel=0, keepdb=False):
)
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
# at the end of the test suite. When using a parallelized test, the data must be restored
# per clone.
# When we keep the database and have serialized content, we need to
# roll back the data at the end of the test suite. When using a
# parallelized test, the data must be restored per clone.
if keepdb and hasattr(connection, "_test_serialized_contents"):
serialized_data = connection._test_serialized_contents
old_settings = dict(connection.settings_dict)