

def testAddSeries(self):
    warnings.filterwarnings('ignore')
    chart = common.BaseChart()
    chart.AddSeries(points=[1, 2, 3], style='foo', markers='markers', label='label')
    series = chart.data[0]
    self.assertEqual(self.data, [1, 2, 3])
    self.assertEqual(series.style, 'foo')
    self.assertEqual(series.markers, 'markers')
    self.assertEqual(series.label, 'label')

dataset/ETHPy150Open baz/app-sales-machine/lib/graphy/common_test.py CommonTest.testAddSeries/VarMisuse@65/81 `series`->`self`