Skip to content

Added test#3

Merged
nik012003 merged 3 commits intonik012003:mainfrom
radarhere:grabclipboard
Feb 2, 2024
Merged

Added test#3
nik012003 merged 3 commits intonik012003:mainfrom
radarhere:grabclipboard

Conversation

@radarhere
Copy link
Copy Markdown

Suggestions for python-pillow#7745

Adds a test for ImageGrab.grabclipboard() after wl-copy --clear and wl-copy text (as a dummy piece of text)

In doing so, I found two more possible errors - https://sources.debian.org/src/wl-clipboard/2.1.0-0.1/src/wl-paste.c/#L187 and https://sources.debian.org/src/wl-clipboard/2.1.0-0.1/src/wl-paste.c/#L205

I also realised that I'd written the condition to check the error the wrong way around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants