diff options
| author | django-bot <ops@djangoproject.com> | 2025-07-22 20:41:41 -0700 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-07-23 20:17:55 -0300 |
| commit | 69a93a88edb56ba47f624dac7a21aacc47ea474f (patch) | |
| tree | f57507a4435d032493cae40e06ecb254790b67b2 /tests/datatypes | |
| parent | 55b0cc21310b76ce4018dd793ba50556eaf0af06 (diff) | |
Refs #36500 -- Rewrapped long docstrings and block comments via a script.
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
Diffstat (limited to 'tests/datatypes')
| -rw-r--r-- | tests/datatypes/tests.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/datatypes/tests.py b/tests/datatypes/tests.py index fa08ed878d..3469311163 100644 --- a/tests/datatypes/tests.py +++ b/tests/datatypes/tests.py @@ -34,7 +34,8 @@ class DataTypesTestCase(TestCase): self.assertEqual(d2.consumed_at, datetime.datetime(2007, 4, 20, 16, 19, 59)) def test_time_field(self): - # Test for ticket #12059: TimeField wrongly handling datetime.datetime object. + # Test for ticket #12059: TimeField wrongly handling datetime.datetime + # object. d = Donut(name="Apple Fritter") d.baked_time = datetime.datetime( year=2007, month=4, day=20, hour=16, minute=19, second=59 @@ -91,8 +92,8 @@ class DataTypesTestCase(TestCase): @skipIfDBFeature("supports_timezones") def test_error_on_timezone(self): - """Regression test for #8354: the MySQL and Oracle backends should raise - an error if given a timezone-aware datetime object.""" + """Regression test for #8354: the MySQL and Oracle backends should + raise an error if given a timezone-aware datetime object.""" dt = datetime.datetime(2008, 8, 31, 16, 20, tzinfo=datetime.UTC) d = Donut(name="Bear claw", consumed_at=dt) # MySQL backend does not support timezone-aware datetimes. |
