Use raw string for regex
This commit is contained in:
parent
eb463ab2d3
commit
50c1d85137
@ -188,7 +188,7 @@ def pytest_sessionfinish(exitstatus):
|
||||
|
||||
|
||||
def pytest_bdd_apply_tag(tag, function):
|
||||
version_re = re.compile("""
|
||||
version_re = re.compile(r"""
|
||||
(?P<package>qt|pyqt)
|
||||
(?P<operator>==|>|>=|<|<=|!=)
|
||||
(?P<version>\d+\.\d+\.\d+)
|
||||
|
Loading…
Reference in New Issue
Block a user