def test_fail_non_euler_b(self):
        p = planning.Euler()
        g = build_graph('ab ba de ed')
        p.forced_plan = lambda *al: None
        try:
            p(g, EhmNo(), 'a', '<context>')
        except __HOLE__ as e:
            self.assertEqual(e.args, ("Graph is not connected",))
        else:
            self.assert_(False, "Expected exception")
dataset/ETHPy150Open spotify/python-graphwalker/graphwalker/test/planning_test.py/TestEuler.test_fail_non_euler_b