Fix lint
This commit is contained in:
parent
28f7444d9e
commit
4cec9adce6
@ -388,7 +388,8 @@ def opengl_vendor(): # pragma: no cover
|
|||||||
"""
|
"""
|
||||||
# We're doing those imports here because this is only available with Qt 5.4
|
# We're doing those imports here because this is only available with Qt 5.4
|
||||||
# or newer.
|
# or newer.
|
||||||
from PyQt5.QtGui import QOpenGLContext, QOpenGLVersionProfile, QOffscreenSurface
|
from PyQt5.QtGui import (QOpenGLContext, QOpenGLVersionProfile,
|
||||||
|
QOffscreenSurface)
|
||||||
assert QApplication.instance()
|
assert QApplication.instance()
|
||||||
assert QOpenGLContext.currentContext() is None
|
assert QOpenGLContext.currentContext() is None
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user