def test_reject_duplicate_label(self):
        self.check_add_series(S1, "label1")
        self.assertRaises(DuplicateLabelException, self.flot.add_series, S1, "label1")
make sure a series is not added if it has a duplicate label
dataset/ETHPy150Open unbracketed/python-flot-utils/pyflot/tests/__init__.py/TestFlot.test_reject_duplicate_label