We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85eb8ae commit 3caadcdCopy full SHA for 3caadcd
array_api_strict/tests/test_asarray.py
@@ -16,8 +16,8 @@ def test_fast_return():
16
17
equivalent_requirement = np.dtype('i', metadata={'spam': True})
18
c = np.asarray(b, dtype=equivalent_requirement)
19
- # A quirk of the metadata test is that equivalent metadata dicts are still
20
- # separate objects and so don't evaluate as the same array type description.
+ # The descriptors are equivalent, but we have created
+ # distinct dtype instances.
21
assert unequal_type == equivalent_requirement
22
assert unequal_type is not equivalent_requirement
23
assert c is not b
0 commit comments