mirror of
https://github.com/django/django.git
synced 2025-08-23 12:04:21 +00:00
Fixed #23620 -- Used more specific assertions in the Django test suite.
This commit is contained in:
parent
c0c78f1b70
commit
f7969b0920
83 changed files with 419 additions and 429 deletions
|
@ -177,7 +177,7 @@ class MergeDictTests(IgnoreDeprecationWarningsMixin, SimpleTestCase):
|
|||
self.assertEqual(sorted(six.iterkeys(mm)), ['key1', 'key2', 'key4'])
|
||||
self.assertEqual(len(list(six.itervalues(mm))), 3)
|
||||
|
||||
self.assertTrue('value1' in six.itervalues(mm))
|
||||
self.assertIn('value1', six.itervalues(mm))
|
||||
|
||||
self.assertEqual(
|
||||
sorted(six.iteritems(mm), key=lambda k: k[0]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue