Skip to content

Commit

Permalink
Use numpy's assert equal to test for equality
Browse files Browse the repository at this point in the history
  • Loading branch information
cphyc committed Sep 19, 2024
1 parent e4f8a86 commit 88425d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/frontends/rockstar/tests/test_outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ def test_halo_loading():
halo.mass

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

0 comments on commit 88425d5

Please sign in to comment.