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 small library that versions your Python projects."

MIT
Latest version published 2 years ago

Package Health Score

76 / 100
Full package analysis