diff options
author | Michael Manfre <mmanfre@gmail.com> | 2014-10-20 21:49:44 -0400 |
---|---|---|
committer | Michael Manfre <mmanfre@gmail.com> | 2014-10-20 21:49:44 -0400 |
commit | edcb33c92e11ad5ac92a928e65b7d321fa9d067c (patch) | |
tree | 05f4e75eafc2d75ce3fb9263382167885e8666dd /tests/logging_tests | |
parent | dbf7a3df45e733c1e51d98318fd87de5ffc160a8 (diff) | |
download | django-edcb33c92e11ad5ac92a928e65b7d321fa9d067c.tar.gz |
Fix SettingsCustomLoggingTest on Windows when path contains \u
Diffstat (limited to 'tests/logging_tests')
-rw-r--r-- | tests/logging_tests/tests.py | 2 |
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): |