From: Nabil Ghodbane Date: Wed, 18 Nov 2020 08:45:33 +0000 (+0100) Subject: skip ADAO matplotlib test X-Git-Tag: V9_6_0^2~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3e86500f7c90b988a0d94f76b3d4d9504a511dd0;p=tools%2Fsat_salome.git skip ADAO matplotlib test --- diff --git a/products/patches/ADAO_version.patch b/products/patches/ADAO_version.patch new file mode 100644 index 0000000..e9c4288 --- /dev/null +++ b/products/patches/ADAO_version.patch @@ -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 = []