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

Method __init__

numpy/linalg/tests/test_linalg.py:77–86  ·  view source on GitHub ↗

A bundle of arguments to be passed to a test case, with an identifying name, the operands a and b, and a set of tags to filter the tests

(self, name, a, b, tags=set())

Source from the content-addressed store, hash-verified

75
76class LinalgCase:
77 def __init__(self, name, a, b, tags=set()):
78 """
79 A bundle of arguments to be passed to a test case, with an identifying
80 name, the operands a and b, and a set of tags to filter the tests
81 """
82 assert_(isinstance(name, str))
83 self.name = name
84 self.a = a
85 self.b = b
86 self.tags = frozenset(tags) # prevent shared tags
87
88 def check(self, do):
89 """

Callers

nothing calls this directly

Calls 1

assert_Function · 0.90

Tested by

no test coverage detected