Use raw string in regexp with "\d"...

Bump python versions used in testing
This commit is contained in:
rocky
2018-12-26 19:06:21 -05:00
parent 7de893730d
commit fe9beb2fd1
2 changed files with 2 additions and 2 deletions

View File

@@ -263,7 +263,7 @@ if __name__ == '__main__':
""".split()))
remain_tokens = set(tokens) - opcode_set
import re
remain_tokens = set([re.sub('_\d+$', '', t)
remain_tokens = set([re.sub(r'_\d+$', '', t)
for t in remain_tokens])
remain_tokens = set([re.sub('_CONT$', '', t)
for t in remain_tokens])