

def testDataSeriesStyles(self):
    warnings.filterwarnings('error')
    self.assertRaises(DeprecationWarning, common.DataSeries, [1, 2, 3], color='0000FF')
    warnings.filterwarnings('ignore')
    d = common.DataSeries([1, 2, 3], color='0000FF')
    self.assertEqual('0000FF', self.color)
    d.color = 'F00'
    self.assertEqual('F00', d.color)

dataset/ETHPy150Open baz/app-sales-machine/lib/graphy/common_test.py CommonTest.testDataSeriesStyles/VarMisuse@72/97 `d`->`self`