summaryrefslogtreecommitdiff
path: root/tests/forms_tests/field_tests
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/forms_tests/field_tests
parent2b03e8e9e8205ae3a3aa128764277e70b7c30803 (diff)
Fixed #30400 -- Improved typography of user facing strings.
Thanks Claude Paroz for assistance with translations.
Diffstat (limited to 'tests/forms_tests/field_tests')
-rw-r--r--tests/forms_tests/field_tests/test_imagefield.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/forms_tests/field_tests/test_imagefield.py b/tests/forms_tests/field_tests/test_imagefield.py
index e38abc332d..c33da2b353 100644
--- a/tests/forms_tests/field_tests/test_imagefield.py
+++ b/tests/forms_tests/field_tests/test_imagefield.py
@@ -66,7 +66,7 @@ class ImageFieldTest(FormFieldAssertionsMixin, SimpleTestCase):
with open(img_path, 'rb') as img_file:
img_data = img_file.read()
img_file = SimpleUploadedFile('1x1.txt', img_data)
- with self.assertRaisesMessage(ValidationError, "File extension 'txt' is not allowed."):
+ with self.assertRaisesMessage(ValidationError, 'File extension “txt” is not allowed.'):
f.clean(img_file)
def test_widget_attrs_default_accept(self):