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

Class FakeUnit

lib/matplotlib/tests/test_table.py:230–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228 # test that table doesn't participate in unit machinery, instead uses repr/str
229
230 class FakeUnit:
231 def __init__(self, thing):
232 pass
233 def __repr__(self):
234 return "Hello"
235
236 fake_convertor = munits.ConversionInterface()
237 # v, u, a = value, unit, axis

Callers 1

test_table_unitFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_table_unitFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…