Merge branch 'downstream_testing_2' of github.com:sommersoft/pytest into downstream_testing_2

This commit is contained in:
sommersoft 2022-04-08 12:57:09 -05:00
commit 035433f7bd
1 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,10 @@ class ToxDepFilter(_BaseUserDict):
"""Checks if `match` matches any conditions""" """Checks if `match` matches any conditions"""
match_found = None match_found = None
for key, val in self.data.items(): for key, val in self.data.items():
if "xdist" in match:
logging.debug(
"matches_condition: %s", re.search(val["condition"], match)
)
if re.search(val["condition"], match): if re.search(val["condition"], match):
match_found = key match_found = key
break break