My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 1: Test Fails
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by jpthomps...@gmail.com, Aug 16, 2012
python swipl.py outputs:

File "swipl.py", line 680, in __main__._test
Failed example:
    t[0].pl_term-t[1].pl_term == t[1].pl_term - t[2].pl_term == -1
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1254, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__._test[2]>", line 1, in <module>
        t[0].pl_term-t[1].pl_term == t[1].pl_term - t[2].pl_term == -1
      File "swipl.py", line 361, in __getitem__
        pl_term = self.pl_term + index
    TypeError: unsupported operand type(s) for +: 'LP_c_uint' and 'int'
/home/john/Desktop/swipy/plutils.py:127: UserWarning: Call of 'PL_get_atom' without prototype
  warn( 'Call of \'%s\' without prototype'%attr )


Powered by Google Project Hosting