def test_no_data_interpolation(Chart):
 chart = Chart(interpolate='cubic')
 q = chart.render_pyquery()
 assert (q('.text-overlay text').text() == 'No data')

def test_no_data_interpolation ( Chart ) : chart = Chart ( interpolate = 'cubic' ) q = chart . render_pyquery ( ) assert ( q ( '.text-overlay text' ) . text ( ) == 'No data' )
test interpolation option with no data .