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

Method test_copy

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

Source from the content-addressed store, hash-verified

153 p = poly.Polynomial([1, 2, 3, 0], symbol='z')
154
155 def test_copy(self):
156 other = self.p.copy()
157 assert_equal(other.symbol, 'z')
158
159 def test_trim(self):
160 other = self.p.trim()

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
copyMethod · 0.45

Tested by

no test coverage detected