From 04683b3f23c7f905f91eb9eb2a00e55b0fb1e197 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Fri, 26 Aug 2016 14:56:50 +0200 Subject: [PATCH] Updating one salome test --- test/test1001/Versions.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/test/test1001/Versions.py b/test/test1001/Versions.py index b405012..b37bf38 100644 --- a/test/test1001/Versions.py +++ b/test/test1001/Versions.py @@ -2,13 +2,17 @@ #-*-coding:iso-8859-1-*- """Test des versions de modules""" -minimal_python_version = "2.7.10" -minimal_numpy_version = "1.9.2" -minimal_scipy_version = "0.15.0" -minimal_matplotlib_version = "1.4.3" +# Versions Calibre9/Jessie +minimal_python_version = "2.7.9" +minimal_numpy_version = "1.8.2" +minimal_scipy_version = "0.14.0" +minimal_matplotlib_version = "1.4.2" def compare_versions(v1,v2): "Comparaison v1 >= v2" + for s in ['+', 'rc1', 'rc2', 'rc3']: + v1 = v1.replace(s,'',1) + v2 = v2.replace(s,'',1) v11,v12,v13 = map(float,v1.split('.')) v21,v22,v23 = map(float,v2.split('.')) lv1 = 1e6*v11 + 1e3*v12 + v13 -- 2.39.2