tati_alchueyr

SPARQL Wrapper r177 test suite result running on Python 3.3

Aug 7th, 2013
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.88 KB | None | 0 0
  1. $ python --version
  2. Python 3.3.0
  3.  
  4. $ svn log --limit 1
  5. ------------------------------------------------------------------------
  6. r177 | wikier | 2013-04-03 09:16:29 -0300 (Wed, 03 Apr 2013) | 1 line
  7.  
  8. applied the custom parameters for all formats
  9. ------------------------------------------------------------------------
  10.  
  11. $ PYTHONPATH=src/SPARQLWrapper:$PYTHONPATH python test/tests.py
  12.  
  13. F.../usr/lib64/python3.3/urllib/request.py:308: DeprecationWarning: Request.add_data method is deprecated.
  14.   warnings.warn(msg, DeprecationWarning, stacklevel=1)
  15. F.........F..
  16. ======================================================================
  17. FAIL: testConstructByGETinJSON (__main__.SPARQLWrapperTests)
  18. ----------------------------------------------------------------------
  19. Traceback (most recent call last):
  20.   File "test/tests.py", line 197, in testConstructByGETinJSON
  21.     assert True in [one in ct for one in _RDF_POSSIBLE], ct
  22. AssertionError: application/sparql-results+json
  23.  
  24. ======================================================================
  25. FAIL: testConstructByPOSTinJSON (__main__.SPARQLWrapperTests)
  26. ----------------------------------------------------------------------
  27. Traceback (most recent call last):
  28.   File "test/tests.py", line 204, in testConstructByPOSTinJSON
  29.     assert True in [one in ct for one in _RDF_POSSIBLE], ct
  30. AssertionError: text/html; charset=UTF-8
  31.  
  32. ======================================================================
  33. FAIL: testSelectByPOSTinN3 (__main__.SPARQLWrapperTests)
  34. ----------------------------------------------------------------------
  35. Traceback (most recent call last):
  36.   File "test/tests.py", line 135, in testSelectByPOSTinN3
  37.     self.assertTrue(True in [one in ct for one in _SPARQL_XML])
  38. AssertionError: False is not true
  39.  
  40. ----------------------------------------------------------------------
  41. Ran 17 tests in 13.805s
  42.  
  43. FAILED (failures=3)
Advertisement
Add Comment
Please, Sign In to add comment