From 33d402f9b997daae8c1a5d6be9cae14091583101 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 17 May 2024 12:36:42 -0700 Subject: [PATCH] noqa the last one --- tests/notifications_utils/test_sanitise_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/notifications_utils/test_sanitise_text.py b/tests/notifications_utils/test_sanitise_text.py index 592a2be38..e8bdf04dd 100644 --- a/tests/notifications_utils/test_sanitise_text.py +++ b/tests/notifications_utils/test_sanitise_text.py @@ -87,7 +87,7 @@ def test_get_unicode_char_from_codepoint(codepoint, char): "bad_input", ["", "GJ", "00001", '0001";import sys;sys.exit(0)"'] ) def test_get_unicode_char_from_codepoint_rejects_bad_input(bad_input): - with pytest.raises(ValueError, match=bad_input): + with pytest.raises(ValueError): # noqa PT011 SanitiseText.get_unicode_char_from_codepoint(bad_input)