]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
skip ADAO matplotlib test
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 18 Nov 2020 08:45:33 +0000 (09:45 +0100)
committernghodban <Nabil.Ghodbane@c-s.fr>
Mon, 30 Nov 2020 07:17:35 +0000 (08:17 +0100)
products/patches/ADAO_version.patch [new file with mode: 0644]

diff --git a/products/patches/ADAO_version.patch b/products/patches/ADAO_version.patch
new file mode 100644 (file)
index 0000000..e9c4288
--- /dev/null
@@ -0,0 +1,16 @@
+diff --git a/test/test1001/Versions.py b/test/test1001/Versions.py
+index f25466e..96144e6 100644
+--- a/test/test1001/Versions.py
++++ b/test/test1001/Versions.py
+@@ -87,7 +87,10 @@ class Test_Adao(unittest.TestCase):
+             import matplotlib
+             mplversion = matplotlib.__version__
+             print("    - Matplotlib........: %s"%mplversion)
+-            assert compare_versions(mplversion, minimal_matplotlib_version)
++            if mplversion == '0+unknown':
++                print("Presumably git based version... skipping assertion")
++            else:
++                assert compare_versions(mplversion, minimal_matplotlib_version)
+             #
+             print("")
+             backends_OK = []