From edcb33c92e11ad5ac92a928e65b7d321fa9d067c Mon Sep 17 00:00:00 2001 From: Michael Manfre Date: Mon, 20 Oct 2014 21:49:44 -0400 Subject: [PATCH] Fix SettingsCustomLoggingTest on Windows when path contains \u --- tests/logging_tests/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):