Skip to content

Commit

Permalink
Fix test pass regex to work with colored log files
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangilbey committed Jul 27, 2022
1 parent 3c95ab0 commit f5560f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def get_passed_tests():
logfile = f.readlines()

# Detect all tests that passed before.
test_re = re.compile(r'(spyder.*) (SKIPPED|PASSED|XFAIL) ')
test_re = re.compile(r'(spyder.*)(SKIPPED|PASSED|XFAIL)')
tests = set()
for line in logfile:
match = test_re.match(line)
Expand Down

0 comments on commit f5560f8

Please sign in to comment.