mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
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.
This commit is contained in:
@@ -48,7 +48,8 @@ class DateFormatTests(SimpleTestCase):
|
||||
dt = make_aware(datetime(2009, 5, 16, 5, 30, 30), ltz)
|
||||
self.assertEqual(datetime.fromtimestamp(int(format(dt, "U")), tz), dt)
|
||||
self.assertEqual(datetime.fromtimestamp(int(format(dt, "U")), ltz), dt)
|
||||
# astimezone() is safe here because the target timezone doesn't have DST
|
||||
# astimezone() is safe here because the target timezone doesn't have
|
||||
# DST
|
||||
self.assertEqual(
|
||||
datetime.fromtimestamp(int(format(dt, "U"))),
|
||||
dt.astimezone(ltz).replace(tzinfo=None),
|
||||
|
||||
Reference in New Issue
Block a user