class TestGenericAlias:
numpy.typing._generic_alias._GenericAlias
.Method | test_copy |
Undocumented |
Method | test_getattr |
Test that getattr wraps around the underlying type, aka __origin__. |
Method | test_pass |
Compare types.GenericAlias with its numpy-based backport. |
Method | test_raise |
Test operations that are supposed to raise. |
Method | test_weakref |
Test __weakref__. |
Undocumented
Parameters | |
name:str | Undocumented |
func:FuncType | Undocumented |
Compare types.GenericAlias
with its numpy-based backport.
Checker whether func runs as intended and that both GenericAlias
and _GenericAlias
return the same result.
Parameters | |
name:str | Undocumented |
func:FuncType | Undocumented |
Parameters | |
name:str | Undocumented |
exc_type:Type[ | Undocumented |
func:FuncType | Undocumented |