8000 Merge pull request #2838 from tacaswell/fix32 · matplotlib/matplotlib@01ee254 · GitHub
[go: up one dir, main page]

Skip to content

Commit 01ee254

Browse files
committed
Merge pull request #2838 from tacaswell/fix32
TST : make 3.2 pass again
2 parents 84a8389 + 8d9c681 commit 01ee254

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

lib/matplotlib/tests/test_animation.py

Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import six
55

66
import tempfile
7-
7+
import sys
88
import numpy as np
99
from nose import with_setup
1010
from matplotlib import pyplot as plt
@@ -35,6 +35,11 @@ def check_save_animation(writer, extension='mp4'):
3535
% writer)
3636
if 'mencoder' in writer:
3737
raise KnownFailureTest("mencoder is broken")
38+
39+
ver = sys.version_info
40+
if ver[0] == 3 and ver[1] == 2:
41+
raise KnownFailureTest("animation saving broken on 3.2")
42+
3843
fig, ax = plt.subplots()
3944
line, = ax.plot([], [])
4045

lib/matplotlib/tests/test_legend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def __call__(self, legend, orig_handle, fontsize, handlebox):
166166
plt.legend([None], ['My first handler'],
167167
handler_map={None: AnyObjectHandler()})
168168

169-
warn.assert_called_with(u'Legend handers must now implement a '
169+
warn.assert_called_with('Legend handers must now implement a '
170170
'"legend_artist" method rather than '
171171
'being a callable.',
172172
MatplotlibDeprecationWarning,

0 commit comments

Comments
 (0)
0