From 3e86500f7c90b988a0d94f76b3d4d9504a511dd0 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 18 Nov 2020 09:45:33 +0100 Subject: [PATCH] skip ADAO matplotlib test --- products/patches/ADAO_version.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 products/patches/ADAO_version.patch 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 = [] -- 2.39.2