@@ -1568,11 +1568,6 @@ def test_coclustering_results_simple_edge_cases(self):
15681568 {"cluster" : "MYCLUSTER" , "values" : []}
15691569 )
15701570 self .assertIn ("'valueFrequencies' key not found" , cm .exception .args [0 ])
1571- with self .assertRaises (kh .KhiopsJSONError ) as cm :
1572- kh .CoclusteringDimensionPartValueGroup (
1573- {"cluster" : "MYCLUSTER" , "values" : [], "valueFrequencies" : []}
1574- )
1575- self .assertIn ("'valueTypicalities' key not found" , cm .exception .args [0 ])
15761571 with self .assertRaises (kh .KhiopsJSONError ) as cm :
15771572 kh .CoclusteringDimensionPartValueGroup (
15781573 {
@@ -1586,19 +1581,6 @@ def test_coclustering_results_simple_edge_cases(self):
15861581 "'valueFrequencies' key list must have the same length" ,
15871582 cm .exception .args [0 ],
15881583 )
1589- with self .assertRaises (kh .KhiopsJSONError ) as cm :
1590- kh .CoclusteringDimensionPartValueGroup (
1591- {
1592- "cluster" : "MYCLUSTER" ,
1593- "values" : [],
1594- "valueFrequencies" : [],
1595- "valueTypicalities" : [1 ],
1596- }
1597- )
1598- self .assertIn (
1599- "'valueTypicalities' key list must have the same length" ,
1600- cm .exception .args [0 ],
1601- )
16021584 with self .assertRaises (TypeError ):
16031585 kh .CoclusteringCluster (json_data = "NOT A DICT" )
16041586 with self .assertRaises (kh .KhiopsJSONError ) as cm :
0 commit comments