[Bug 299099] Re: pmock.py:333: Warning: 'with' will become a reserved keyword in Python 2.6
Stein Magnus Jodal
stein.magnus at jodal.no
Thu May 28 17:33:29 UTC 2009
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
>>>
--
pmock.py:333: Warning: 'with' will become a reserved keyword in Python 2.6
https://bugs.launchpad.net/bugs/299099
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list