summaryrefslogtreecommitdiff
path: root/tests/annotations
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2020-07-24 07:25:47 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-07-30 10:58:59 +0200
commite74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 (patch)
treee478c6d04bbd8b8e1059d67e4e34e61a7666cc58 /tests/annotations
parent1173db4a16bb2938ba62a6cd50372a76a7f9e05f (diff)
downloaddjango-e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85.tar.gz
Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable.
Diffstat (limited to 'tests/annotations')
-rw-r--r--tests/annotations/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/annotations/tests.py b/tests/annotations/tests.py
index 5401cd9b21..4d109b0200 100644
--- a/tests/annotations/tests.py
+++ b/tests/annotations/tests.py
@@ -26,6 +26,7 @@ def cxOracle_py3_bug(func):
we mark them as expected failures until someone fixes them in #23843.
"""
from unittest import expectedFailure
+
from django.db import connection
return expectedFailure(func) if connection.vendor == 'oracle' else func