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