MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_sankey_add_errors

Function test_sankey_add_errors

lib/matplotlib/tests/test_sankey.py:59–63  ·  view source on GitHub ↗
(kwargs, msg)

Source from the content-addressed store, hash-verified

57 'pathlengths': [2]}, "The lengths of 'flows'"),
58 ))
59def test_sankey_add_errors(kwargs, msg):
60 sankey = Sankey()
61 with pytest.raises(ValueError, match=msg):
62 sankey.add(flows=[0.2, -0.2])
63 sankey.add(**kwargs)
64
65
66def test_sankey2():

Callers

nothing calls this directly

Calls 2

addMethod · 0.95
SankeyClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…