From: Nabil Ghodbane Date: Wed, 18 Nov 2020 08:45:33 +0000 (+0100) Subject: skip ADAO matplotlib test X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=50e482c50fda3515b6f68b455cf0818ce1dd95c5;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 = []