From 8b4a6758541daef4fe3d29425817c58860612a34 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 30 Oct 2021 00:03:36 +0200 Subject: [PATCH] support/testing: fix the TestPythonPy[2,3]Incremental test cases The recent python-incremental version bump (commit fd03cb5a12981a9c34b0025ff3ae4b8456342724) added a change/fix in incremental.Version(). python-incremental 17.5.0 return: "[package, version 1.2.3rc4]") python-incremental 21.3.0 return: "[package, version 1.2.3.rc4]") Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552692 https://gitlab.com/buildroot.org/buildroot/-/jobs/1710552693 Signed-off-by: Romain Naour Cc: Asaf Kahlon Signed-off-by: Thomas Petazzoni --- support/testing/tests/package/sample_python_incremental.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/testing/tests/package/sample_python_incremental.py b/support/testing/tests/package/sample_python_incremental.py index b6e2aa803c..efab8b2067 100644 --- a/support/testing/tests/package/sample_python_incremental.py +++ b/support/testing/tests/package/sample_python_incremental.py @@ -1,3 +1,3 @@ import incremental v = incremental.Version("package", 1, 2, 3, release_candidate=4) -assert(str(v) == "[package, version 1.2.3rc4]") +assert(str(v) == "[package, version 1.2.3.rc4]")