Comment 2 for bug 299099

Revision history for this message
Stein Magnus Jodal (jodal) wrote :

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
    >>>