Closed
Description
Based on the spec:
If a conforming implementation supports arrays having an arbitrary number of dimensions (potentially infinite), the corresponding dictionary value must be None; otherwise, the value must be a finite integer.
"max dimensions" can be either None or integer.
While the test_capabilities
assumes "max dimensions" to have only integer data type:
if xp.__array_api_version__ >= "2024.12":
expected_attr.update(**{"max dimensions": int})