Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

python-warnings: Update glom SyntaxWarning pattern for Python 3.14.

Anders Kaseorg7ed614474d2f
diff --git a/tools/python-warnings.bash b/tools/python-warnings.bash
index 6cff52e89e0..54b6ec63c6f 100644
--- a/tools/python-warnings.bash
+++ b/tools/python-warnings.bash
@@ -10,6 +10,7 @@ PYTHONWARNINGS+=',default:Attribute s is deprecated and will be removed in Pytho
# https://github.com/mahmoud/glom/pull/258
PYTHONWARNINGS+=',ignore:invalid escape sequence '\'\\' '\'':DeprecationWarning'
PYTHONWARNINGS+=',ignore:invalid escape sequence '\'\\' '\'':SyntaxWarning'
+PYTHONWARNINGS+=',ignore:"\ " is an invalid escape sequence.:SyntaxWarning'
# https://github.com/ipython/ipython/pull/14876
PYTHONWARNINGS+=',ignore:'\''return'\'' in a '\''finally'\'' block:SyntaxWarning'