diff --git a/tests/test_theory_parent.py b/tests/test_theory_parent.py index dd26bbf2d..53c5e59f6 100644 --- a/tests/test_theory_parent.py +++ b/tests/test_theory_parent.py @@ -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")