Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

PRF: only check some artists on mousemove#4878

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes from1 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
PrevPrevious commit
MNT: not all assert methods available in 2.6
Apparently `assert_is`,  `assert_in`, and `assert_not_in` arenot in the 2.6 version of nose, but are in all others.
  • Loading branch information
@tacaswell
tacaswell committedAug 14, 2015
commitded655a0fda48f23cacd15ac7dc15b121680a3be
13 changes: 6 additions & 7 deletionslib/matplotlib/tests/test_artist.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,8 +14,7 @@
import matplotlib.collections as mcollections
from matplotlib.testing.decorators import image_comparison, cleanup

from nose.tools import (assert_true, assert_false, assert_is, assert_in,
assert_not_in)
from nose.tools import (assert_true, assert_false)


@cleanup
Expand DownExpand Up@@ -159,14 +158,14 @@ def test_remove():
assert_false(fig.stale)
assert_false(ax.stale)

assert_in(im, ax.mouseover_set)
assert_is(im.axes, ax)
assert_true(im in ax.mouseover_set)
assert_true(im.axes is ax)

im.remove()

assert_is(im.axes, None)
assert_is(im.figure, None)
assert_not_in(im, ax.mouseover_set)
assert_true(im.axes is None)
assert_true(im.figure is None)
assert_true(im not in ax.mouseover_set)
assert_true(fig.stale)
assert_true(ax.stale)

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp