Skip to content

Commit e2e6fa8

Browse files
committed
Use pytest
1 parent 7c09368 commit e2e6fa8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

bin/install_travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# symengine's bin/install_travis.sh will install miniconda
44

5-
export conda_pkgs="python=${PYTHON_VERSION} pip cython nose pytest"
5+
export conda_pkgs="python=${PYTHON_VERSION} pip cython pytest"
66

77
if [[ "${WITH_SYMPY}" != "no" ]]; then
88
export conda_pkgs="${conda_pkgs} sympy";

bin/test_travis.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ set -x
99
python setup.py install build_ext --inplace --symengine-dir=$our_install_dir
1010

1111
# Test python wrappers
12-
nosetests -v
13-
# If switching to py.test, the following collects correct tests:
14-
#py.test -v $PYTHON_SOURCE_DIR/symengine/tests/test_*.py
12+
py.test -v $PYTHON_SOURCE_DIR/symengine/tests/test_*.py
1513
mkdir -p empty && cd empty
1614
python $PYTHON_SOURCE_DIR/bin/test_python.py
1715
cd ..

0 commit comments

Comments
 (0)