Skip test_opengl_vendor without QtOpenGL
The test fails on Ubuntu Xenial because QtOpenGL is not installed. This isn't a problem with real-life usage though, as we only call it with QtWebEngine, and that ensures that QtOpenGL is available.
This commit is contained in:
parent
4cec9adce6
commit
eac284d880
@ -924,4 +924,5 @@ def test_version_output(git_commit, frozen, style, with_webkit,
|
||||
reason="Needs Qt >= 5.4.")
|
||||
def test_opengl_vendor():
|
||||
"""Simply call version.opengl_vendor() and see if it doesn't crash."""
|
||||
pytest.importorskip("PyQt5.QtOpenGL")
|
||||
return version.opengl_vendor()
|
||||
|
Loading…
Reference in New Issue
Block a user