[pypy-svn] r20883 - pypy/dist/pypy/rpython/test

cfbolz at codespeak.net cfbolz at codespeak.net
Thu Dec 8 12:28:13 CET 2005


Author: cfbolz
Date: Thu Dec  8 12:28:12 2005
New Revision: 20883

Modified:
   pypy/dist/pypy/rpython/test/test_llinterp.py
Log:
remove this very very very old __main__. it's broken. it sucks. nobody should
use it.


Modified: pypy/dist/pypy/rpython/test/test_llinterp.py
==============================================================================
--- pypy/dist/pypy/rpython/test/test_llinterp.py	(original)
+++ pypy/dist/pypy/rpython/test/test_llinterp.py	Thu Dec  8 12:28:12 2005
@@ -418,22 +418,3 @@
     except ValueError:
         raise TypeError
 
-#__________________________________________________________________
-# interactive playing
-
-if __name__ == '__main__':
-    try:
-        import rlcompleter2 as _rl2
-        _rl2.setup()
-    except ImportError:
-        pass
-
-    t, typer = gengraph(number_ops, [int])
-    interp = LLInterpreter(t.flowgraphs, typer)
-    res = interp.eval_function(number_ops, [3])
-    assert res == number_ops(3)
-    for name, value in globals().items():
-        if name not in _snap and name[0] != '_':
-            print "%20s: %s" %(name, value)
-
-



More information about the Pypy-commit mailing list