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

Function test_copy

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

Source from the content-addressed store, hash-verified

436
437
438def test_copy(Poly):
439 p1 = Poly.basis(5)
440 p2 = p1.copy()
441 assert_(p1 == p2)
442 assert_(p1 is not p2)
443 assert_(p1.coef is not p2.coef)
444 assert_(p1.domain is not p2.domain)
445 assert_(p1.window is not p2.window)
446
447
448def 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…