    def test_label_name1(self):
        """
        Check Label name can be set in the constructor.
        """
        lbl = Label("Winner", name="my_lbl")
        self.assertEqual(lbl.name, "my_lbl")
Check Label name can be set in the constructor.
tests/test_widgets.py