From 7041fcbc4a0d290c98b96638546a29b5333479c2 Mon Sep 17 00:00:00 2001 From: Evan Hubinger Date: Wed, 13 Nov 2024 01:02:53 -0800 Subject: [PATCH] Further fix warnings --- coconut/tests/main_test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/coconut/tests/main_test.py b/coconut/tests/main_test.py index 1d8fd37e..5c347317 100644 --- a/coconut/tests/main_test.py +++ b/coconut/tests/main_test.py @@ -181,11 +181,12 @@ def pexpect(p, out): "DeprecationWarning: The distutils package is deprecated", "from distutils.version import LooseVersion", ": CoconutWarning: Deprecated use of ", - " assert_raises(", - " assert ", "Populating initial parsing cache", "_coconut.warnings.warn(", ": SyntaxWarning: ", + " assert_raises(", + " assert ", + " if x is 1:", ) kernel_installation_msg = (