summaryrefslogtreecommitdiff
path: root/tests/annotations/tests.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2020-07-24 07:25:47 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-09-30 09:51:31 +0200
commit12ba61ed1755ba4a67202e95f78403240efa931b (patch)
tree567894596142ab617a0630ea6f061a4580b72f03 /tests/annotations/tests.py
parent356efa90b5984eee25359959a20f672273199720 (diff)
[3.1.x] Bumped minimum isort version to 5.1.0.
Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable. Backport of e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85 from master
Diffstat (limited to 'tests/annotations/tests.py')
-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 484061f567..836c0ebb1d 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