adjust tests to SpinS 1.1

* tests/python/ipnbdoctest.py: Adjust sanitize function.
* tests/python/ltsmin-pml.ipynb: Adjust expected output.
This commit is contained in:
Alexandre Duret-Lutz 2016-06-22 21:26:35 +02:00
parent e80b443bc8
commit ed04e2b421
2 changed files with 283 additions and 120 deletions

View file

@ -72,7 +72,7 @@ def sanitize(s):
s = re.sub(r'Generated by graphviz version.*', 'VERSION', s)
# remove Spins verbose output version
s = re.sub(r'SpinS Promela Compiler.*Compiled C model to .*pml.spins',
s = re.sub(r'SpinS Promela Compiler.*Compiled C .* to .*pml.spins',
'SpinS output', s, flags=re.DOTALL)
# SVG generated by graphviz may put note at different positions