class documentation

class TestSignatureMatch:

View In Hierarchy

Undocumented

Static Method get​_signature Construct a signature and replace all default parameter-values.
Constant IDS Undocumented
Constant NANFUNCS Undocumented
Method test​_exhaustiveness Validate that all nan functions are actually tested.
Method test​_signature​_match Undocumented
@staticmethod
def get_signature(func, default='...'):
Construct a signature and replace all default parameter-values.
IDS =

Undocumented

Value
[k.__name__ for k in NANFUNCS]
NANFUNCS =

Undocumented

Value
{np.nanmin: np.amin,
 np.nanmax: np.amax,
 np.nanargmin: np.argmin,
 np.nanargmax: np.argmax,
 np.nansum: np.sum,
 np.nanprod: np.prod,
 np.nancumsum: np.cumsum,
...
def test_exhaustiveness(self):
Validate that all nan functions are actually tested.
@pytest.mark.parametrize('nan_func,func', NANFUNCS.items(), ids=IDS)
def test_signature_match(self, nan_func, func):

Undocumented