This was added in commit 069752b72613b772a9536a3e7f15fa75097f2946, presumably at a time when the functional tests wouldn’t capture stderr.
Now that all tests capture and print stderr on failure, it can be removed. Reference:
- Unit tests capture via
2>&1
:
- Functional tests capture as well: