Closed nichtich closed 8 years ago
At travis this runs smoothly except Python 2.6 where one of the example MARCXML files cannot be processed: https://travis-ci.org/gbv/mc2skos/jobs/129834863 I don't understand why this is limited to Python 2.6
The Python code seems fine to me (meaning it's no worse than the main code, which could need some cleanup as well :))
I actually thought string.format() wasn't supported at all in Python 2.6, but it seems like it is, just not that mature..
test_process_examples.py reads all XML example files, transforms each to RDF and compares whether the resulting graph contains expected triples given in a corresponding Turtle file.
The current version does not include number spans. Python code may benefit from some cleanup, it's my first attempt in this language.