def _run_cmd(self, cmd, args=[], allow_fail=True, cwd=None):
        cwd = cwd or self.package_dir
        result = _run_cmd([cmd] + list(args), cwd=cwd)
        if result[2] and not allow_fail:
            raise Exception("Command failed retcode=%s" % result[2])
        return result
Create a new scope mapping and push it onto the stack.
dataset/ETHPy150Open blue-yonder/pyscaffold/pyscaffold/contrib/pbr/pbr/tests/base.py/BaseTestCase._run_cmd--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/compiler_nodes.py/new_scope