

def test_deepcopy(self):
    '\n        __deepcopy__() should copy all attributes properly\n        '
    widget = CronWidget()
    obj = copy.deepcopy(widget)
    self.assertIsNot(widget, obj)
    self.assertEqual(widget.options, obj.options)
    self.assertIsNot(widget.options, obj.options)
    self.assertEqual(self.attrs, obj.attrs)
    self.assertIsNot(widget.attrs, obj.attrs)

dataset/ETHPy150Open saeedsq/django-fancy-cronfield/fancy_cronfield/tests/test_widgets.py CronWidgetTests.test_deepcopy/VarMisuse@66/97 `widget`->`self`