From 02c129df7a8cbb9a4e5bf5731d32cde3ebb12ddf Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 4 Feb 2010 16:13:30 +0100 Subject: [PATCH] fix a test --HG-- branch : trunk --- testing/test_funcargs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_funcargs.py b/testing/test_funcargs.py index f059a3a06..6468cbf56 100644 --- a/testing/test_funcargs.py +++ b/testing/test_funcargs.py @@ -160,7 +160,7 @@ class TestRequest: def test_func(something): pass """) req = funcargs.FuncargRequest(item) - py.test.raises(req.Error, req.getfuncargvalue, "notexists") + py.test.raises(req.LookupError, req.getfuncargvalue, "notexists") val = req.getfuncargvalue("something") assert val == 1 val = req.getfuncargvalue("something")