Kaydet (Commit) c591bc3c authored tarafından Tim Graham's avatar Tim Graham

Fixed "invalid escape sequence" warning in runtests.py.

üst 3aae43d8
......@@ -26,7 +26,7 @@ except ImportError:
pass
else:
# Ignore informational warnings from QuerySet.explain().
warnings.filterwarnings('ignore', '\(1003, *', category=MySQLdb.Warning)
warnings.filterwarnings('ignore', r'\(1003, *', category=MySQLdb.Warning)
# Make deprecation warnings errors to ensure no usage of deprecated features.
warnings.simplefilter("error", RemovedInDjango30Warning)
......
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