diff --git a/.github/workflows/test_pytest.yaml b/.github/workflows/test_pytest.yaml index de73d2eaf..0d7825da3 100644 --- a/.github/workflows/test_pytest.yaml +++ b/.github/workflows/test_pytest.yaml @@ -53,7 +53,9 @@ jobs: run: pytest tests/unit --cov=rocketpy - name: Run Documentation Tests - run: pytest rocketpy --doctest-modules --cov=rocketpy --cov-append + run: | + pip install numpy --upgrade + pytest rocketpy --doctest-modules --cov=rocketpy --cov-append - name: Run Integration Tests run: pytest tests/integration --cov=rocketpy --cov-append diff --git a/rocketpy/mathutils/function.py b/rocketpy/mathutils/function.py index d49fe64bc..7b4c2f23a 100644 --- a/rocketpy/mathutils/function.py +++ b/rocketpy/mathutils/function.py @@ -20,6 +20,7 @@ # Numpy 1.x compatibility, # TODO: remove these lines when all dependencies support numpy>=2.0.0 if np.lib.NumpyVersion(np.__version__) >= "2.0.0b1": + # pylint: disable=no-name-in-module from numpy import trapezoid # pragma: no cover else: from numpy import trapz as trapezoid # pragma: no cover