Skip to content

Commit bd216c7

Browse files
committed
Use py.test instead of nose
1 parent 6f3020c commit bd216c7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ install:
5959
# Useful for debugging any issues with conda
6060
- conda info -a
6161
- cd test
62-
- conda install xtensor nose numpy -c conda-forge
62+
- conda install xtensor pytest numpy -c conda-forge
6363
- pip install git+https://github.com/pybind/pybind11.git
6464
- cp -r $TRAVIS_BUILD_DIR/include/* $HOME/miniconda/include/
6565

@@ -76,4 +76,4 @@ script:
7676
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
7777
export CXX=clang++ CC=clang;
7878
fi
79-
- nosetests .
79+
- py.test .

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ It produces a project following the best practices for the packaging and distrib
122122

123123
## Building and Running the Tests
124124

125-
Testing `xtensor-python` requires `nosetests`
125+
Testing `xtensor-python` requires `pytest`
126126

127127
``` bash
128-
nosetests .
128+
py.test .
129129
```
130130

131131
To pick up changes in `xtensor-python` while rebuilding, delete the `build/` directory.

0 commit comments

Comments
 (0)