Skip to content

Commit

Permalink
Fixed Python regular expression warning
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx authored and ronaldtse committed Oct 28, 2023
1 parent 2b0eb4f commit 65356e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tests/cli_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 65356e1

Please sign in to comment.