]> git.puffer.fish Git - matthieu/frr.git/commit
tests: Fix `Invalid escape sequence` warnings in test runs
authorDonald Sharp <sharpd@nvidia.com>
Wed, 13 Oct 2021 13:03:27 +0000 (09:03 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 13 Oct 2021 13:03:27 +0000 (09:03 -0400)
commit48f05b233fbc95f3601dfde9335073070b3c1c76
tree84fc2d702e8ab6208cbcf7d386e6fd9c710d8496
parentd7374bd3b1be5edfc20534ae5a301a0160c017bf
tests: Fix `Invalid escape sequence` warnings in test runs

Test runs are creating these warnings:
bgp_l3vpn_to_bgp_vrf/test_bgp_l3vpn_to_bgp_vrf.py::test_check_linux_mpls
  <string>:7: DeprecationWarning: invalid escape sequence \d

bgp_l3vpn_to_bgp_vrf/test_bgp_l3vpn_to_bgp_vrf.py::test_check_linux_mpls
  <string>:19: DeprecationWarning: invalid escape sequence \d

bgp_l3vpn_to_bgp_vrf/test_bgp_l3vpn_to_bgp_vrf.py::test_check_scale_up
  <string>:24: DeprecationWarning: invalid escape sequence \d

bgp_l3vpn_to_bgp_vrf/test_bgp_l3vpn_to_bgp_vrf.py::test_check_scale_up
  <string>:191: DeprecationWarning: invalid escape sequence \d

-- Docs: https://docs.pytest.org/en/stable/warnings.html

Find and destroy these warnings

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/check_linux_mpls.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_up.py
tests/topotests/lib/ltemplate.py