From a5ab200b9ff7e19af7a018bc3c28843c18653a3c Mon Sep 17 00:00:00 2001 From: holger krekel Date: Tue, 28 Apr 2009 22:48:22 +0200 Subject: [PATCH] fixing compat test for 2.6 --HG-- branch : trunk --- py/builtin/testing/test_exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/builtin/testing/test_exception.py b/py/builtin/testing/test_exception.py index c02f1acce..9388c4648 100644 --- a/py/builtin/testing/test_exception.py +++ b/py/builtin/testing/test_exception.py @@ -15,4 +15,4 @@ def test_BaseException(): def test_GeneratorExit(): assert py.builtin.GeneratorExit.__module__ == 'exceptions' - assert issubclass(py.builtin.GeneratorExit, Exception) + assert issubclass(py.builtin.GeneratorExit, py.builtin.BaseException)