@cleanup
def test_text_labelsize():
 fig = plt.figure()
 ax = fig.gca()
 ax.tick_params(labelsize=u'large')
 ax.tick_params(direction=u'out')

@ cleanup def test_text_labelsize ( ) : fig = plt . figure ( ) ax = fig . gca ( ) ax . tick_params ( labelsize = u'large' ) ax . tick_params ( direction = u'out' )
tests for issue #1172 .