You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E AssertionError: Argument 'indexing' missing from signature
E assert 'indexing' in odict_keys(['xi', 'kwargs'])
E + where 'indexing' = <Parameter "indexing: str = 'xy'">.name
E + and odict_keys(['xi', 'kwargs']) = <built-in method keys of mappingproxy object at 0x7fc946212170>()
E + where <built-in method keys of mappingproxy object at 0x7fc946212170> = mappingproxy(OrderedDict([('xi', <Parameter "*xi">), ('kwargs', <Parameter "**kwargs">)])).keys
E + where mappingproxy(OrderedDict([('xi', <Parameter "*xi">), ('kwargs', <Parameter "**kwargs">)])) = <Signature (*xi, **kwargs)>.parameters
array_api_tests/test_signatures.py:92: AssertionError
cupy.meshgrid does have the indexing keyword, but its signature is meshgrid(*x, **kwargs). If we can't check a keyword argument directly, we should assume it is present with **kwargs, and let the individual tests suss out whether it really supports it.
The text was updated successfully, but these errors were encountered:
cupy.meshgrid does have the indexing keyword, but its signature is meshgrid(*x, **kwargs). If we can't check a keyword argument directly, we should assume it is present with **kwargs, and let the individual tests suss out whether it really supports it.
Personally I'd rather skip here (after testing everything else first so the test still could fail), as we can't confidently say the test "passes", with a skip reason like "keyword not found, but star-kwargs could consume keyword".
The meshgrid signature test fails with cupy:
cupy.meshgrid
does have theindexing
keyword, but its signature ismeshgrid(*x, **kwargs)
. If we can't check a keyword argument directly, we should assume it is present with**kwargs
, and let the individual tests suss out whether it really supports it.The text was updated successfully, but these errors were encountered: