summaryrefslogtreecommitdiff
path: root/tests/timezones/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/timezones/tests.py')
-rw-r--r--tests/timezones/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/timezones/tests.py b/tests/timezones/tests.py
index a211a43de0..8756f87716 100644
--- a/tests/timezones/tests.py
+++ b/tests/timezones/tests.py
@@ -1060,14 +1060,14 @@ class LegacyFormsTests(TestCase):
def test_form_with_non_existent_time(self):
form = EventForm({'dt': '2011-03-27 02:30:00'})
with timezone.override(pytz.timezone('Europe/Paris')):
- # this is obviously a bug
+ # This is a bug.
self.assertTrue(form.is_valid())
self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 3, 27, 2, 30, 0))
def test_form_with_ambiguous_time(self):
form = EventForm({'dt': '2011-10-30 02:30:00'})
with timezone.override(pytz.timezone('Europe/Paris')):
- # this is obviously a bug
+ # This is a bug.
self.assertTrue(form.is_valid())
self.assertEqual(form.cleaned_data['dt'], datetime.datetime(2011, 10, 30, 2, 30, 0))