From 0994c45ede9218aad9d695164ab375d9f372d464 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Mon, 21 Nov 2005 20:34:43 +0000 Subject: [PATCH] add another case git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7858 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/python/director_nested_runme.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Examples/test-suite/python/director_nested_runme.py b/Examples/test-suite/python/director_nested_runme.py index 47505f629..8bc74ad7a 100644 --- a/Examples/test-suite/python/director_nested_runme.py +++ b/Examples/test-suite/python/director_nested_runme.py @@ -53,9 +53,11 @@ class C(FooBar_int): pass cc = C() - c = C.get_self(cc) c.advance() + if c.get_name() != "FooBar::get_name hello": raise RuntimeError +if c.name() != "FooBar::get_name hello": + raise RuntimeError