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