

def make_env(self, exclude=None):
    env = {key: value for (key, value) in FAKE_ENV.items() if (key != exclude)}
    self.useFixture(fixtures.MonkeyPatch('os.environ', env))

dataset/ETHPy150Open ueg1990/imgur-cli/tests/test_cli.py TestImgurCli.make_env/original