MCPcopy Create free account
hub / github.com/numpy/numpy / test_truncate

Method test_truncate

numpy/polynomial/tests/test_symbol.py:163–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

161 assert_equal(other.symbol, 'z')
162
163 def test_truncate(self):
164 other = self.p.truncate(2)
165 assert_equal(other.symbol, 'z')
166
167 @pytest.mark.parametrize('kwarg', (
168 {'domain': [-10, 10]},

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
truncateMethod · 0.80

Tested by

no test coverage detected