From: Jean-Philippe ARGAUD Date: Fri, 26 Aug 2016 12:56:50 +0000 (+0200) Subject: Updating one salome test X-Git-Tag: V8_1_0~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=04683b3f23c7f905f91eb9eb2a00e55b0fb1e197;p=modules%2Fadao.git Updating one salome test --- 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