Allow single-dot version tags in BDD tests

This commit is contained in:
Florian Bruhin 2017-02-08 14:18:19 +01:00
parent 01719408bc
commit a3caba53d5

View File

@ -69,7 +69,7 @@ def _get_version_tag(tag):
version_re = re.compile(r"""
(?P<package>qt|pyqt)
(?P<operator>==|>|>=|<|<=|!=)
(?P<version>\d+\.\d+\.\d+)
(?P<version>\d+\.\d+(\.\d+)?)
""", re.VERBOSE)
match = version_re.match(tag)