MCPcopy Index your code
hub / github.com/numpy/numpy / test_symbol

Function test_symbol

numpy/polynomial/tests/test_printing.py:345–347  ·  view source on GitHub ↗
(poly, tgt)

Source from the content-addressed store, hash-verified

343 (poly.Legendre, '1.0 + 2.0·P₁(z) + 3.0·P₂(z)'),
344))
345def test_symbol(poly, tgt):
346 p = poly([1, 2, 3], symbol='z')
347 assert_equal(f"{p:unicode}", tgt)
348
349
350class TestRepr:

Callers

nothing calls this directly

Calls 2

polyFunction · 0.90
assert_equalFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…