From 65356e1e41b9992af41734cfc105fc2f9ad3c854 Mon Sep 17 00:00:00 2001 From: Maxim Samsonov Date: Fri, 27 Oct 2023 19:49:16 +0300 Subject: [PATCH] Fixed Python regular expression warning --- src/tests/cli_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/cli_tests.py b/src/tests/cli_tests.py index 7038198b9..1f4981005 100755 --- a/src/tests/cli_tests.py +++ b/src/tests/cli_tests.py @@ -3076,10 +3076,10 @@ def test_core_dumps(self): def test_backend_version(self): BOTAN_BACKEND_VERSION = r'(?s)^.*.' \ 'Backend: Botan.*' \ - 'Backend version: ([a-zA-z\.0-9]+).*$' + 'Backend version: ([a-zA-Z\\.0-9]+).*$' OPENSSL_BACKEND_VERSION = r'(?s)^.*' \ 'Backend: OpenSSL.*' \ - 'Backend version: ([a-zA-z\.0-9]+).*$' + 'Backend version: ([a-zA-Z\\.0-9]+).*$' # Run without parameters and make sure it matches ret, out, _ = run_proc(RNP, []) self.assertNotEqual(ret, 0)