From cefe78b2478632159629ab97795bf6cf99deb7d5 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Sat, 16 Oct 2021 13:20:55 -0500 Subject: [PATCH] Apply nit --- tests/test_custom_mods.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test_custom_mods.py b/tests/test_custom_mods.py index b3d37e0764..f0f98233e3 100644 --- a/tests/test_custom_mods.py +++ b/tests/test_custom_mods.py @@ -45,7 +45,7 @@ def test_custom_mods(): modifier_set = {custom_applicator.name: (custom_builder, custom_applicator)} modifier_set.update(**pyhf.modifiers.histfactory_set) - m = pyhf.Model( + model = pyhf.Model( { 'channels': [ { @@ -71,8 +71,8 @@ def test_custom_mods(): poi_name='k1', validate=False, ) - assert m - assert 'k1' in m.config.parameters + assert model + assert 'k1' in model.config.parameters def test_missing_poi(): @@ -80,7 +80,7 @@ def test_missing_poi(): modifier_set.update(**pyhf.modifiers.histfactory_set) with pytest.raises(exceptions.InvalidModel): - m = pyhf.Model( + model = pyhf.Model( { 'channels': [ { @@ -106,4 +106,4 @@ def test_missing_poi(): poi_name='non_existent_poi', validate=False, ) - assert m + assert model