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 88ab7d9

Browse filesBrowse files
committed
Merge pull request #6482 from jenshnielsen/1.5.xSkipTestsNumpy1.11
Skip test broken with numpy 1.11
1 parent 57bb9e6 commit 88ab7d9
Copy full SHA for 88ab7d9

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-0
lines changed

‎lib/matplotlib/tests/test_bbox_tight.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_bbox_tight.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
from matplotlib import rcParams
1010
from matplotlib.testing.decorators import image_comparison
11+
from matplotlib.testing.noseclasses import KnownFailureTest
1112
import matplotlib.pyplot as plt
1213
import matplotlib.path as mpath
1314
import matplotlib.patches as mpatches
@@ -90,6 +91,8 @@ def test_bbox_inches_tight_clipping():
9091
remove_text=True, savefig_kwarg={'bbox_inches': 'tight'})
9192
def test_bbox_inches_tight_raster():
9293
"""Test rasterization with tight_layout"""
94+
if tuple(map(int, np.__version__.split('.'))) >= (1, 11, 0):
95+
raise KnownFailureTest("Fall out from a fixed numpy bug")
9396
fig = plt.figure()
9497
ax = fig.add_subplot(111)
9598
ax.plot([1.0, 2.0], rasterized=True)

0 commit comments

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