mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
tests: don't assert if pipe cannot create physical windows
This commit is contained in:
parent
15f6ed1ba2
commit
bfff7e1000
@ -41,7 +41,9 @@ def window(graphics_pipe, graphics_engine):
|
|||||||
)
|
)
|
||||||
graphics_engine.open_windows()
|
graphics_engine.open_windows()
|
||||||
|
|
||||||
assert win is not None
|
if win is None:
|
||||||
|
pytest.skip("GraphicsPipe cannot make windows")
|
||||||
|
|
||||||
yield win
|
yield win
|
||||||
|
|
||||||
if win is not None:
|
if win is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user