From 2629d83ddad4c04b3cbaef7773357879720d0204 Mon Sep 17 00:00:00 2001 From: Evan Hubinger Date: Tue, 12 Nov 2024 17:46:14 -0800 Subject: [PATCH] Silence syntax warnings --- coconut/tests/main_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/coconut/tests/main_test.py b/coconut/tests/main_test.py index 79772d22..1d8fd37e 100644 --- a/coconut/tests/main_test.py +++ b/coconut/tests/main_test.py @@ -180,13 +180,12 @@ def pexpect(p, out): ignore_last_lines_with = ( "DeprecationWarning: The distutils package is deprecated", "from distutils.version import LooseVersion", - ": SyntaxWarning: 'int' object is not ", ": CoconutWarning: Deprecated use of ", " assert_raises(", " assert ", "Populating initial parsing cache", "_coconut.warnings.warn(", - ": SyntaxWarning: invalid escape sequence", + ": SyntaxWarning: ", ) kernel_installation_msg = (