Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:FactoryCandidates
python-pyperclip
tests.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tests.patch of Package python-pyperclip
Index: pyperclip-1.9.0/tests/test_pyperclip.py =================================================================== --- pyperclip-1.9.0.orig/tests/test_pyperclip.py +++ pyperclip-1.9.0/tests/test_pyperclip.py @@ -8,7 +8,7 @@ import platform #import sys #sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) -from pyperclip import _executable_exists, HAS_DISPLAY +from pyperclip import _executable_exists from pyperclip import (init_osx_pbcopy_clipboard, init_osx_pyobjc_clipboard, init_dev_clipboard_clipboard, init_qt_clipboard, @@ -134,16 +134,6 @@ class TestOSX(_TestClipboard): clipboard = init_osx_pyobjc_clipboard() -class TestQt(_TestClipboard): - if HAS_DISPLAY: - try: - import PyQt5.QtWidgets - except ImportError: - pass - else: - clipboard = init_qt_clipboard() - - class TestXClip(_TestClipboard): if _executable_exists("xclip"): clipboard = init_xclip_clipboard()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor