mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.5.x] Fixed #19357 -- Allow non-ASCII chars in filesystem paths
Thanks kujiu for the report and Aymeric Augustin for the review.
Backport of c91667338 from master.
This commit is contained in:
@@ -4,9 +4,10 @@ import tempfile
|
||||
from django.utils import unittest
|
||||
|
||||
from django.utils.archive import Archive, extract
|
||||
from django.utils._os import upath
|
||||
|
||||
|
||||
TEST_DIR = os.path.join(os.path.dirname(__file__), 'archives')
|
||||
TEST_DIR = os.path.join(os.path.dirname(upath(__file__)), 'archives')
|
||||
|
||||
|
||||
class ArchiveTester(object):
|
||||
|
||||
Reference in New Issue
Block a user