Commits

Carl Friedrich Bolz  committed 5453153

fix test

  • Participants
  • Parent commits 048910b

Comments (0)

Files changed (1)

File prolog/interpreter/test/test_arithmetic.py

 
 @py.test.mark.xfail
 def test_pow_error():
-    prolog_raises("_", "X is -2 ** 0.5")
+    prolog_raises("_", "X is (-2) ** 0.5")
 
 def test_sqrt():
     for x in [0, 1, 4, 9, 0.25, 0.16, 100*100]: