On Thursday 07 October 2010 12:39:55 Daniel Harding wrote: > I did not add/update any tests because I don't know much about the > PyLint testing mechanism, but if someone can point me in the right > direction, I'm happy to make those changes too.
The testing mechanism is quite simple : add a file in pylint/test/input/my_test_file.py and the expected output in pylint/test/message/my_test_file.txt the pylint test does some sorting, but modulo that, you should just put the pylint output into it. If you want to test a file with no error, you only add a pylint/test/input/func_noerror_my_example.py I will integrate your patch :) -- Emile Anclin <[email protected]> http://www.logilab.fr/ http://www.logilab.org/ Informatique scientifique & et gestion de connaissances _______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
