[python] remove unnecessary calls to dict.keys() (#4576)

This commit is contained in:
Simon Lin
2020-02-18 10:16:06 -08:00
committed by GitHub
parent ef0cabafb1
commit c8dff09d3a
3 changed files with 6 additions and 6 deletions
@@ -93,7 +93,7 @@ class TestRouteTable(unittest.TestCase):
for _node in self.nodes.values():
router_table = _node.router_table()
self.assertEqual(set(router_table.keys()), router_ids)
self.assertEqual(set(router_table), router_ids)
if __name__ == '__main__':