Skip to content
Snippets Groups Projects

Deprecation warning fix in test_iohelper.py

Merged Pawel Kopciewicz requested to merge pytest-migration into master
All threads resolved!

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

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading