Bump pre-commit flake8 to 6.1.0
[integration/test.git] / csit / libraries / BgpRpcClient.py
index fb2b6fe75f7610774a72e0d0c041fb59313cbd73..4a1ba83bd8c21bd0cee833bc9d29706b3a39bc89 100644 (file)
@@ -101,5 +101,5 @@ class BgpRpcClient(object):
         """Verifies two hex messages are equal even in case, their arguments are misplaced.
         Converts hex message arguments to integers and sums them up and returns the sum."""
         return sum(
-            [int(x, 16) for x in re.compile("[a-f\d]{2}").findall(hex_string[32:])]
+            [int(x, 16) for x in re.compile(r"[a-f\d]{2}").findall(hex_string[32:])]
         )