Tox, pytest and pyperclip - System doesn't find clipboard

2016-06-19 Thread Alexandre Paloschi Horta
Hi everyone. I'm having the following problem on an app I'm developing. I'm writing a software that uses the Pyperclip module. I'm using pytest for the tests. Everything worked well so far, as long as I run the tests via pytest. The thing is, I want to use Tox, and now things didn't work so wel

Re: variable argument unpacking

2016-06-01 Thread Alexandre Paloschi Horta
The way you defined the function: def a(a = 1, b = 2, c = 3, *d, **e): print(a, b, c) print(d) print(e) a, b and c are positional arguments. d will be filled with the excess arguments and e will receive a dictionary, if supplied. One thing is the function definition, ano