summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):