1 https://github.com/asweigart/pyperclip/issues/263
3 --- pyperclip-1.9.0/tests/test_pyperclip.py.orig
4 +++ pyperclip-1.9.0/tests/test_pyperclip.py
7 #sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
9 -from pyperclip import _executable_exists, HAS_DISPLAY
10 +from pyperclip import _executable_exists
11 from pyperclip import (init_osx_pbcopy_clipboard, init_osx_pyobjc_clipboard,
12 init_dev_clipboard_clipboard,
15 clipboard = init_osx_pyobjc_clipboard()
18 -class TestQt(_TestClipboard):
21 - import PyQt5.QtWidgets
25 - clipboard = init_qt_clipboard()
28 class TestXClip(_TestClipboard):
29 if _executable_exists("xclip"):
30 clipboard = init_xclip_clipboard()