Merge pull request #13311 from LabNConsulting/fix-python-warning

tests: fix warning, incorrect use of `is` use ==
This commit is contained in:
Donald Sharp 2023-04-14 20:21:25 -04:00 committed by GitHub
commit 5537b907e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)