As this was not fixed before the release of Jaunty where the default Python is 2.6.2, pmock is now not working at all.
$ python >>> import pmock Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/var/lib/python-support/python2.6/pmock.py", line 313 def with(self, *arg_constraints, **kwarg_constraints): ^ SyntaxError: invalid syntax >>>
As this was not fixed before the release of Jaunty where the default Python is 2.6.2, pmock is now not working at all.
$ python python- support/ python2. 6/pmock. py", line 313 constraints) :
>>> import pmock
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/var/lib/
def with(self, *arg_constraints, **kwarg_
^
SyntaxError: invalid syntax
>>>