buildroot/support/testing/tests/package/sample_python_incremental.py

4 lines
133 B
Python

import incremental
v = incremental.Version("package", 1, 2, 3, release_candidate=4)
assert(str(v) == "[package, version 1.2.3.rc4]")