def test_bad_unpack(self):
        try:
            session = ss.Session(unpack=_bad_unpacker)
        except __HOLE__ as e:
            self.assertIn("could not handle output", str(e))
            self.assertIn("don't work either", str(e))
        else:
            self.fail("Should have raised ValueError")
dataset/ETHPy150Open jupyter/jupyter_client/jupyter_client/tests/test_session.py/TestSession.test_bad_unpack