calling uncle here.

I'm writing some doctests and trying out different versions of rdflib and noticing that the representation of certain object changes between the 2.4 release and trunk. is this intentional? does this project have a policy about such changes? it's kinda rough on doc test writers using rdflib (this is the third __repr__ change I've encountered since 2.3.1 for Literal).
File "tests/test_atom-rdf.txt", line 47, in test_atom-rdf.txt
Failed example:
   entry_rdf.time
Expected:
rdflib.Literal('...', language=None, datatype=rdflib.URIRef('http://www.w3.org/2001/XMLSchema#date'))
Got:
rdflib.Literal('...', lang=None, datatype=rdflib.URIRef('http://www.w3.org/2001/XMLSchema#date'))


lang vs. language makes this fail

-w

--

------ d. whit morriss ------
- senior engineer, opencore -
- http://www.openplans.org  -
- m: 415-710-8975           -

"If you don't know where you are, you don't know anything at all"
Dr. Edgar Spencer, Ph.D., 1995

begin:vcard
fn:D. Whitfield  Morriss
n:Morriss;D. Whitfield 
org:The Open Planning Project;OpenPlans
adr:;;1309 Ashwood Ave;Nashville;TN;37212;USA
email;internet:[EMAIL PROTECTED]
title:Lead Developer 
tel;home:615 292-9142
tel;cell:415 710-8975
x-mozilla-html:FALSE
version:2.1
end:vcard

_______________________________________________
Dev mailing list
Dev@rdflib.net
http://rdflib.net/mailman/listinfo/dev

Reply via email to