------------------------------------------------------------
revno: 2513
committer: Václav Šmilauer <[email protected]>
branch nick: trunk
timestamp: Tue 2010-10-26 16:29:01 +0200
message:
  1. Update the dispatch-torture script.
modified:
  scripts/test/dispatcher-torture.py


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to 
https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription
=== modified file 'scripts/test/dispatcher-torture.py'
--- scripts/test/dispatcher-torture.py	2010-10-16 18:31:17 +0000
+++ scripts/test/dispatcher-torture.py	2010-10-26 14:29:01 +0000
@@ -17,7 +17,7 @@
 	Dispatch('Law',('IGeom','IPhys')),
 	Dispatch('IGeom',('Shape','Shape')),
 	Dispatch('IPhys',('Material','Material')),
-	Dispatch('Bound',('Shape','Bound')),
+	Dispatch('Bound',('Shape',)),
 	Dispatch('GlBound',('Bound',)),
 	Dispatch('GlIGeom',('IGeom',)),
 	Dispatch('GlIPhys',('IPhys',)),
@@ -55,7 +55,7 @@
 				dd0,dd1=eval(d0+'()'),eval(d1+'()')
 				try:
 					f=dispatcher.dispFunctor(dd0,dd1)
-					row.append(f.name if f else '-')
+					row.append(f.__class__.__name__ if f else '-')
 				except RuntimeError: # ambiguous
 					row.append('<b>ambiguous</b>')
 			table.rows.append(row)

_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to