File: scrap_tags.py

package info (click to toggle)
pygame 2.1.2%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 32,416 kB
  • sloc: ansic: 66,042; python: 46,176; javascript: 9,214; objc: 273; sh: 78; makefile: 56; cpp: 25
file content (26 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (4)
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"])