Skip to content

Tests don't display progress #824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2012
Merged

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented Apr 13, 2012

I installed matplotlib a6f17f9 on Mac OS X Lion (XCode 4.3).
Then I ran the tests and all pass, which is very nice.
But the usual progress report of one dot "." per test is not there, after five minutes I was actually inclined to abort because I wasn't sure it was working ok.

Can you show the usual nosetests progress info by default?

Also note the one warning that occurs when running the tests.

christoph-deils-macbook:tmp deil$ python -c 'import matplotlib; matplotlib.test()'
----------------------------------------------------------------------
Ran 1086 tests in 534.355s

OK (KNOWNFAIL=274)
/Users/deil/Library/Python/2.7/lib/python/site-packages/matplotlib/__init__.py:936: UserWarning:  This call to matplotlib.use() has no effect
because the the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.

  if warn: warnings.warn(_use_error_msg)

@mdboom
Copy link
Member

mdboom commented Apr 13, 2012

This was only recently broken -- I'm not quite sure how, but the attached pull request resolves this for me. Can you confirm it resolves the issue for you?

@cdeil
Copy link
Contributor Author

cdeil commented Apr 14, 2012

Yes, thanks!

@cdeil cdeil closed this Apr 14, 2012
@mdboom mdboom reopened this Apr 14, 2012
mdboom added a commit that referenced this pull request Apr 14, 2012
Tests don't display progress
@mdboom mdboom merged commit f562883 into matplotlib:v1.1.x Apr 14, 2012
@mdboom mdboom deleted the test-progress branch March 3, 2015 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants