From 6bdff9117135fba6ab9632d8cb0621f54fb90cf1 Mon Sep 17 00:00:00 2001 From: Roy Stegeman Date: Tue, 22 Oct 2024 18:26:27 +0100 Subject: [PATCH] add lhapdf-management to test group --- pyproject.toml | 1 + tests/test_utils.py | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0b339a64..90c9f08d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,6 +51,7 @@ setuptools = "^69.0" optional = true [tool.poetry.group.test.dependencies] +lhapdf-management = { version = "^0.5" } nnpdf = { git = "https://github.com/NNPDF/nnpdf" } pytest = "^7.1.3" pytest-cov = "^4.0.0" diff --git a/tests/test_utils.py b/tests/test_utils.py index c26488aa..99349d94 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -2,12 +2,7 @@ from pineko import utils -try: - import nnpdf_data -except ImportError: - nnpdf_data = None -@pytest.mark.skipif(nnpdf_data is None, reason="nnpdf extras are not installed in the pypi package creation workflow") @pytest.mark.parametrize( "dsname", ["HERA_NC_318GEV_EAVG_CHARM-SIGMARED", "ATLAS_DY_7TEV_46FB_CC"] )