diff --git a/tests/src/python/test_versioncompare.py b/tests/src/python/test_versioncompare.py index 595526b97ea..8fd8c631c9b 100644 --- a/tests/src/python/test_versioncompare.py +++ b/tests/src/python/test_versioncompare.py @@ -105,11 +105,10 @@ class TestVersionCompare(QgisTestCase): b = "1.0.0post1" self.assertEqual(compareVersions(a, b), 2) - # FIXME: these one will fail ... - # should we use packaging.version.parse ? - # a = "1.0a1" - # b = "1.0.0alpha1" - # self.assertEqual(compareVersions(a, b), 0) + # PEP440 test (failling without packaging) + a = "1.0a1" + b = "1.0.0alpha1" + self.assertEqual(compareVersions(a, b), 0) if __name__ == "__main__":