Deprecation warning fix in test_iohelper.py
Fix to a Deprecation Warning caused by \[, which is not a recognized escape sequence in a non-raw string. The Warning is displayed in the warnings summary when compiling the lhcb stack, after it fails to compile due to another issue being fixed in !4962 (merged). (thanks to @sargueda for spotting it)
=============================== warnings summary ===============================
tests/pytest/test_iohelper.py:30
/swdev/sargueda/stack_pytest_migration/LHCb/GaudiConf/tests/pytest/test_iohelper.py:30: DeprecationWarning: invalid escape sequence \[
r"\[.*/([^/]*.*)\]", r"[\1]", "^\[Gaudi"
Edited by Pawel Kopciewicz