Repository navigation
Commit 4898bde
Fix test_graphics_api_smoketest on py3.10/3.11 Windows
On py3.10/3.11, pyglet raises FileNotFoundError (an OSError subclass)
when opengl32.dll is missing, rather than AttributeError as on py3.12+.
Add OSError to the except clause so the test skips gracefully.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent bd3e990 commit 4898bde
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments