Fix handling of @qt>= BDD tags

This commit is contained in:
Florian Bruhin 2017-02-08 14:20:44 +01:00
parent 0d271eba87
commit 708c96f3ce

View File

@ -90,7 +90,7 @@ def _get_version_tag(tag):
version = match.group('version')
if package == 'qt':
return pytest.mark.skipif(qtutils.version_check(version, op),
return pytest.mark.skipif(not qtutils.version_check(version, op),
reason='Needs ' + tag)
elif package == 'pyqt':
major, minor, patch = [int(e) for e in version.split('.')]