From e7d475abf760d25d7a6b6e5e81261364167f5f41 Mon Sep 17 00:00:00 2001 From: Ben Greiner Date: Mon, 19 Dec 2022 14:14:25 +0100 Subject: [PATCH] TST: ignore more np.distutils.log imports Ignore two more modules from np.distutils.log found by test_public_api.py::test_all_modules_are_expected_2 Closes #22827 --- numpy/tests/test_public_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index 0c652e01f1fc..36a21d1c5f73 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -351,6 +351,8 @@ def test_all_modules_are_expected(): SKIP_LIST_2 = [ 'numpy.math', 'numpy.distutils.log.sys', + 'numpy.distutils.log.logging', + 'numpy.distutils.log.warnings', 'numpy.doc.constants.re', 'numpy.doc.constants.textwrap', 'numpy.lib.emath',