summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2022-06-01 09:45:01 -0700
committerGitHub <noreply@github.com>2022-06-01 20:45:01 +0400
commit4564a7b9f5cafef7ec192ab50df0ec6a2ec8745c (patch)
treefa680fb69c7b9814324d1a6064388faa35d3a838 /.github
parent77b8c4e2fced4b730b1903a81808ce53aad23210 (diff)
downloadnetworkx-4564a7b9f5cafef7ec192ab50df0ec6a2ec8745c.tar.gz
Add workaround for pytest failures on 3.11-beta2 (#5680)
Diffstat (limited to '.github')
-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 fb073d3f..5b267cc7 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -26,7 +26,9 @@ jobs:
- name: Test NetworkX
run: |
- pytest --durations=10 --pyargs networkx
+ # NOTE: --assert=plain necessary to work around known pytest issue.
+ # See pytest-dev/pytest#10008
+ pytest --durations=10 --pyargs --assert=plain networkx
default:
runs-on: ${{ matrix.os }}-latest