(I Cc'ed the list again, as others might be able to help as well)
* Ahirnish Pareek firstname.lastname@example.org [2016-04-20 16:20:42 +0530]:
I tried your suggestion by installing and running tests with tox but I ran into some errors. Would you mind giving me pointers to fix them?
- ERROR: InvocationError:
'/Users/ahirnish/pylint_patch/pylint/.tox/py27/bin/python -Wi -m unittest discover -s /Users/ahirnish/pylint_patch/pylint/.tox/py27/lib/python2.7/site-packages/pylint/test/ -p *test_*.py'
Not able to figure out what InvocationError means?
It simply means the things you asked tox to run did fail (i.e. exit with a nonzero status). The output above that should tell you why that happened.
- During running of /test/test_func.py, I got this -
File "/Users/ahirnish/pylint_patch/pylint/.tox/py27/lib/python2.7/site-packages/pylint/test/test_func.py", line 33, in <module> INPUT_DIR = join(dirname(abspath(__file__)), 'input') NameError: name 'join' is not defined
After grepping for 'join', I found that its defined in astroid folder. Do i need to run tox in asteroid folder too? Is there anything extra I need to do install/setup from asteroid folder in order to run tox in pylint successfuly?
I'm not sure how you came to that conclusion - the file simply does "from os.path import join":
So if you didn't accidentally remove that import line somehow, I can't imagine how this would happen.