File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -905,13 +905,13 @@ def test_4369_bind_order_for_plsql(self):
905905 plsql = f"begin { sql } ; end;"
906906 self .cursor .execute (plsql , rows [1 ])
907907 self .connection .commit ()
908- oracledb . defaults . fetch_lobs = False
909- self .cursor .execute ("""
910- select IntCol, CLOBCol, ExtraNumCol1
911- from TestCLOBs
912- order by IntCol""" )
913- fetched_rows = self .cursor .fetchall ()
914- self .assertEqual (fetched_rows , rows )
908+ with test_env . FetchLobsContextManager ( False ):
909+ self .cursor .execute ("""
910+ select IntCol, CLOBCol, ExtraNumCol1
911+ from TestCLOBs
912+ order by IntCol""" )
913+ fetched_rows = self .cursor .fetchall ()
914+ self .assertEqual (fetched_rows , rows )
915915
916916if __name__ == "__main__" :
917917 test_env .run_test_cases ()
You can’t perform that action at this time.
0 commit comments