mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
committed by
Tim Graham
parent
888c1e9bfe
commit
d1bab24e01
@@ -158,7 +158,7 @@ class FileSystemLoaderTests(SimpleTestCase):
|
||||
with self.source_checker(['/dir1', '/dir2']) as check_sources:
|
||||
# UTF-8 bytestrings are permitted.
|
||||
check_sources(b'\xc3\x85ngstr\xc3\xb6m', ['/dir1/Ångström', '/dir2/Ångström'])
|
||||
# Unicode strings are permitted.
|
||||
# Strings are permitted.
|
||||
check_sources('Ångström', ['/dir1/Ångström', '/dir2/Ångström'])
|
||||
|
||||
def test_utf8_bytestring(self):
|
||||
|
||||
Reference in New Issue
Block a user