-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
Description
With Python 3 (3.6, 3.7), the output with PROV-N (at least) is not deterministic:
import prov.model as prov
d = prov.ProvDocument()
d.set_default_namespace('https://example.com')
d.entity('id', [(prov.PROV_TYPE, 'foo'), (prov.PROV_TYPE, 'bar')])
print(d.get_provn())Gives sometimes
document
default <https://example.com>
entity(id, [prov:type="foo", prov:type="bar"])
endDocument
and sometimes
document
default <https://example.com>
entity(id, [prov:type="bar", prov:type="foo"])
endDocument
This makes it difficult to create doctests here.
Reactions are currently unavailable