summarylogtreecommitdiffstats
path: root/ignore-invalid-escape-sequence.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ignore-invalid-escape-sequence.patch')
-rw-r--r--ignore-invalid-escape-sequence.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/ignore-invalid-escape-sequence.patch b/ignore-invalid-escape-sequence.patch
new file mode 100644
index 000000000000..610bcde0cd88
--- /dev/null
+++ b/ignore-invalid-escape-sequence.patch
@@ -0,0 +1,11 @@
+diff --git a/master/buildbot/test/__init__.py b/master/buildbot/test/__init__.py
+index 331e5c53b..f97f2766a 100644
+--- a/master/buildbot/test/__init__.py
++++ b/master/buildbot/test/__init__.py
+@@ -141,3 +141,6 @@ warnings.filterwarnings('ignore', r"The value of convert_charrefs will become Tr
+
+ # Twisted 18.4+ adds a deprecation warning and still use the deprecated API in its own code!
+ warnings.filterwarnings('ignore', ".*getClientIP was deprecated.*", DeprecationWarning)
++
++# temporarily disable to make tests pass
++warnings.filterwarnings('ignore', 'invalid escape sequence', DeprecationWarning)