diff --git a/test/cql-pytest/nodetool.py b/test/cql-pytest/nodetool.py index 78a475f71a..3abd177564 100644 --- a/test/cql-pytest/nodetool.py +++ b/test/cql-pytest/nodetool.py @@ -122,7 +122,7 @@ def disablebinary(cql): run_nodetool(cql, "disablebinary") def parse_keyspace_table(name, separator_chars = '.'): - pat = f"(?P\w+)(?:[{separator_chars}](?P\w+))?" + pat = rf"(?P\w+)(?:[{separator_chars}](?P
\w+))?" m = re.match(pat, name) return m.group('keyspace'), m.group('table')