Refs #25085 -- Used more specific assertion in widget test.
This commit is contained in:
parent
8ee6a3f1a8
commit
b356dc4e07
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue