projektAI/venv/Lib/site-packages/pygame/tests/scrap_tags.py

22 lines
414 B
Python
Raw Normal View History

2021-06-06 22:13:05 +02:00
# For now the scrap module has not been updated for SDL 2
__tags__ = ["SDL2_ignore"]
import sys
exclude = False
if sys.platform == "win32" or sys.platform.startswith("linux"):
try:
import pygame
pygame.scrap._NOT_IMPLEMENTED_
except AttributeError:
pass
else:
exclude = True
else:
exclude = True
if exclude:
__tags__.extend(["ignore", "subprocess_ignore"])