@@ -222,7 +222,7 @@ def test_7709(self):
222
222
value = oracledb .SparseVector (
223
223
16 , [1 , 3 , 5 ], array .array ("d" , [1.5 , 0.25 , 0.5 ])
224
224
)
225
- self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "f " )
225
+ self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "d " )
226
226
self .__test_insert_and_fetch_sparse (
227
227
value , "SparseVectorFlexAllCol" , "d"
228
228
)
@@ -357,7 +357,7 @@ def test_7715(self):
357
357
value = oracledb .SparseVector (
358
358
16 , [1 , 3 , 5 ], array .array ("b" , [1 , 0 , 5 ])
359
359
)
360
- self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "f " )
360
+ self .__test_insert_and_fetch (value , "VectorFlexAllCol" , "b " )
361
361
self .__test_insert_and_fetch_sparse (
362
362
value , "SparseVectorFlexAllCol" , "b"
363
363
)
@@ -442,7 +442,7 @@ def test_7722(self):
442
442
dim , [1 , 3 , 5 ], array .array (typ , [element_value ] * 3 )
443
443
)
444
444
self .__test_insert_and_fetch (
445
- value , "VectorFlexAllCol" , "f"
445
+ value , "VectorFlexAllCol" , typ
446
446
)
447
447
self .__test_insert_and_fetch_sparse (
448
448
value , "SparseVectorFlexAllCol" , typ
@@ -682,9 +682,9 @@ def test_7734(self):
682
682
self .assertEqual (value .values , array .array ("d" ))
683
683
self .assertEqual (value .indices , array .array ("I" ))
684
684
self .assertEqual (value .num_dimensions , 0 )
685
- with self .assertRaisesFullCode ("ORA-51803" , "ORA-21560" ):
685
+ with self .assertRaisesFullCode ("ORA-51803" , "ORA-21560" , "ORA-51862" ):
686
686
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" ):
688
688
self .__test_insert_and_fetch_sparse (
689
689
value , "SparseVectorFlexAllCol" , "d"
690
690
)
0 commit comments