mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -40,7 +40,8 @@ class IsolationLevelTests(TestCase):
|
||||
def get_isolation_level(connection):
|
||||
with connection.cursor() as cursor:
|
||||
cursor.execute(
|
||||
"SHOW VARIABLES WHERE variable_name IN ('transaction_isolation', 'tx_isolation')"
|
||||
"SHOW VARIABLES "
|
||||
"WHERE variable_name IN ('transaction_isolation', 'tx_isolation')"
|
||||
)
|
||||
return cursor.fetchone()[1].replace("-", " ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user