summaryrefslogtreecommitdiff
path: root/tests/timezones
diff options
context:
space:
mode:
authorAdam Johnson <me@adamj.eu>2020-05-01 13:37:21 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-05-04 12:10:47 +0200
commitd17b380653da5f95885ce53468fe7aac60672841 (patch)
tree9fbe962d480093a45cf238d22596812637765c74 /tests/timezones
parent787981f9d1d5abc489a0b069e3353b8ad7aa9778 (diff)
downloaddjango-d17b380653da5f95885ce53468fe7aac60672841.tar.gz
Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments.
Diffstat (limited to 'tests/timezones')
-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))