From 9542e2904f8db68c5288ad6bdd8b0b1b209d214f Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sat, 2 Nov 2024 18:01:28 +0100 Subject: [PATCH] support/testing: TestPythonPy3Incremental: update expected string Since python-incremental 24.7.0, there is no longer a dot before an rc specifier [1]. Update TestPythonPy3Incremental expected result to "[package, version 1.2.3rc4]". Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992642 [1] https://github.com/twisted/incremental/commit/d482dfff3f1c18eed69372937958c3f2481f6252 Signed-off-by: Romain Naour Signed-off-by: Julien Olivain --- 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 efab8b2067..b6e2aa803c 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.3.rc4]") +assert(str(v) == "[package, version 1.2.3rc4]")