[pypy-svn] r44089 - pypy/branch/prolog-bytecode/pypy/lang/prolog/interpreter/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Thu Jun 7 14:22:35 CEST 2007
Author: cfbolz
Date: Thu Jun 7 14:22:34 2007
New Revision: 44089
Modified:
pypy/branch/prolog-bytecode/pypy/lang/prolog/interpreter/test/test_builtin.py
Log:
looking closer at the ISO standard, my current behaviour is correct
Modified: pypy/branch/prolog-bytecode/pypy/lang/prolog/interpreter/test/test_builtin.py
==============================================================================
--- pypy/branch/prolog-bytecode/pypy/lang/prolog/interpreter/test/test_builtin.py (original)
+++ pypy/branch/prolog-bytecode/pypy/lang/prolog/interpreter/test/test_builtin.py Thu Jun 7 14:22:34 2007
@@ -196,13 +196,12 @@
assert_true("f(20).", e)
def test_call_cut():
- py.test.skip("cuts don't work properly in the presence of calls right now")
e = get_engine("""
f(X) :- call(X).
f(!).
""")
heaps = collect_all(e, "f(!).")
- assert len(heaps) == 1
+ assert len(heaps) == 2
def test_term_construction():
More information about the Pypy-commit
mailing list