Refs #25085 -- Used more specific assertion in widget test.

This commit is contained in:
Tim Graham 2015-07-14 12:17:34 -04:00
parent 8ee6a3f1a8
commit b356dc4e07
1 changed files with 3 additions and 3 deletions

View File

@ -2007,8 +2007,8 @@ class SelectWidgetTests(SimpleTestCase):
"""
widget = Select()
obj = copy.deepcopy(widget)
self.assertTrue(widget is not obj)
self.assertIsNot(widget, obj)
self.assertEqual(widget.choices, obj.choices)
self.assertTrue(widget.choices is not obj.choices)
self.assertIsNot(widget.choices, obj.choices)
self.assertEqual(widget.attrs, obj.attrs)
self.assertTrue(widget.attrs is not obj.attrs)
self.assertIsNot(widget.attrs, obj.attrs)