Fix pytest-bdd tags
This commit is contained in:
parent
8d9a699b5b
commit
eb463ab2d3
@ -220,8 +220,8 @@ def pytest_bdd_apply_tag(tag, function):
|
|||||||
hex_version = (major << 16) | (minor << 8) | patch
|
hex_version = (major << 16) | (minor << 8) | patch
|
||||||
mark = pytest.mark.skipif(not op(PYQT_VERSION, hex_version),
|
mark = pytest.mark.skipif(not op(PYQT_VERSION, hex_version),
|
||||||
reason='Needs ' + tag)
|
reason='Needs ' + tag)
|
||||||
# else:
|
else:
|
||||||
raise ValueError("Invalid package {}".format(package))
|
raise ValueError("Invalid package {!r}".format(package))
|
||||||
|
|
||||||
mark(function)
|
mark(function)
|
||||||
return True
|
return True
|
||||||
|
@ -363,7 +363,7 @@ Feature: Various utility commands.
|
|||||||
And I press the key "<Ctrl-C>"
|
And I press the key "<Ctrl-C>"
|
||||||
Then no crash should happen
|
Then no crash should happen
|
||||||
|
|
||||||
@pyqt531_or_newer
|
@pyqt>=5.3.1
|
||||||
Scenario: Focusing download widget via Tab (original issue)
|
Scenario: Focusing download widget via Tab (original issue)
|
||||||
When I open data/prompt/jsprompt.html
|
When I open data/prompt/jsprompt.html
|
||||||
And I run :hint
|
And I run :hint
|
||||||
|
Loading…
Reference in New Issue
Block a user