Fixed #27649 -- Bumped required cx_Oracle to 5.2.

Removed obsolete workarounds from 1aa4889808
and dcf3be7a62.
This commit is contained in:
Tim Graham 2016-12-29 12:45:25 -05:00 committed by GitHub
parent 5eff8a7783
commit fae56427e1
6 changed files with 19 additions and 60 deletions

View file

@ -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