Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.search.utils::swh.search.utils.to_raw
Failed

TEST RESULT

Run At
Aug 4 2021, 11:42 AM
Details
061 Makes the object directly injectable into the 062 query language. 063 064 For strings, appends \ before special characters like ', ", and \ 065 066 For arrays, applies the same transformation on each element, joins the 067 elements and returns a string-like representation of the list. 068 069 >>> to_raw("foo ' bar") Expected: '"foo \' bar"' Got: '"foo \\\' bar"' /var/lib/jenkins/workspace/DSEA/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/search/utils.py:69: DocTestFailure