def build_and_walk(self, build_request):
    result = self.engine.execute(build_request)
    self.assertIsNone(result.error)
    return list(self.scheduler.product_graph.walk(build_request.roots))
Cleanup Polyglot environment
dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/engine/exp/test_scheduler.py/SchedulerTest.build_and_walk--crossover with--dataset/ETHPy150Open UniversalDevicesInc/Polyglot/polyglot/__main__.py/cleanup