Prevent from_n3 from unescaping \xhh by aucampia · Pull Request #1343 · RDFLib/rdflib (original) (raw)

@nicholascar all test should pass, I just meant, the fix here is maybe not really worth that much given the other problems with the function, so just merging the tests here without the fix could make sense, but I guess reducing the amount of potential problems with the function is not a bad thing either.

The OSError: [Errno 99] Cannot assign requested address is coming from the test that still use DBPedia directly (here).

From logs:

1804	Traceback (most recent call last):
1805	  File "/drone/src/test/test_sparqlstore.py", line 50, in test_Query
1806	    res = helper.query_with_retry(self.graph, query, initNs={})
1807	  File "/drone/src/test/helper.py", line 41, in query_with_retry
1808	    result = graph.query(query, **kwargs)

The last 6 spurious test failures before this also all came from this DBPedia tests, and I'm sure more, just have not checked.

I think replacing the DBPedia test with the mock server should help alleviate these problems.

I will make an issue and have a look at it when I have time.