tests: skip display tests if pipe cannot create offscreen buffers
This commit is contained in:
parent
c08339e8ce
commit
d8bf9d4b55
|
|
@ -68,7 +68,9 @@ def gsg(graphics_pipe, graphics_engine):
|
|||
)
|
||||
graphics_engine.open_windows()
|
||||
|
||||
assert buffer is not None
|
||||
if buffer is None:
|
||||
pytest.skip("GraphicsPipe cannot make offscreen buffers")
|
||||
|
||||
yield buffer.gsg
|
||||
|
||||
if buffer is not None:
|
||||
|
|
|
|||
Loading…
Reference in New Issue