Update src/_pytest/mark/expression.py

Co-authored-by: Ran Benita <ran@unusedvar.com>
This commit is contained in:
Alexander King 2021-10-29 10:27:36 -04:00 committed by GitHub
parent 13fd340924
commit 4c814accd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ class Scanner:
yield Token(TokenType.RPAREN, ")", pos)
pos += 1
else:
match = re.match(r"(:?\w|:|\+|-|\.|\[|\]|\\|\/)+", input[pos:])
match = re.match(r"(:?\w|:|\+|-|\.|\[|\]|\\|/)+", input[pos:])
if match:
value = match.group(0)
if value == "or":