summaryrefslogtreecommitdiff
path: root/tests/logging_tests
diff options
context:
space:
mode:
authorMichael Manfre <mmanfre@gmail.com>2014-10-20 21:49:44 -0400
committerMichael Manfre <mmanfre@gmail.com>2014-10-20 21:49:44 -0400
commitedcb33c92e11ad5ac92a928e65b7d321fa9d067c (patch)
tree05f4e75eafc2d75ce3fb9263382167885e8666dd /tests/logging_tests
parentdbf7a3df45e733c1e51d98318fd87de5ffc160a8 (diff)
downloaddjango-edcb33c92e11ad5ac92a928e65b7d321fa9d067c.tar.gz
Fix SettingsCustomLoggingTest on Windows when path contains \u
Diffstat (limited to 'tests/logging_tests')
-rw-r--r--tests/logging_tests/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/logging_tests/tests.py b/tests/logging_tests/tests.py
index da5ef453b1..8a76c0ec49 100644
--- a/tests/logging_tests/tests.py
+++ b/tests/logging_tests/tests.py
@@ -437,7 +437,7 @@ format=%(message)s
self.temp_file.write(logging_conf.encode('utf-8'))
self.temp_file.flush()
sdict = {'LOGGING_CONFIG': '"logging.config.fileConfig"',
- 'LOGGING': '"%s"' % self.temp_file.name}
+ 'LOGGING': 'r"%s"' % self.temp_file.name}
self.write_settings('settings.py', sdict=sdict)
def tearDown(self):