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

4 lines
133 B
Python
Raw Normal View History

2024-04-01 15:19:46 +00:00
import incremental
v = incremental.Version("package", 1, 2, 3, release_candidate=4)
assert(str(v) == "[package, version 1.2.3.rc4]")