-
-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TST: add basic clipboard test #4282
Conversation
bet |
Yep. It's raising exception now. I'm going to convert to oserror. |
can you just install those? I think the exception is correct (its telling you that you don't have the deps installed) |
I yep u will. Sorry I meant for just one build to make sure they skip properly |
Sorry I mean I will. Android completion.. |
Don't think he can unless he is a collab on ur repo. |
ahhh...so best that I pull down his branch and cherry-pick to mine? |
He could submit a pr to your branch |
have you tried that? does it work? |
Haven't tried the pr thing... But the cherry pick should work. I'm on my phone so I can't try just yet |
he did a PR and I was able to merge that commit in...nice and clean! I guess that's how its suppposed to work...:) |
excellent! |
@jreback if xselExists:
getcb = xselGetClipboard
setcb = xselSetClipboard
try:
import gtk
getcb = gtkGetClipboard
setcb = gtkSetClipboard
except:
try:
import PyQt4.QtCore
import PyQt4.QtGui
app = PyQt4.QtGui.QApplication([])
cb = PyQt4.QtGui.QApplication.clipboard()
getcb = qtGetClipboard
setcb = qtSetClipboard
except:
raise NoClipboardProgramError('Pyperclip requires the gtk or'
' PyQt4 module installed, or '
'the xclip command.') |
it was copied from pyperclip directly |
amazing complicated to test this! |
no kidding, i feel like i'm shooting in the dark too. i don't like fixing things "randomly" either. |
there's hope yet! http://about.travis-ci.org/docs/user/gui-and-headless-browsers/ |
xclip is working yay |
awesome! |
looks like xsel is working too, i'm anxiously watching travis builds 😨 |
darn fail on python3.3 😑 but that's because i'm using too high of precision for floating-point comparisons
should also test the so
of course we have no mac or windows testing...so i guess rely on users to tell us if something broken... |
@jreback is this a bug?
|
I think this read as text like a csv file |
so not a bug |
@jreback what's the story with merging? can small bug fixes and such be merged? |
merge away |
@y-p I would like your seal of approval here before merging, if you get a chance. Thanks, much appreciated. One thing to note is that to add env vars to the 2.6 row of the build matrix i have to add it explicitly using |
I floated the python: vs build-matrix issue on the travis-ci issue tracker a few months ago, I don't see any problems in the diff, if travis is green - go for it. |
@y-p ok, thanks for the input. |
one thing, I'm not sure what pyperclip accepts, but there's a good chance that pyside should |
i have pyside installed i'll check it out |
works with pyside==1.2.0 |
Also add support for PySide
No description provided.