pylint #76910 pip install errors/warnings [validation pending]

I get these errors in console when I install pylint on python 2.7 with pip.
Installation succeeds though.
It looks like these are test cases and the they are designed to through errors and warnings, in which case could these be wrapped in setup.py not to spew the text on the console?

SyntaxError: ('unknown encoding: IBO-8859-1', ('/usr/lib64/python2.7/site-packages/pylint/test/input/func_unknown_encoding.py', 0, 0, None))

SyntaxError: ("'return' with argument inside generator",)

SyntaxError: ("default 'except:' must be last", ('/usr/lib64/python2.7/site-packages/pylint/test/input/func_w0705.py', 28, None, '__revision__ += 1\n'))

SyntaxError: ('invalid syntax', ('/usr/lib64/python2.7/site-packages/pylint/test/input/func_syntax_error.py', 1, 9, 'def toto\n'))

/usr/lib64/python2.7/site-packages/pylint/test/input/func_assert_2uple.py:4: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (1 == 1, 2 == 2), "no error"
/usr/lib64/python2.7/site-packages/pylint/test/input/func_assert_2uple.py:5: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (1 == 1, 2 == 2) #this should generate a warning
/usr/lib64/python2.7/site-packages/pylint/test/input/func_assert_2uple.py:7: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (1 == 1, ), "no error"
/usr/lib64/python2.7/site-packages/pylint/test/input/func_assert_2uple.py:8: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (1 == 1, )
/usr/lib64/python2.7/site-packages/pylint/test/input/func_assert_2uple.py:9: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (1 == 1, 2 == 2, 3 == 5), "no error"
/usr/lib64/python2.7/site-packages/pylint/test/input/func_assert_2uple.py:11: SyntaxWarning: assertion is always true, perhaps remove parentheses?
assert (True,'error msg') #this should generate a warning
SyntaxError: ("'continue' not properly in loop", ('/usr/lib64/python2.7/site-packages/pylint/test/input/func_continue_not_in_loop.py', 8, None, 'continue\n'))

SyntaxError: ("'return' outside function", ('/usr/lib64/python2.7/site-packages/pylint/test/input/func_return_outside_func.py', 3, None, 'return\n'))

Sorry: IndentationError: ('expected an indented block', ('/usr/lib64/python2.7/site-packages/pylint/test/input/syntax_error.py', 2, 5, "print 'hop'\n"))
SyntaxError: ("'yield' outside function", ('/usr/lib64/python2.7/site-packages/pylint/test/input/func_yield_outside_func.py', 3, None, 'yield 1\n'))

SyntaxError: ('keyword argument repeated', ('/usr/lib64/python2.7/site-packages/pylint/test/input/func_keyword_repeat.py', 8, None, 'function_default_arg(two=5, two=7)\n'))

SyntaxError: ('from __future__ imports must occur at the beginning of the file', ('/usr/lib64/python2.7/site-packages/pylint/test/input/func_3k_removed_stuff_py_30.py', 4, None, 'from __future__ import generators\n'))

priorityminor
typebug
done in0.26.0
load left0.000
closed by#55150181702e Do not include tests files for installation in setup.py. Clean setup.py for python3. Closes #72022. Closes #82417. Closes #76910.