[pypy-svn] r5974 - pypy/trunk/src/pypy/translator

arigo at codespeak.net arigo at codespeak.net
Sun Aug 15 23:35:00 CEST 2004


Author: arigo
Date: Sun Aug 15 23:35:00 2004
New Revision: 5974

Modified:
   pypy/trunk/src/pypy/translator/annrpython.py
Log:
Always run the test suite before checking in.


Modified: pypy/trunk/src/pypy/translator/annrpython.py
==============================================================================
--- pypy/trunk/src/pypy/translator/annrpython.py	(original)
+++ pypy/trunk/src/pypy/translator/annrpython.py	Sun Aug 15 23:35:00 2004
@@ -93,7 +93,7 @@
 
     def addpendingblock(self, fn, block, cells):
         """Register an entry point into block with the given input cells."""
-        assert fn in self.translator.flowgraphs
+        assert self.translator is None or fn in self.translator.flowgraphs
         for a in cells:
             assert isinstance(a, annmodel.SomeObject)
         self.pendingblocks.append((fn, block, cells))



More information about the Pypy-commit mailing list