1 Star 0 Fork 0

张守信 / pygame_sdl2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
run_pygame_test.py 387 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/usr/bin/env python
"""
Wrapper script to use pygame_sdl2 to run tests from the pygame test suite.
"""
import pygame_sdl2, sys
pygame_sdl2.import_as_pygame()
if len(sys.argv) < 2:
print("usage: {} <path-to-script>".format(sys.argv[0]))
sys.exit(1)
import sys
sys.argv = sys.argv[1:]
__file__ = sys.argv[0]
code = compile(open(__file__).read(), __file__, 'exec')
exec(code)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zsxgitee/pygame_sdl2.git
git@gitee.com:zsxgitee/pygame_sdl2.git
zsxgitee
pygame_sdl2
pygame_sdl2
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891