mirror of
https://github.com/django/django.git
synced 2024-11-30 15:10:46 +01:00
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
Block a user