Skip to content

Commit

Permalink
remove unneessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Jan 31, 2022
1 parent a7c227b commit d60980f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions validphys2/src/validphys/tests/test_sumrules.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from validphys.tableloader import sane_load

from .conftest import PDF, HESSIAN_PDF
from .test_regressions import make_table_comp, parse_data_cv
from .test_regressions import make_table_comp

Q = 10 # GeV

Expand All @@ -22,9 +22,7 @@ def test_central_value(pdf_name):
"""Check that the central value is the same as the mean"""
all_sr = API.sum_rules_table(pdf=pdf_name, Q=Q)
cv_sr = API.central_sum_rules_table(pdf=pdf_name, Q=Q)
pd.testing.assert_series_equal(
cv_sr.squeeze(), all_sr["mean"], atol=1e-5, check_names=False
)
pd.testing.assert_series_equal(cv_sr.squeeze(), all_sr["mean"], atol=1e-5, check_names=False)


def _regression_sum_rules(pdf_name):
Expand Down

0 comments on commit d60980f

Please sign in to comment.