From fae56427e1987ff8c8bd24d6331007f9c53e7abc Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 29 Dec 2016 12:45:25 -0500 Subject: Fixed #27649 -- Bumped required cx_Oracle to 5.2. Removed obsolete workarounds from 1aa48898085ea16915877cc139e238a74e3f554b and dcf3be7a621f011a918453527406216a738acf68. --- tests/backends/tests.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests') 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 -- cgit v1.3