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

Skip to content

Commit 767d244

Browse files
committed
Remove hacks for multiprocess testing
1 parent c3d6a76 commit 767d244

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ script:
106106
# Travis VM to run out of memory (since so many copies of inkscape and
107107
# ghostscript are running at the same time).
108108
- echo Testing using $NPROC processes
109-
# Generate the font caches in a single process before starting the
110-
# multiple processes
111-
- python -c "from matplotlib import font_manager"
112109
- |
113110
if [[ $BUILD_DOCS == false ]]; then
114111
export MPL_REPO_DIR=$PWD # needed for pep8-conformance test of the examples

tests.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,6 @@
2121
from matplotlib.testing.noseclasses import KnownFailure
2222
from matplotlib import default_test_modules
2323

24-
from matplotlib import font_manager
25-
# Make sure the font caches are created before starting any possibly
26-
# parallel tests
27-
if font_manager._fmcache is not None:
28-
while not os.path.exists(font_manager._fmcache):
29-
time.sleep(0.5)
30-
3124
plugins = [KnownFailure, attrib.Plugin]
3225

3326
# Nose doesn't automatically instantiate all of the plugins in the

0 commit comments

Comments
 (0)