8000 Further attempts to get py.test working · MacPython/matplotlib-wheels@dc646e4 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Commit dc646e4

Browse files
committed
Further attempts to get py.test working
1 parent 64e13a0 commit dc646e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ install:
119119
- python rm_test_images.py wheelhouse/*.whl
120120

121121
script:
122-
- TEST_DEPENDS="numpy==$NP_TEST_DEP pytest mock sphinx pytest pytest-cov pytest-timeout pytest-xdist pytest-faulthandler"
122+
- TEST_DEPENDS="numpy==$NP_TEST_DEP pytest mock sphinx pytest pytest-timeout pytest-xdist pytest-faulthandler"
123123
# increase number of open files allowed for tests, on OSX
124124
# https://github.com/matplotlib/matplotlib/issues/3315
125125
- ulimit -n 4096

config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LOCAL_FT_COMMIT=5ad9b15
66

77
# Test arguments
88
NPROC=2
9-
PYTEST_ARGS="-ra --maxfail=1 --timeout=300 --durations=25 --cov-report= --cov=lib -n $NPROC"
9+
PYTEST_ARGS="-ra --maxfail=1 --timeout=300 --durations=25 -n $NPROC"
1010

1111

1212
function pre_build {
@@ -65,7 +65,7 @@ function run_tests {
6565
python -c "from matplotlib import font_manager"
6666

6767
echo "testing matplotlib using $NPROC process(es)"
68-
py.test $PYTEST_ARGS
68+
py.test $PYTEST_ARGS $MPL_INSTALL_DIR $(dirname ${MPL_INSTALL_DIR})/mpl_toolkits
6969

7070
echo "Check import of tcl / tk"
7171
MPLBACKEND="tkagg" python -c 'import matplotlib.pyplot as plt; print(plt.get_backend())'

0 commit comments

Comments
 (0)
0