[pypy-svn] r74842 - pypy/branch/blackhole-improvement/pypy/jit/metainterp/test

arigo at codespeak.net arigo at codespeak.net
Fri May 28 12:53:39 CEST 2010


Author: arigo
Date: Fri May 28 12:53:38 2010
New Revision: 74842

Modified:
   pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_history.py
Log:
Remove the test for this removed hack.


Modified: pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_history.py
==============================================================================
--- pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_history.py	(original)
+++ pypy/branch/blackhole-improvement/pypy/jit/metainterp/test/test_history.py	Fri May 28 12:53:38 2010
@@ -9,10 +9,3 @@
     s = lltype.cast_pointer(lltype.Ptr(S), t)
     const = ConstPtr(lltype.cast_opaque_ptr(llmemory.GCREF, s))
     assert const._getrepr_() == "*T"
-
-def test_slicing():
-    h = History()
-    h.operations = [1, 2, 3, 4, 5]
-    rest = h.slice_history_at(2)
-    assert rest == [4, 5]
-    assert h.operations == [1, 2]



More information about the Pypy-commit mailing list