Hi all,

I've made a lot of documentation updates in PR 1296 [1] - making sure
everything uses modern syntax and all examples work - but I can't get a
particular test to pass [2]:

1748 ======================================================================
1749 FAIL: Tests literal construction.
1750 ----------------------------------------------------------------------
1751 Traceback (most recent call last):
1752  File "/drone/src/test/test_literal.py", line 229, in test_make_literals
1753    self.check_make_literals(inputs)
1754  File "/drone/src/test/test_literal.py", line 258, in check_make_literals
1755    self.assertEqual(lexical, str(literal))
1756 AssertionError: '0001-01' != '1-01'
1757 - 0001-01
1758 ? ---
1759 + 1-01


I can't work out what's causing the leading '000' to be dropped by the
tests as run by Drone for they are working fine locally for Python 3.7 &
3.9.

Can anyone shed light on this string/formatting issue?

Thanks,

Nick


[1] https://github.com/RDFLib/rdflib/pull/1296
[2] https://drone.rdflib.ashs.dev/RDFLib/rdflib/203/3/2

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/rdflib-dev/CAP7nqh2Qt%2BhmK5FV4VXtLn4XzUjhyT-XF01wmmTmN9DGvKjU%2BA%40mail.gmail.com.

Reply via email to