Skip to content

Conversation

stephanlachnit
Copy link
Contributor

Fixes the following warning:

=============================== warnings summary ===============================
tests/test_cost.py::test_UnbinnedNLL_visualize[False]
tests/test_cost.py::test_UnbinnedNLL_visualize[True]
  /tmp/autopkgtest-lxc.hry0h8si/downtmp/autopkgtest_tmp/tests/test_cost.py:244: VisibleDeprecationWarning: keyword 'nbins' is deprecated, please use 'bins'
    c.visualize((1, 2), nbins=20)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====== 597 passed, 2 skipped, 5 xfailed, 1 xpassed, 2 warnings in 17.25s =======

@HDembinski
Copy link
Member

Good catch, thanks!

@HDembinski HDembinski merged commit 8d7b1ae into scikit-hep:develop Jul 26, 2023
@stephanlachnit stephanlachnit deleted the p-fix-capture-warning branch August 23, 2023 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants