def test_no_data_sparktext():
 chart2 = Line()
 chart2.add('_', [])
 assert (chart2.render_sparktext() == u(''))
 chart3 = Line()
 assert (chart3.render_sparktext() == u(''))

def test_no_data_sparktext ( ) : chart2 = Line ( ) chart2 . add ( '_' , [ ] ) assert ( chart2 . render_sparktext ( ) == u ( '' ) ) chart3 = Line ( ) assert ( chart3 . render_sparktext ( ) == u ( '' ) )
test no data sparktext .