Skip to content

Commit 06b3412

Browse files
committed
Drop tests on typicalities
They are no longer always mandatory, namely when used in the `innerVariables` part of instance-variable coclustering reports.
1 parent 20625ba commit 06b3412

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

tests/test_core.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)