mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
parent
9c19aff7c7
commit
7119f40c98
404 changed files with 5944 additions and 2842 deletions
|
@ -126,7 +126,8 @@ class LazyObjectTestCase(TestCase):
|
|||
for needle, haystack in test_data:
|
||||
self.assertIn(needle, self.lazy_wrap(haystack))
|
||||
|
||||
# __contains__ doesn't work when the haystack is a string and the needle a LazyObject
|
||||
# __contains__ doesn't work when the haystack is a string and the
|
||||
# needle a LazyObject.
|
||||
for needle_haystack in test_data[1:]:
|
||||
self.assertIn(self.lazy_wrap(needle), haystack)
|
||||
self.assertIn(self.lazy_wrap(needle), self.lazy_wrap(haystack))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue