Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hsinfan1996 committed Aug 6, 2023
1 parent 55681c7 commit 31eab49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_theory_parent.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_instantiate(modeling_data):
assert_raises(ValueError, mod.set_halo_density_profile, halo_profile_model="bla")
assert_raises(ValueError, mod.set_halo_density_profile, massdef="blu")

if theo.be_nick in ["nc", "ccl"]:
if theo.be_nick == "ccl":
mod.set_halo_density_profile(massdef="virial")
assert_equal(mod.delta_mdef, "vir")

Expand Down

0 comments on commit 31eab49

Please sign in to comment.