From beb7917d92cfcd3a7f03c51db0aeec2f9199a335 Mon Sep 17 00:00:00 2001 From: Alexander Held Date: Wed, 15 Feb 2023 18:07:57 +0100 Subject: [PATCH] fix formatting --- tests/test_import.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_import.py b/tests/test_import.py index 66d636dfea..6f6ce02e89 100644 --- a/tests/test_import.py +++ b/tests/test_import.py @@ -513,9 +513,7 @@ def test_import_missingPOI(mocker, datadir): basedir = datadir.joinpath("xmlimport_missingPOI") with pytest.raises(RuntimeError) as excinfo: pyhf.readxml.parse(basedir.joinpath("config/example.xml"), basedir) - assert 'Measurement GaussExample is missing POI specification' in str( - excinfo.value - ) + assert 'Measurement GaussExample is missing POI specification' in str(excinfo.value) def test_import_resolver():