[Python-projects] libastng installation problem
Maarten ter Huurne
maarten at treewalker.org
Fri Sep 12 10:51:05 CEST 2008
On Monday 25 August 2008, Tom Crawley wrote:
> File
> "/home/tcrawley/development/python/sandboxes/logilabtest/lib/python2.5/si
>te-packages/pylint-0.14.0-py2.5.egg/pylint/test/input/func_yield_outside_f
>unc.py", line 3 yield 1
> SyntaxError: 'yield' outside function
The pylint test cases contain bad code on purpose, to check if pylint can
spot and report for example a "yield" statement outside of a function.
The build should not try to compile the test cases: the test cases should be
treated as data, not code. The build should either be told not to
byte-compile the test cases dir, or the test cases dir should be excluded
from being copied to the directory being byte-compiled.
Bye,
Maarten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://lists.logilab.org/pipermail/python-projects/attachments/20080912/039b01c2/attachment.pgp
More information about the Python-Projects
mailing list