

def testDataSeriesArgumentOrder(self):
    warnings.filterwarnings('error')
    self.assertRaises(DeprecationWarning, common.DataSeries, [1, 2, 3], '0000FF', 'style')
    style = common._BasicStyle('0000FF')
    d = common.DataSeries([1, 2, 3], 'label', style)
    self.assertEqual('label', d.label)
    self.assertEqual(style, d.style)

dataset/ETHPy150Open baz/app-sales-machine/lib/graphy/common_test.py CommonTest.testDataSeriesArgumentOrder/original