add Big Sur conditional examples from utils.py
This commit is contained in:
parent
1184e3fcce
commit
0afd8adcd8
@ -1,6 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Demonstrate use of GLLinePlotItem to draw cross-sections of a surface.
|
||||
This example demonstrates the use of GLBarGraphItem.
|
||||
|
||||
"""
|
||||
## Add path to library (just for examples; you do not need this)
|
||||
|
@ -70,51 +70,15 @@ conditionalExamples = {
|
||||
False,
|
||||
reason="Test is being problematic on CI machines"
|
||||
),
|
||||
'GLVolumeItem.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLIsosurface.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLSurfacePlot.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLScatterPlotItem.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLshaders.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLTextItem.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLLinePlotItem.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLMeshItem.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLImageItem.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLBarGraphItem.py': exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
),
|
||||
'GLViewWidget.py': exceptionCondition(
|
||||
}
|
||||
|
||||
openglExamples = ['GLViewWidget.py']
|
||||
openglExamples.extend(utils.examples_['3D Graphics'].values())
|
||||
for key in openglExamples:
|
||||
conditionalExamples[key] = exceptionCondition(
|
||||
not darwin_opengl_broken,
|
||||
reason=darwin_opengl_reason
|
||||
)
|
||||
}
|
||||
|
||||
@pytest.mark.skipif(
|
||||
Qt.QT_LIB == "PySide2"
|
||||
|
@ -74,6 +74,7 @@ examples_ = OrderedDict([
|
||||
('Mesh', 'GLMeshItem.py'),
|
||||
('Image', 'GLImageItem.py'),
|
||||
('Text', 'GLTextItem.py'),
|
||||
('BarGraph', 'GLBarGraphItem.py'),
|
||||
('Painter', 'GLPainterItem.py'),
|
||||
])),
|
||||
('Widgets', OrderedDict([
|
||||
@ -106,7 +107,6 @@ others = dict([
|
||||
('ScaleBar', 'ScaleBar.py'),
|
||||
('ViewBox', 'ViewBox.py'),
|
||||
('GradientEditor', 'GradientEditor.py'),
|
||||
('GLBarGraphItem', 'GLBarGraphItem.py'),
|
||||
('GLViewWidget', 'GLViewWidget.py'),
|
||||
('DiffTreeWidget', 'DiffTreeWidget.py'),
|
||||
('MultiPlotWidget', 'MultiPlotWidget.py'),
|
||||
|
Loading…
Reference in New Issue
Block a user