Skip to content

Commit 1a51888

Browse files
committed
Fix skipping display tests with dummy driver
1 parent 425acc4 commit 1a51888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdl2/test/sdl2ext_displays_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
DRIVER_X11 = False
88
try:
99
sdl2.SDL_Init(sdl2.SDL_INIT_VIDEO)
10-
driver_name = video.SDL_GetCurrentVideoDriver()
10+
driver_name = sdl2.SDL_GetCurrentVideoDriver()
1111
sdl2.SDL_Quit()
1212
DRIVER_DUMMY = driver_name == b"dummy"
1313
DRIVER_X11 = driver_name == b"x11"

0 commit comments

Comments
 (0)