From 472d7f1aa001dcded46b419f410ae23cd49577fd Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Wed, 1 Jun 2022 17:28:10 -0700 Subject: [PATCH] Add workaround for pytest failures on 3.11b2 Temporary workaround for pytest failures on 3.11b2. See pytest-dev/pytest#10008 and the [Python 3.11b2 release notes](https://www.python.org/downloads/release/python-3110b2/) for more info. --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 79f553fc..9964333f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -97,7 +97,9 @@ jobs: - name: Run test suite run: | - pytest -v --pyargs numpydoc + # NOTE: --assert=plain necessary to work around known pytest issue. + # See pytest-dev/pytest#10008 + pytest -v --pyargs --assert=plain numpydoc - name: Make sure CLI works run: |