summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2022-06-01 17:36:12 -0700
committerGitHub <noreply@github.com>2022-06-01 17:36:12 -0700
commit85a4327d87270f4f9c4139f784b6d8f327ec45f0 (patch)
tree4c24cb280b41cae2a9215307a39f01e483057cf8
parent7eec71f3796395ea2f48503b6703bd8fcc922b3b (diff)
downloadnumpydoc-85a4327d87270f4f9c4139f784b6d8f327ec45f0.tar.gz
Add workaround for pytest failures on 3.11b2 (#404)
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.
-rw-r--r--.github/workflows/test.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 79f553f..9964333 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: |