summaryrefslogtreecommitdiff
path: root/tests/timezones
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-06-27 09:39:47 -0700
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-06-28 16:46:18 +0200
commit42b9a23267f14be39b9b00958e18d5746783208e (patch)
treef19f6a2cd70025744ad9d668a15a0c0a5ed8aac3 /tests/timezones
parent2b03e8e9e8205ae3a3aa128764277e70b7c30803 (diff)
downloaddjango-42b9a23267f14be39b9b00958e18d5746783208e.tar.gz
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
Diffstat (limited to 'tests/timezones')
-rw-r--r--tests/timezones/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/timezones/tests.py b/tests/timezones/tests.py
index d51f1cabeb..68c7e3a7ef 100644
--- a/tests/timezones/tests.py
+++ b/tests/timezones/tests.py
@@ -1103,8 +1103,8 @@ class NewFormsTests(TestCase):
self.assertFalse(form.is_valid())
self.assertEqual(
form.errors['dt'], [
- "2011-03-27 02:30:00 couldn't be interpreted in time zone "
- "Europe/Paris; it may be ambiguous or it may not exist."
+ '2011-03-27 02:30:00 couldn’t be interpreted in time zone '
+ 'Europe/Paris; it may be ambiguous or it may not exist.'
]
)
@@ -1114,8 +1114,8 @@ class NewFormsTests(TestCase):
self.assertFalse(form.is_valid())
self.assertEqual(
form.errors['dt'], [
- "2011-10-30 02:30:00 couldn't be interpreted in time zone "
- "Europe/Paris; it may be ambiguous or it may not exist."
+ '2011-10-30 02:30:00 couldn’t be interpreted in time zone '
+ 'Europe/Paris; it may be ambiguous or it may not exist.'
]
)