[Python-modules-commits] [python-mplexporter] 114/135: Simplify legend marker test
Wolfgang Borgert
debacle at moszumanska.debian.org
Tue Sep 23 21:19:10 UTC 2014
This is an automated email from the git hooks/post-receive script.
debacle pushed a commit to branch master
in repository python-mplexporter.
commit 392e338030f9fac230745826d717aa4fb7d56253
Author: John Eppley <jmeppley at gmail.com>
Date: Wed Mar 26 15:03:29 2014 -0400
Simplify legend marker test
---
mplexporter/tests/test_basic.py | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
diff --git a/mplexporter/tests/test_basic.py b/mplexporter/tests/test_basic.py
index 64309f9..1266261 100644
--- a/mplexporter/tests/test_basic.py
+++ b/mplexporter/tests/test_basic.py
@@ -183,19 +183,16 @@ def test_legend_dots():
ax.plot([1,2,3], label='label')
ax.plot([2,2,2], 'o', label='dots')
ax.legend().set_visible(True)
- _assert_output_equal(fake_renderer_output(fig, FakeRenderer),
+ _assert_output_equal(fake_renderer_output(fig, FullFakeRenderer),
"""
opening figure
opening axes
- draw path with 3 vertices
- draw path with 25 vertices
- draw path with 25 vertices
- draw path with 25 vertices
+ draw line with 3 points
+ draw 3 markers
opening legend
- draw path with 2 vertices
+ draw line with 2 points
draw text 'label' None
- draw path with 25 vertices
- draw path with 25 vertices
+ draw 2 markers
draw text 'dots' None
draw path with 5 vertices
closing legend
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-mplexporter.git
More information about the Python-modules-commits
mailing list