@@ -222,7 +222,7 @@ def test_7709(self):
222222 value = oracledb .SparseVector (
223223 16 , [1 , 3 , 5 ], array .array ("d" , [1.5 , 0.25 , 0.5 ])
224224 )
225- self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "f " )
225+ self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "d " )
226226 self .__test_insert_and_fetch_sparse (
227227 value , "SparseVectorFlexAllCol" , "d"
228228 )
@@ -357,7 +357,7 @@ def test_7715(self):
357357 value = oracledb .SparseVector (
358358 16 , [1 , 3 , 5 ], array .array ("b" , [1 , 0 , 5 ])
359359 )
360- self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "f " )
360+ self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "b " )
361361 self .__test_insert_and_fetch_sparse (
362362 value , "SparseVectorFlexAllCol" , "b"
363363 )
@@ -442,7 +442,7 @@ def test_7722(self):
442442 dim , [1 , 3 , 5 ], array .array (typ , [element_value ] * 3 )
443443 )
444444 self .__test_insert_and_fetch (
445- value , "VectorFlexAllCol" , "f"
445+ value , "VectorFlexAllCol" , typ
446446 )
447447 self .__test_insert_and_fetch_sparse (
448448 value , "SparseVectorFlexAllCol" , typ
@@ -682,9 +682,9 @@ def test_7734(self):
682682 self .assertEqual (value .values , array .array ("d" ))
683683 self .assertEqual (value .indices , array .array ("I" ))
684684 self .assertEqual (value .num_dimensions , 0 )
685- with self .assertRaisesFullCode ("ORA-51803" , "ORA-21560" ):
685+ with self .assertRaisesFullCode ("ORA-51803" , "ORA-21560" , "ORA-51862" ):
686686 self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "d" )
687- with self .assertRaisesFullCode ("ORA-51803" , "ORA-21560" ):
687+ with self .assertRaisesFullCode ("ORA-51803" , "ORA-21560" , "ORA-51862" ):
688688 self .__test_insert_and_fetch_sparse (
689689 value , "SparseVectorFlexAllCol" , "d"
690690 )
0 commit comments