Fixed critical typo in mlab.cohere#10004
Conversation
b2cc191 to
c1559e2
Compare
|
This is at least a relatively new typo: #7547 |
|
BTW, this is pretty bad, so any back porting that is possible would be great. |
|
While we don't like |
|
@jklymak, I would be happy to add simple tests, at least $ py.test-2.7
============================= test session starts ==============================
platform darwin -- Python 2.7.14, pytest-3.2.5, py-1.5.2, pluggy-0.4.0
rootdir: /Users/duncan/git/matplotlib-cohere-typo, inifile: pytest.ini
plugins: xdist-1.20.0, forked-0.2, cov-2.5.1
collected 0 items / 1 errors
==================================== ERRORS ====================================
______________________________ ERROR collecting _______________________________
...
lib/matplotlib/testing/conftest.py:12: in pytest_configure
matplotlib._init_tests()
lib/matplotlib/__init__.py:1462: in _init_tests
from matplotlib import ft2font
E ImportError: cannot import name ft2fontIs there something special I need to do to get the tests going (macOS 10.13.2, macports pytest). |
|
OK, you may not have a development environment set up? http://matplotlib.org/devel/contributing.html I do everything via conda. If you want to post what you think is a working test, I could test for you. My only problem w/ http://matplotlib.org/devel/testing.html |
|
thanks @jklymak, the problem with the install was that I hadn't installed mpl in developer mode, the prompt to the instructions was what I needed. However, I don't think I'm going to be much help any time soon on a unit test, since the setup for |
|
oops. |
Backport PR #10004 on branch v2.1.x
PR Summary
This commit fixes #10003 with a single-character change.
PR Checklist