Commits

Rene Bartelmus  committed 310f22a

Reverted changes for tracing (wrong branch)

  • Participants
  • Parent commits e7818bc
  • Branches new

Comments (0)

Files changed (3)

File prolog/builtin/__init__.py

 import prolog.builtin.streams
 import prolog.builtin.term_variables
 import prolog.builtin.attvars
-import prolog.builtin.tracing

File prolog/builtin/tracing.py

-from prolog.builtin.register import expose_builtin
-from prolog.interpreter import continuation
-
-@expose_builtin("trace", unwrap_spec=[])
-def impl_trace(engine, heap):
-    pass
-
-@expose_builtin("notrace", unwrap_spec=[])
-def impl_notrace(engine, heap):
-    pass

File prolog/interpreter/test/test_tracing.py

-import py
-from prolog.interpreter.test.tool import prolog_raises, \
-assert_true, assert_false
-from prolog.interpreter.parsing import get_engine
-from prolog.interpreter.continuation import Engine
-
-def test_simple_trace():
-    assert_true("trace.")
-    assert_true("notrace.")