We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c04da3 commit 800f8bfCopy full SHA for 800f8bf
cuda_bindings/tests/test_graphics_apis.py
@@ -11,7 +11,7 @@ def test_graphics_api_smoketest():
11
import pyglet
12
13
tex = pyglet.image.Texture.create(512, 512)
14
- except ImportError:
+ except (ImportError, AttributeError):
15
pytest.skip("pyglet not available or could not create GL context")
16
# return to make linters happy
17
return
0 commit comments