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

Skip to content

Commit ccd00ac

Browse files
committed
Temporarily force use of new font caches.
1 parent 0b42aad commit ccd00ac

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,20 @@ matrix:
8080
dist: trusty
8181
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124.
8282
env:
83+
- DELETE_FONT_CACHE=1
8384
- PINNEDVERS='-c requirements/testing/travis35.txt'
8485
- python: 3.6
8586
env:
8687
- DELETE_FONT_CACHE=1
8788
- EXTRAREQS='-r requirements/testing/travis36.txt'
8889
- python: 3.7
8990
sudo: true
91+
env:
92+
- DELETE_FONT_CACHE=1
9093
- python: "nightly"
91-
env: PRE=--pre
94+
env:
95+
- PRE=--pre
96+
- DELETE_FONT_CACHE=1
9297
- os: osx
9398
language: generic # https://github.com/travis-ci/travis-ci/issues/2312
9499
only: master

lib/matplotlib/tests/test_font_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from io import BytesIO
22
import os
33
import shutil
4+
import sys
45
import tempfile
56
import warnings
67

0 commit comments

Comments
 (0)