How to use the incremental.IncomparableVersions function in Incremental

To help you get started, we’ve selected a few Incremental examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github twisted / incremental / tests / test_version.py View on Github external
def test_disallowBuggyComparisons(self):
        """
        The package names of the Version objects need to be the same,
        """
        self.assertRaises(IncomparableVersions,
                          operator.eq,
                          Version("dummy", 1, 0, 0),
                          Version("dumym", 1, 0, 0))

Incremental

A CalVer version manager that supports the future.

MIT
Latest version published 10 days ago

Package Health Score

85 / 100
Full package analysis