Commits

Carl Friedrich Bolz committed b6d66e9

a failing test for later

Comments (0)

Files changed (1)

prolog/interpreter/test/test_arithmetic.py

 from prolog.interpreter.continuation import Heap, Engine
 from prolog.interpreter import error
 from prolog.interpreter.test.tool import collect_all, assert_false, assert_true
+from prolog.interpreter.test.tool import prolog_raises
 from prolog.interpreter.term import Number, Float, BigInt
 import prolog.interpreter.arithmetic # has side-effects, changes Number etc
 
     assert_true("1.1 > 1.")
     assert_false("1 =\\= 1.0.")
     assert_true("1 =\\= 32.")
+
+@py.test.mark.xfail
+def test_pow_error():
+    prolog_raises("_", "X is -2 ** 0.5")