Skip to content

Commit

Permalink
Pin pytest to avoid assertion failure
Browse files Browse the repository at this point in the history
'assert mod not in mods' when run on Windows.
See pytest-dev/pytest#9765
  • Loading branch information
martinburchell committed May 26, 2022
1 parent dbc996e commit 3306409
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@
"flake8==3.8.4", # code checks
"docutils==0.17", # documentation, 0.18 not compatible with Sphinx
"mistune<2.0.0", # API documentation, 2.0.0 not compatible
"pytest==7.1.1", # automatic testing
# 7.1 fails on Windows https://github.com/pytest-dev/pytest/issues/9765
"pytest==7.0.1", # automatic testing
"pytest-django==4.5.2", # automatic testing
# Sphinx 4.4.0 gives "more than one target for cross-reference" warning
# when resolving crate_anon.anonymise.patient.Patient in
Expand Down

0 comments on commit 3306409

Please sign in to comment.