Fix spurious failre with Pandas 0.13.
* src/tgbatest/ltlcross4.test: Work around Pandas 0.13. * NEWS: Mention it.
This commit is contained in:
parent
38388748b0
commit
c2195600b8
2 changed files with 7 additions and 4 deletions
1
NEWS
1
NEWS
|
|
@ -10,6 +10,7 @@ New in spot 1.2.2a (not yet released)
|
||||||
- randltl -S did not honor --boolean-priorities.
|
- randltl -S did not honor --boolean-priorities.
|
||||||
- randltl had trouble generating formulas when all unary, or
|
- randltl had trouble generating formulas when all unary, or
|
||||||
all binary/n-ary operators were disabled.
|
all binary/n-ary operators were disabled.
|
||||||
|
- Fix spurious testsuite failure when using Pandas 0.13.
|
||||||
|
|
||||||
New in spot 1.2.2 (2014-01-24)
|
New in spot 1.2.2 (2014-01-24)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# Copyright (C) 2012, 2013 Laboratoire de Recherche et Développement
|
# Copyright (C) 2012, 2013, 2014 Laboratoire de Recherche et
|
||||||
# de l'Epita (LRDE).
|
# Développement de l'Epita (LRDE).
|
||||||
#
|
#
|
||||||
# This file is part of Spot, a model checking library.
|
# This file is part of Spot, a model checking library.
|
||||||
#
|
#
|
||||||
|
|
@ -51,8 +51,10 @@ EOF
|
||||||
# will exit 77 if panda is not installed
|
# will exit 77 if panda is not installed
|
||||||
$PYTHON test.py >out.1
|
$PYTHON test.py >out.1
|
||||||
|
|
||||||
# remove trailing whitespace from pandas' output
|
# remove trailing whitespace from pandas' output,
|
||||||
sed 's/[ \t]*$//g' <out.1 > py.out
|
# and limit to 26 lines, because Pandas 0.13 adds
|
||||||
|
# the size of the dataframe afterwards.
|
||||||
|
sed 's/[ \t]*$//g;26q' <out.1 > py.out
|
||||||
|
|
||||||
cat >expected <<EOF
|
cat >expected <<EOF
|
||||||
states transitions
|
states transitions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue