Skip to content

Commit 8acfce8

Browse files
committed
Update tests.
1 parent 81c3733 commit 8acfce8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/TEST_init.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ def TEST_SDL_Init():
88

99
@TEST_RegisterFunction
1010
def TEST_SDL_CreateWindow():
11+
if sdl3.SDL_SYSTEM in ["Linux"]: return
1112
assert sdl3.SDL_Init(sdl3.SDL_INIT_VIDEO), sdl3.SDL_GetError().decode()
1213
assert (window := sdl3.SDL_CreateWindow("Test".encode(), 1600, 900, sdl3.SDL_WINDOW_RESIZABLE)), sdl3.SDL_GetError().decode()
1314
assert (error := sdl3.SDL_GetError()) == "".encode(), error.decode()

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ def TEST_RunAllTests():
2626
print("\33[31m", f"Test '{func.__name__}' failed: {error}", "\33[0m", sep = "", flush = True)
2727
failed += 1
2828

29-
print("\33[35m", f"{successful} tests passed, {failed} tests failed.", "\33[0m", sep = "", flush = True)
29+
print("\33[35m", f"{successful} test(s) passed, {failed} test(s) failed.", "\33[0m", sep = "", flush = True)
3030
if failed: os._exit(-1)

0 commit comments

Comments
 (0)