@@ -1539,11 +1539,6 @@ def test_coclustering_results_simple_edge_cases(self):
15391539 {"cluster" : "MYCLUSTER" , "values" : []}
15401540 )
15411541 self .assertIn ("'valueFrequencies' key not found" , cm .exception .args [0 ])
1542- with self .assertRaises (kh .KhiopsJSONError ) as cm :
1543- kh .CoclusteringDimensionPartValueGroup (
1544- {"cluster" : "MYCLUSTER" , "values" : [], "valueFrequencies" : []}
1545- )
1546- self .assertIn ("'valueTypicalities' key not found" , cm .exception .args [0 ])
15471542 with self .assertRaises (kh .KhiopsJSONError ) as cm :
15481543 kh .CoclusteringDimensionPartValueGroup (
15491544 {
@@ -1557,19 +1552,6 @@ def test_coclustering_results_simple_edge_cases(self):
15571552 "'valueFrequencies' key list must have the same length" ,
15581553 cm .exception .args [0 ],
15591554 )
1560- with self .assertRaises (kh .KhiopsJSONError ) as cm :
1561- kh .CoclusteringDimensionPartValueGroup (
1562- {
1563- "cluster" : "MYCLUSTER" ,
1564- "values" : [],
1565- "valueFrequencies" : [],
1566- "valueTypicalities" : [1 ],
1567- }
1568- )
1569- self .assertIn (
1570- "'valueTypicalities' key list must have the same length" ,
1571- cm .exception .args [0 ],
1572- )
15731555 with self .assertRaises (TypeError ):
15741556 kh .CoclusteringCluster (json_data = "NOT A DICT" )
15751557 with self .assertRaises (kh .KhiopsJSONError ) as cm :
0 commit comments