def METHOD_NAME(self):
    self.run_test("""
    def dict_update_missingitem(a):
        try:
            a['g'] += 1
            return 1
        except KeyError:
            return 2""",
                 {'e':1, 'f':2}, dict_update_missingitem=[Dict[str, int]])