Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Raise a meaningful error message in @image_comparison decorator #5518

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

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Change exception type back to AssertionError (in a somewhat shot-in-t…
…he-dark attempt to fix the Travis build with numpy 1.6).
  • Loading branch information
maxalbert committed Nov 19, 2015
commit 8683f54c2b80f67c0be8b59ed2b06ac2afb854fb
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/testing/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def _image_directories(func):
# multiprocess plugin or as a specific test this may be
# missing. See https://github.com/matplotlib/matplotlib/issues/3314
if mods[0] != 'tests':
raise ValueError(
raise AssertionError(
"Test does not live in a submodule named 'tests'. Please make "
"sure that there is a parent directory named 'tests' and that "
"it contains a __init__.py file (can be empty).")
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.