From df4c191b40ffeae335572fe9f6f4798e0afe7d2d Mon Sep 17 00:00:00 2001 From: John A Stevenson Date: Fri, 17 May 2024 16:26:28 +0100 Subject: [PATCH] Remove encoding args from Oracle connection python-oracledb does not support them, and uses utf-8 for everything. --- test/integration/db/test_oracle.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/integration/db/test_oracle.py b/test/integration/db/test_oracle.py index 63a84ea..82bbcdc 100644 --- a/test/integration/db/test_oracle.py +++ b/test/integration/db/test_oracle.py @@ -348,8 +348,7 @@ def test_lob_io(testdb_conn, test_blob_table, fetch_lobs): @pytest.fixture(scope='function') def testdb_conn(): """Get connection to test Oracle database.""" - with connect(ORADB, 'TEST_ORACLE_PASSWORD', encoding="UTF-8", - nencoding="UTF-8") as conn: + with connect(ORADB, 'TEST_ORACLE_PASSWORD') as conn: yield conn