Skip to content

Commit

Permalink
Switch to pytest as of PR NeuralEnsemble#413
Browse files Browse the repository at this point in the history
  • Loading branch information
mdenker committed May 13, 2021
1 parent 09f3025 commit 7b47d2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ matrix:
before_script:
- pip install -r requirements/requirements-extras.txt
- pip install mpi4py
script: mpiexec -n 1 python -m mpi4py.futures -m nose --with-coverage --cover-package=elephant
script: mpiexec -n 1 python -m mpi4py.futures -m pytest --cov=elephant --import-mode=importlib
after_success: coveralls || echo "coveralls failed"

- name: "conda 3.7"
Expand Down Expand Up @@ -62,12 +62,12 @@ install:

- pip -V
- pip install -r requirements/requirements-tests.txt
- pip install coverage coveralls
- pip install pytest-cov coveralls
- python setup.py install
- python -c "import sys; sys.path.remove(''); import elephant; print(elephant.__file__)"
- python -c "import sys; sys.path.remove(''); from elephant.spade import HAVE_FIM; assert HAVE_FIM"
- pip list
- python --version

script:
nosetests --with-coverage --cover-package=elephant
pytest --cov=elephant --import-mode=importlib
2 changes: 1 addition & 1 deletion requirements/requirements-tests.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nose>=1.3.3
pytest

0 comments on commit 7b47d2f

Please sign in to comment.