def test_keyerrors(self):
        self.inlines.register('keyerror', KeyErrorInline)
        IN = "{{ keyerror fail! }}"
        self.assertRaises(KeyError, self.inlines.process, IN)
Utility method used by copy.deepcopy().
dataset/ETHPy150Open mintchaos/django_inlines/tests/core/tests/base.py/InlineTestCase.test_keyerrors--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/tree.py/Node.__deepcopy__