summaryrefslogtreecommitdiffstats
path: root/support/testing/tests/package/sample_python_incremental.py
diff options
context:
space:
mode:
Diffstat (limited to 'support/testing/tests/package/sample_python_incremental.py')
-rw-r--r--support/testing/tests/package/sample_python_incremental.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/testing/tests/package/sample_python_incremental.py b/support/testing/tests/package/sample_python_incremental.py
new file mode 100644
index 0000000000..b6e2aa803c
--- /dev/null
+++ b/support/testing/tests/package/sample_python_incremental.py
@@ -0,0 +1,3 @@
+import incremental
+v = incremental.Version("package", 1, 2, 3, release_candidate=4)
+assert(str(v) == "[package, version 1.2.3rc4]")
OpenPOWER on IntegriCloud