

def basic_levels_test(self):
    deps = DepsGraph()
    deps.add_node(1)
    deps.add_node(2)
    deps.add_node(3)
    deps.add_edge(1, 2)
    deps.add_edge(2, 3)
    self.assertEqual([[3], [2], [1]], self.by_levels())

dataset/ETHPy150Open conan-io/conan/conans/test/deps_graph_test.py DepsGraphTest.basic_levels_test/VarMisuse@73/85 `deps`->`self`