File: scrap_tags.py

package info (click to toggle)
pygame 2.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 42,624 kB
  • sloc: ansic: 66,926; python: 48,742; javascript: 1,153; objc: 224; sh: 121; makefile: 59; cpp: 25
file content (26 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
__tags__ = ["ignore", "subprocess_ignore"]

# TODO: make scrap_test.py work
# This test used to work only on linux and windows.
# Currently it only work in windows, and in linux it throws:
# `pygame.error: content could not be placed in clipboard.`
# The old test and tags kept here for reference when fixing.

# 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"])