Skip to content

Commit edc602c

Browse files
committed
Use numpy's assert equal to test for equality
1 parent fd446ce commit edc602c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yt/frontends/rockstar/tests/test_outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ def test_halo_loading():
5757
halo.mass
5858

5959
# Make sure we can access the member particles
60-
assert len(halo.member_ids) == Npart
60+
assert_equal(len(halo.member_ids), Npart)

0 commit comments

Comments
 (0)