Skip to content

Commit

Permalink
TST : fix font-priority test
Browse files Browse the repository at this point in the history
For reasons I don't understand wrapping the test in a cleanup decorator
seems to make it pass consistently.

Closes matplotlib#3065
  • Loading branch information
tacaswell committed May 19, 2014
1 parent e37b5c5 commit 495c0fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/matplotlib/tests/test_font_manager.py
Expand Up @@ -3,13 +3,14 @@

from nose.tools import assert_equal
import six

import os

from matplotlib.font_manager import findfont, FontProperties
from matplotlib import rc_context
from matplotlib.testing.decorators import cleanup


@cleanup
def test_font_priority():
with rc_context(rc={
'font.sans-serif':
Expand Down

0 comments on commit 495c0fd

Please sign in to comment.