Removed obsolete Oracle's test_client_encoding() test.
encoding and nencoding parameters were deprecated in cx_Oracle 8.2.
Moreover, encoding is handled internally between cx_Oracle and Oracle
Database and there is no need to test it.
@@ -37,12 +37,6 @@ class Tests(unittest.TestCase):
cursor.execute("BEGIN %s := 'X'; END; ", [var])
self.assertEqual(var.getvalue(), 'X')
- def test_client_encoding(self):
- """Client encoding is set correctly."""
- connection.ensure_connection()
- self.assertEqual(connection.connection.encoding, 'UTF-8')
- self.assertEqual(connection.connection.nencoding, 'UTF-8')
-
def test_order_of_nls_parameters(self):
"""
An 'almost right' datetime works with configured NLS parameters
