def test_key_error(self):
        with Flask(__name__).test_request_context():
            assert_raises(KeyError, self.env.config.__getitem__, 'YADDAYADDA')
            # The get() helper, on the other hand, simply returns None
            assert self.env.config.get('YADDAYADDA') == None
Unless we are told otherwise, everything may have a side effect.
dataset/ETHPy150Open miracle2k/flask-assets/tests/test_config.py/TestConfigNoAppBound.test_key_error--crossover with--dataset/ETHPy150Open kayhayen/Nuitka/nuitka/nodes/NodeBases.py/NodeBase.mayHaveSideEffectsBool