Open
Description
Bug description
The message counter is checked first before the output text, so we never have a chance to write the updated output file.
Need to flip these two statements:
pylint/pylint/testutils/lint_module_test.py
Lines 256 to 261 in 86e1943
so this has a chance to run:
pylint/pylint/testutils/functional/lint_module_output_update.py
Lines 27 to 32 in 86e1943
Configuration
No response
Command used
python tests/test_functional.py -k abstract --update-functional-output
Pylint output
Failure, depending on if you change the refs
Expected behavior
You can update the refs
Pylint version
pylint 3.3.0-dev0
astroid 3.2.2
Python 3.11.4 (main, Jul 20 2023, 22:46:38) [GCC 9.4.0]
OS / Environment
Ubuntu 20.04
Additional dependencies
No response