Browse Source

tests: don't assert if pipe cannot create physical windows

rdb 7 years ago
parent
commit
bfff7e1000
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tests/display/conftest.py

+ 3 - 1
tests/display/conftest.py

@@ -41,7 +41,9 @@ def window(graphics_pipe, graphics_engine):
     )
     graphics_engine.open_windows()
 
-    assert win is not None
+    if win is None:
+        pytest.skip("GraphicsPipe cannot make windows")
+
     yield win
 
     if win is not None: