Kaydet (Commit) edcb33c9 authored tarafından Michael Manfre's avatar Michael Manfre

Fix SettingsCustomLoggingTest on Windows when path contains \u

üst dbf7a3df
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment