From: <rom...@us...> - 2006-05-14 07:44:46
|
Revision: 82 Author: roman_yakovenko Date: 2006-05-14 00:44:40 -0700 (Sun, 14 May 2006) ViewCVS: http://svn.sourceforge.net/pygccxml/?rev=82&view=rev Log Message: ----------- fixing test failure, caused by switching to demangled class name Modified Paths: -------------- pyplusplus_dev/unittests/operators_tester.py Modified: pyplusplus_dev/unittests/operators_tester.py =================================================================== --- pyplusplus_dev/unittests/operators_tester.py 2006-05-14 07:38:37 UTC (rev 81) +++ pyplusplus_dev/unittests/operators_tester.py 2006-05-14 07:44:40 UTC (rev 82) @@ -20,15 +20,15 @@ def customize( self, mb ): mb.global_ns.exclude() - - rational = mb.class_('rational<long int>') + + rational = mb.class_('rational<long>') rational.include() rational.alias = "pyrational" r_assign = rational.calldef( 'assign', recursive=False ) r_assign.call_policies = call_policies.return_self() - foperators = mb.free_operators( lambda decl: 'rational<long int>' in decl.decl_string ) + foperators = mb.free_operators( lambda decl: 'rational<long>' in decl.decl_string ) foperators.include() bad_rational = mb.class_('bad_rational' ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |