Don't define pytest_bdd_apply_tag when frozen
This should help with the undefined hook while not requiring to install the pytest-bdd plugin when frozen.
This commit is contained in:
parent
49d3e9ece8
commit
ead437be82
@ -187,6 +187,7 @@ def pytest_sessionfinish(exitstatus):
|
|||||||
f.write(str(exitstatus))
|
f.write(str(exitstatus))
|
||||||
|
|
||||||
|
|
||||||
|
if not getattr(sys, 'frozen', False):
|
||||||
def pytest_bdd_apply_tag(tag, function):
|
def pytest_bdd_apply_tag(tag, function):
|
||||||
version_re = re.compile(r"""
|
version_re = re.compile(r"""
|
||||||
(?P<package>qt|pyqt)
|
(?P<package>qt|pyqt)
|
||||||
|
Loading…
Reference in New Issue
Block a user