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

Function test_copy

numpy/polynomial/tests/test_classes.py:420–427  ·  view source on GitHub ↗
(Poly)

Source from the content-addressed store, hash-verified

418
419
420def test_copy(Poly):
421 p1 = Poly.basis(5)
422 p2 = p1.copy()
423 assert_(p1 == p2)
424 assert_(p1 is not p2)
425 assert_(p1.coef is not p2.coef)
426 assert_(p1.domain is not p2.domain)
427 assert_(p1.window is not p2.window)
428
429
430def test_integ(Poly):

Callers

nothing calls this directly

Calls 3

assert_Function · 0.90
basisMethod · 0.80
copyMethod · 0.45

Tested by

no test coverage detected