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

Method test_unit

lib/matplotlib/tests/test_category.py:22–25  ·  view source on GitHub ↗
(self, data, locs)

Source from the content-addressed store, hash-verified

20
21 @pytest.mark.parametrize("data, locs", data, ids=ids)
22 def test_unit(self, data, locs):
23 unit = cat.UnitData(data)
24 assert list(unit._mapping.keys()) == data
25 assert list(unit._mapping.values()) == locs
26
27 def test_update(self):
28 data = ['a', 'd']

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected