Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/colorama/ansitowin32.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class AnsiToWin32(object):
sequences from the text, and if outputting to a tty, will convert them into
win32 function calls.
'''
ANSI_RE = re.compile('\033\[((?:\d|;)*)([a-zA-Z])')
ANSI_RE = re.compile(r'\033\[((?:\d|;)*)([a-zA-Z])')

def __init__(self, wrapped, convert=None, strip=None, autoreset=False):
# The wrapped stream (normally sys.stdout or sys.stderr)
Expand Down
4 changes: 2 additions & 2 deletions runner/sensei.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def sortFailures(self, testClassName):
table = list()
for test, err in self.failures:
if helper.cls_name(test) == testClassName:
m = re.search("(?<= line )\d+" ,err)
m = re.search(r"(?<= line )\d+" ,err)
if m:
tup = (int(m.group(0)), test, err)
table.append(tup)
Expand Down Expand Up @@ -146,7 +146,7 @@ def scrapeInterestingStackDump(self, err):
if m and m.group(0):
stack_text += '\n' + line

m = re.search("^ \w(\w)+.*$",line)
m = re.search(r"^ \w(\w)+.*$",line)
if m and m.group(0):
stack_text += sep + line

Expand Down