diff options
| author | Tim Graham <timograham@gmail.com> | 2016-12-29 12:45:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-29 12:45:25 -0500 |
| commit | fae56427e1987ff8c8bd24d6331007f9c53e7abc (patch) | |
| tree | 803b52b29d67667f56689d63f0aa093dcadd3c8c /tests/backends | |
| parent | 5eff8a77838540b27b6bef024dfccfd76008fd4c (diff) | |
Fixed #27649 -- Bumped required cx_Oracle to 5.2.
Removed obsolete workarounds from 1aa48898085ea16915877cc139e238a74e3f554b
and dcf3be7a621f011a918453527406216a738acf68.
Diffstat (limited to 'tests/backends')
| -rw-r--r-- | tests/backends/tests.py | 5 |
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 |
