mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #32365 -- Removed support for pytz timezones per deprecation timeline.
This commit is contained in:
@@ -25,8 +25,7 @@ class DateFormatTests(SimpleTestCase):
|
||||
self.assertEqual(datetime.fromtimestamp(int(format(dt, "U"))), dt)
|
||||
|
||||
def test_naive_ambiguous_datetime(self):
|
||||
# dt is ambiguous in Europe/Copenhagen. pytz raises an exception for
|
||||
# the ambiguity, which results in an empty string.
|
||||
# dt is ambiguous in Europe/Copenhagen.
|
||||
dt = datetime(2015, 10, 25, 2, 30, 0)
|
||||
|
||||
# Try all formatters that involve self.timezone.
|
||||
|
||||
Reference in New Issue
Block a user