toparity: rename iar_old()/iar_maybe_old() to iar()/iar_maybe()

* spot/twaalgos/toparity.hh, spot/twaalgos/toparity.cc: Use the
original names, to minimize differences with spot 2.8.  Deprecate
them.
* tests/python/except.py: Adjust.
* NEWS: Mention the change.
This commit is contained in:
Alexandre Duret-Lutz 2020-04-05 10:54:55 +02:00
parent 0a95314dca
commit 2b918d1c02
4 changed files with 44 additions and 27 deletions

View file

@ -33,7 +33,7 @@ def report_missing_exception():
aut = spot.translate('GFa & GFb & GFc')
aut.set_acceptance(spot.acc_cond("parity min even 4"))
try:
spot.iar_old(aut)
spot.iar(aut)
except RuntimeError as e:
assert 'iar() expects Rabin-like or Streett-like input' in str(e)
else: