summaryrefslogtreecommitdiff
path: root/test/GenerateTests.py
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2024-02-25 17:40:19 +0100
committerJohn Wiegley <johnw@newartisans.com>2024-07-08 10:12:07 -0700
commit815305b94864556c994934c7a7c830da7de1d94e (patch)
tree6d85f089b05520416eee1f51f80636b357cda73d /test/GenerateTests.py
parent0b561c7304ec82807212bd070fc6a1684c67607b (diff)
downloadfork-ledger-815305b94864556c994934c7a7c830da7de1d94e.tar.gz
fork-ledger-815305b94864556c994934c7a7c830da7de1d94e.tar.bz2
fork-ledger-815305b94864556c994934c7a7c830da7de1d94e.zip
Use Python raw strings for regex methods argument
Diffstat (limited to 'test/GenerateTests.py')
-rwxr-xr-xtest/GenerateTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/GenerateTests.py b/test/GenerateTests.py
index 1301bcd0..87b65659 100755
--- a/test/GenerateTests.py
+++ b/test/GenerateTests.py
@@ -35,7 +35,7 @@ if not os.path.isdir(args.tests) and not os.path.isfile(args.tests):
sys.exit(1)
#def normalize(line):
-# match = re.match("((\s*)([A-Za-z]+)?(\s*)([-0-9.]+)(\s*)([A-Za-z]+)?)( (.+))?$", line)
+# match = re.match(r'((\s*)([A-Za-z]+)?(\s*)([-0-9.]+)(\s*)([A-Za-z]+)?)( (.+))?$', line)
# if match:
# if match.group(3):
# prefix = match.group(3) + " " + match.group(5)