Skip to content

Commit c79875c

Browse files
wdevazelhesperimosocordiae
authored andcommitted
[MRG] move from unittest to pytest (#90)
* use pytest rather than unittest * update README.txt
1 parent fb6733c commit c79875c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ before_install:
88
- pip install --upgrade pip
99
- pip install wheel
1010
- pip install numpy scipy scikit-learn
11-
script: python setup.py test
11+
script: pytest test

README.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ Run ``pip install metric-learn`` to download and install from PyPI.
2929

3030
Run ``python setup.py install`` for default installation.
3131

32-
Run ``python setup.py test`` to run all tests.
32+
Run ``pytest test`` to run all tests (you will need to have the ``pytest``
33+
package installed).
3334

3435
**Usage**
3536

0 commit comments

Comments
 (0)