[py-dev] SyntaxWarning: assertion is always true
holger krekel
holger at merlinux.eu
Wed Aug 13 18:23:20 CEST 2008
On Wed, Aug 13, 2008 at 18:06 +0200, Ralf Schmitt wrote:
> minor issue, but you probably want to fix it:
>
> /home/ralf/py26/lib/python2.6/site-packages/py-0.9.2_pre_alpha-py2.6-linux-x86_64.egg/py/apigen/linker.py:33:
> SyntaxWarning: assertion is always true, perhaps remove parentheses?
> assert (linkid not in self._linkid2target,
fixed, i shifted the left parenthesis to after the comma.
holger
More information about the Pytest-dev
mailing list