summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarl Meyer <carl@oddbird.net>2014-02-04 13:14:41 -0700
committerCarl Meyer <carl@oddbird.net>2014-02-04 13:14:41 -0700
commit2b272241809c939add6c81f312c479066e47c638 (patch)
treeca0664a2924dfd4521b0516df787e05c92a51e88 /tests
parent343dfff13370dac679b640196979a33951127290 (diff)
downloaddjango-2b272241809c939add6c81f312c479066e47c638.tar.gz
Fixed #21929 - Fixed test regression on Windows.
Thanks Michael Manfre for the report.
Diffstat (limited to 'tests')
-rw-r--r--tests/template_tests/test_loaders.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template_tests/test_loaders.py b/tests/template_tests/test_loaders.py
index ea582aef38..5f9306b33b 100644
--- a/tests/template_tests/test_loaders.py
+++ b/tests/template_tests/test_loaders.py
@@ -71,7 +71,7 @@ class EggLoaderTest(TestCase):
return self.module._resources[path].read()
def _fn(self, base, resource_name):
- return resource_name
+ return os.path.normcase(resource_name)
pkg_resources._provider_factories[MockLoader] = MockProvider