Skip to content

Commit

Permalink
Limiting pytest to versions < 4.0
Browse files Browse the repository at this point in the history
With pytest v4, we would need to rewrite our entire test suite, as
fixtures can’t be function anymore. See also e.g.
pytest-dev/pytest#3950

For now therefore limiting pytest versions to <4.0
  • Loading branch information
erikvansebille committed Nov 21, 2018
1 parent ef2757a commit bfc4169
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion environment_py2_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ dependencies:
- dask
- cftime
- pip:
- pytest>=2.7.0
- pytest<4.0
- nbval
2 changes: 1 addition & 1 deletion environment_py2_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ dependencies:
- dask
- cftime
- pip:
- pytest>=2.7.0
- pytest<4.0
- nbval
2 changes: 1 addition & 1 deletion environment_py2_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ dependencies:
- dask
- cftime
- pip:
- pytest>=2.7.0
- pytest<4.0
- nbval
2 changes: 1 addition & 1 deletion environment_py3_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ dependencies:
- cftime
- dask
- pip:
- pytest>=2.7.0
- pytest<4.0
- nbval
2 changes: 1 addition & 1 deletion environment_py3_osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ dependencies:
- dask
- cftime
- pip:
- pytest>=2.7.0
- pytest<4.0
- nbval
2 changes: 1 addition & 1 deletion environment_py3_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ dependencies:
- cftime
- ipykernel<5.0
- pip:
- pytest>=2.7.0
- pytest<4.0
- nbval

0 comments on commit bfc4169

Please sign in to comment.