def test_deepcopy(self):
        widget = CronWidget()
        obj = copy.deepcopy(widget)
        self.assertIsNot(widget, obj)
        self.assertEqual(widget.options, obj.options)
        self.assertIsNot(widget.options, obj.options)
        self.assertEqual(widget.attrs, obj.attrs)
        self.assertIsNot(widget.attrs, obj.attrs)
__deepcopy__() should copy all attributes properly
dataset/ETHPy150Open saeedsq/django-fancy-cronfield/fancy_cronfield/tests/test_widgets.py/CronWidgetTests.test_deepcopy