False negative for relative-beyond-top-level
because pylint does not add warning on node properly
#4852
Labels
relative-beyond-top-level
because pylint does not add warning on node properly
#4852
Bug description
In #4848 when fixing the crash for #4775 it seems that the right message is not raised here
It's strange because the message should be raised (add_message is launched), but the node is probably not correct enough to be raised upon.
Using the following changes in pylint's code:
Command used
python3 -m pytest . -k aliasing
Pylint output
Expected behavior
relative-beyond-top-level
is raised.Pylint version
The text was updated successfully, but these errors were encountered: