From 321b5e627a127d99cc1b174d6741d97adf9c2b33 Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan Date: Sat, 6 Feb 2021 16:58:17 +0800 Subject: [PATCH] remove ProgressDialog from CI testing --- examples/test_examples.py | 4 ---- examples/utils.py | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/test_examples.py b/examples/test_examples.py index 18d45e6e..2a1c450a 100644 --- a/examples/test_examples.py +++ b/examples/test_examples.py @@ -70,10 +70,6 @@ conditionalExamples = { False, reason="Test is being problematic on CI machines" ), - "ProgressDialog.py": exceptionCondition( - not(platform.system() == "Linux"), - reason="QXcbConnection: XCB error" - ), 'GLVolumeItem.py': exceptionCondition( not(platform.system() == "Darwin" and tuple(map(int, platform.mac_ver()[0].split("."))) >= (10, 16) and diff --git a/examples/utils.py b/examples/utils.py index 225ce327..a7ac8bd6 100644 --- a/examples/utils.py +++ b/examples/utils.py @@ -108,7 +108,6 @@ others = dict([ ('DateAxisItem_QtDesigner', 'DateAxisItem_QtDesigner.py'), ('GraphicsScene', 'GraphicsScene.py'), ('MouseSelection', 'MouseSelection.py'), - ('ProgressDialog', 'ProgressDialog.py'), ]) @@ -118,3 +117,8 @@ trivial = dict([ ('LogPlotTest', 'LogPlotTest.py'), # Plotting.py ('ViewLimits', 'ViewLimits.py'), # ViewBoxFeatures.py ]) + +# examples that are not suitable for CI testing +skiptest = dict([ + ('ProgressDialog', 'ProgressDialog.py'), # modal dialog +])