mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #33476 -- Refactored code to strictly match 88 characters line length.
This commit is contained in:
@@ -51,7 +51,10 @@ class TestQuerying(TestCase):
|
||||
|
||||
|
||||
class TestSerialization(SimpleTestCase):
|
||||
test_data = '[{"fields": {"field": "1 01:00:00"}, "model": "model_fields.durationmodel", "pk": null}]'
|
||||
test_data = (
|
||||
'[{"fields": {"field": "1 01:00:00"}, "model": "model_fields.durationmodel", '
|
||||
'"pk": null}]'
|
||||
)
|
||||
|
||||
def test_dumping(self):
|
||||
instance = DurationModel(field=datetime.timedelta(days=1, hours=1))
|
||||
|
||||
Reference in New Issue
Block a user