Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 51dfcc8

Browse files
committed
Switch tox to using custom configuration directory
1 parent 391c0cb commit 51dfcc8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ envlist = py35, py36
88

99
[testenv]
1010
changedir = /tmp
11+
setenv =
12+
MPLCONFIGDIR={envtmpdir}/.matplotlib
1113
commands =
12-
sh -c 'rm -f $HOME/.matplotlib/fontList*'
1314
{envpython} {toxinidir}/tests.py --processes=-1 --process-timeout=300
1415
deps =
1516
numpy

0 commit comments

Comments
 (0)