mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Closed connection pool in clean up of test_allowed_database_copy_queries.
This commit is contained in:
parent
16af0c60ed
commit
8dd3f7d538
1 changed files with 2 additions and 0 deletions
|
|
@ -2186,6 +2186,8 @@ class AllowedDatabaseQueriesTests(SimpleTestCase):
|
|||
finally:
|
||||
new_connection.validate_thread_sharing()
|
||||
new_connection._close()
|
||||
if hasattr(new_connection, "close_pool"):
|
||||
new_connection.close_pool()
|
||||
|
||||
|
||||
class DatabaseAliasTests(SimpleTestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue