Hi,

I cloned the repository 
git clone https://github.com/AxelNennker/rdflib
, ran
python3 setup.py build
which gives a warning "UserWarning: Normalizing '5.0.0-dev' to '5.0.0.dev0'"

Now:
ignisvulpis@namenlos:~/development/rdflib$ python3 run_tests.py 
Running nose with: --attr= test rdflib --where=./ --with-doctest 
--doctest-extension=.doctest --doctest-tests
Usage: run_tests.py [options]

run_tests.py: error: Error reading config file 'setup.cfg': no such option 
'with-doctest-ignore-unicode'
ignisvulpis@namenlos:~/development/rdflib$ 

When I remove the setting from setup.cfg and also 
doctest-options=+IGNORE_UNICODE
there are then in fact unicode errors.

File "/home/ignisvulpis/development/rdflib/rdflib/term.py", line 606, in 
rdflib.term.Literal.normalize
Failed example:
    Literal("a", datatype=XSD.integer, normalize=False)
Expected:
    rdflib.term.Literal(u'a', 
datatype=rdflib.term.URIRef(u'http://www.w3.org/2001/XMLSchema#integer'))
Got:
    rdflib.term.Literal('a', 
datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#integer'))

How do I fix this?

thanks
Axel

-- 
http://github.com/RDFLib
--- 
You received this message because you are subscribed to the Google Groups 
"rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rdflib-dev/e7a7ffce-f2eb-4738-a7b9-49263bef2395%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to