def METHOD_NAME(self):
    with self.assertRaises(TypeError):
        go.Figure(
            data=[{"type": "bar"}],
            layout={"title": "Figure title"},
            frames=[
                {"data": [{"type": "bar"}], "layout": {"title": "Figure title"}}
            ],
            bogus=123,
        )