summaryrefslogtreecommitdiff
path: root/dev-python/pyperclip/files
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 16:24:49 -0500
commita3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch)
tree0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/pyperclip/files
parentbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff)
downloadbaldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz
baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip
Adding metadata
Diffstat (limited to 'dev-python/pyperclip/files')
-rw-r--r--dev-python/pyperclip/files/pyperclip-1.9.0-fix-test.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-python/pyperclip/files/pyperclip-1.9.0-fix-test.patch b/dev-python/pyperclip/files/pyperclip-1.9.0-fix-test.patch
deleted file mode 100644
index a7b2b653485b..000000000000
--- a/dev-python/pyperclip/files/pyperclip-1.9.0-fix-test.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-Fix the tests for the 1.9.0 release.
-See https://github.com/asweigart/pyperclip/issues/263
-From: kulikjak <kulikjak@gmail.com>
-
---- a/tests/test_pyperclip.py
-+++ b/tests/test_pyperclip.py
-@@ -8,7 +8,7 @@
- #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,
-@@ -99,12 +99,11 @@ def test_non_str(self):
- self.copy(False)
- self.assertEqual(self.paste(), 'False')
-
-- # All other non-str values raise an exception.
-- with self.assertRaises(PyperclipException):
-- self.copy(None)
-+ self.copy(None)
-+ self.assertEqual(self.paste(), 'None')
-
-- with self.assertRaises(PyperclipException):
-- self.copy([2, 4, 6, 8])
-+ self.copy([2, 4, 6, 8])
-+ self.assertEqual(self.paste(), '[2, 4, 6, 8]')
-
-
- class TestCygwin(_TestClipboard):
-@@ -135,7 +134,7 @@ class TestOSX(_TestClipboard):
-
-
- class TestQt(_TestClipboard):
-- if HAS_DISPLAY:
-+ if os.getenv("DISPLAY"):
- try:
- import PyQt5.QtWidgets
- except ImportError: