Skip to content

Commit 800f8bf

Browse files
committed
Fix Windows tests
1 parent 7c04da3 commit 800f8bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_bindings/tests/test_graphics_apis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def test_graphics_api_smoketest():
1111
import pyglet
1212

1313
tex = pyglet.image.Texture.create(512, 512)
14-
except ImportError:
14+
except (ImportError, AttributeError):
1515
pytest.skip("pyglet not available or could not create GL context")
1616
# return to make linters happy
1717
return

0 commit comments

Comments
 (0)