8000 MAINT moved all remaining "f" modules to pytest by NelleV · Pull Request #7897 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

MAINT moved all remaining "f" modules to pytest #7897

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 2 commits into from
Jan 23, 2017
Merged
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
remove six.moves.xrange from figure tests
  • Loading branch information
phobson committed Jan 23, 2017
commit 3a96dbcfdec47f8f7713c2fb8d45bda40076014e
4 changes: 1 addition & 3 deletions lib/matplotlib/tests/test_figure.py
7612
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from __future__ import (absolute_import, division, print_function,
unicode_literals)

from six.moves import xrange

from numpy.testing import assert_equal
from matplotlib import rcParams
from matplotlib.testing.decorators import image_comparison, cleanup
Expand Down Expand Up @@ -57,7 +55,7 @@ def test_figure():
fig = plt.figure('today')
ax = fig.add_subplot(111)
ax.set_title(fig.get_label())
ax.plot(list(xrange(5)))
ax.plot(np.arange(5))
# plot red line in a different figure.
plt.figure('tomorrow')
plt.plot([0, 1], [1, 0], 'r')
Expand Down
0