From: Christian Hopps Date: Fri, 14 Apr 2023 19:13:04 +0000 (-0400) Subject: tests: fix warning, incorrect use of `is`. X-Git-Tag: base_9.0~172^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7c5d70611a625ecf265cf5b84fadfcffd0067403;p=matthieu%2Ffrr.git tests: fix warning, incorrect use of `is`. Remove the never-executed code. Signed-off-by: Christian Hopps --- diff --git a/tests/topotests/bgp_unique_rid/test_bgp_unique_rid.py b/tests/topotests/bgp_unique_rid/test_bgp_unique_rid.py index 47b2452b81..f89f3378fb 100644 --- a/tests/topotests/bgp_unique_rid/test_bgp_unique_rid.py +++ b/tests/topotests/bgp_unique_rid/test_bgp_unique_rid.py @@ -847,8 +847,6 @@ def test_bgp_unique_rid_chaos4_p2(): for intf in topo["routers"][rtr]["links"].keys(): topo1["routers"][rtr]["links"][intf].pop("ipv4") topo1["routers"][rtr]["links"][intf].pop("ipv6") - if intf is "lo": - topo1["routers"][rtr]["links"][intf].pop("ipv4") build_config_from_json(tgen, topo1, save_bkup=False)