devtools/testlib.py
changeset 2187 00631850a69e
parent 2144 51c84d585456
child 2234 1fbcf202882d
--- a/devtools/testlib.py	Mon Jun 29 13:33:50 2009 +0200
+++ b/devtools/testlib.py	Mon Jun 29 13:57:31 2009 +0200
@@ -387,7 +387,7 @@
     vreg._selected = {}
     orig_select_best = vreg.__class__.select_best
     def instr_select_best(self, *args, **kwargs):
-        selected = orig_select(self, *args, **kwargs)
+        selected = orig_select_best(self, *args, **kwargs)
         try:
             self._selected[selected.__class__] += 1
         except KeyError: