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

Commit 2db55f8

Browse filesBrowse files
committed
TST: skip on py2.6
1 parent 1acc296 commit 2db55f8
Copy full SHA for 2db55f8

File tree

Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-0
lines changed

‎lib/matplotlib/tests/test_image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_image.py
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
unicode_literals)
33

44
from matplotlib.externals import six
5+
import sys
56

67
import numpy as np
78

@@ -463,6 +464,10 @@ def test_minimized_rasterized():
463464
# in Postscript, the best way to detect it is to generate SVG
464465
# and then parse the output to make sure the two colorbar images
465466
# are the same size.
467+
if sys.version_info[:2] < (2, 7):
468+
raise nose.SkipTest("xml.etree.ElementTree.Element.iter "
469+
"added in py 2.7")
470+
466471
from xml.etree import ElementTree
467472

468473
np.random.seed(0)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.