mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #19357 -- Allow non-ASCII chars in filesystem paths
Thanks kujiu for the report and Aymeric Augustin for the review.
This commit is contained in:
@@ -7,13 +7,14 @@ import time
|
||||
|
||||
from django.conf import Settings
|
||||
from django.db.models.loading import cache, load_app, get_model, get_models
|
||||
from django.utils._os import upath
|
||||
from django.utils.unittest import TestCase
|
||||
|
||||
class EggLoadingTest(TestCase):
|
||||
|
||||
def setUp(self):
|
||||
self.old_path = sys.path[:]
|
||||
self.egg_dir = '%s/eggs' % os.path.dirname(__file__)
|
||||
self.egg_dir = '%s/eggs' % os.path.dirname(upath(__file__))
|
||||
|
||||
# This test adds dummy applications to the app cache. These
|
||||
# need to be removed in order to prevent bad interactions
|
||||
|
||||
Reference in New Issue
Block a user