[pypy-svn] r70733 - pypy/branch/separate-compilation/pypy/translator/c/test

afa at codespeak.net afa at codespeak.net
Wed Jan 20 19:31:05 CET 2010


Author: afa
Date: Wed Jan 20 19:31:04 2010
New Revision: 70733

Modified:
   pypy/branch/separate-compilation/pypy/translator/c/test/test_separate.py
Log:
Put class handling code in its own class.


Modified: pypy/branch/separate-compilation/pypy/translator/c/test/test_separate.py
==============================================================================
--- pypy/branch/separate-compilation/pypy/translator/c/test/test_separate.py	(original)
+++ pypy/branch/separate-compilation/pypy/translator/c/test/test_separate.py	Wed Jan 20 19:31:04 2010
@@ -48,7 +48,7 @@
         table = separate.ExportTable()
         for name, obj in exports.items():
             if isinstance(obj, (type, types.ClassType)):
-                table.exported_class[name] = obj
+                table.exported_class[name] = separate.ClassInfo(name, obj)
             else:
                 table.exported_function[name] = obj
         table.annotate_exported_functions(t.annotator)



More information about the Pypy-commit mailing list