Index: pyyaml/trunk/tests/test_constructor.py
===================================================================
--- pyyaml/trunk/tests/test_constructor.py	(revision 173)
+++ pyyaml/trunk/tests/test_constructor.py	(revision 222)
@@ -240,4 +240,8 @@
     def __eq__(self, other):
         return type(self) is type(other) and dict(self) == dict(other)
+
+def execute(code):
+    exec code
+    return value
 
 class TestConstructorTypes(test_appliance.TestAppliance):
