Skip to content

Commit 3caadcd

Browse files
committed
Update comment and obey formatting requirements.
Original NumPy Commit: 5651445944bce163a2c3f746d6ac1acd9ae76032
1 parent 85eb8ae commit 3caadcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

array_api_strict/tests/test_asarray.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ def test_fast_return():
1616

1717
equivalent_requirement = np.dtype('i', metadata={'spam': True})
1818
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.
19+
# The descriptors are equivalent, but we have created
20+
# distinct dtype instances.
2121
assert unequal_type == equivalent_requirement
2222
assert unequal_type is not equivalent_requirement
2323
assert c is not b

0 commit comments

Comments
 (0)