Skip to content

Commit bfff7e1

Browse files
committed
tests: don't assert if pipe cannot create physical windows
1 parent 15f6ed1 commit bfff7e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/display/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def window(graphics_pipe, graphics_engine):
4141
)
4242
graphics_engine.open_windows()
4343

44-
assert win is not None
44+
if win is None:
45+
pytest.skip("GraphicsPipe cannot make windows")
46+
4547
yield win
4648

4749
if win is not None:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy