summaryrefslogtreecommitdiff
path: root/tests/backends
diff options
context:
space:
mode:
Diffstat (limited to 'tests/backends')
-rw-r--r--tests/backends/tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/backends/tests.py b/tests/backends/tests.py
index f27b22d8af..e17679a4ba 100644
--- a/tests/backends/tests.py
+++ b/tests/backends/tests.py
@@ -86,11 +86,8 @@ class OracleTests(unittest.TestCase):
def test_dbms_session(self):
# If the backend is Oracle, test that we can call a standard
# stored procedure through our cursor wrapper.
- from django.db.backends.oracle.base import convert_unicode
-
with connection.cursor() as cursor:
- cursor.callproc(convert_unicode('DBMS_SESSION.SET_IDENTIFIER'),
- [convert_unicode('_django_testing!')])
+ cursor.callproc('DBMS_SESSION.SET_IDENTIFIER', ['_django_testing!'])
def test_cursor_var(self):
# If the backend is Oracle, test that we can pass cursor variables