Fix spurious failre with Pandas 0.13.

* src/tgbatest/ltlcross4.test: Work around Pandas 0.13.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2014-02-06 01:31:19 +01:00
parent 38388748b0
commit c2195600b8
2 changed files with 7 additions and 4 deletions

1
NEWS
View file

@ -10,6 +10,7 @@ New in spot 1.2.2a (not yet released)
- randltl -S did not honor --boolean-priorities.
- randltl had trouble generating formulas when all unary, or
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)

View file

@ -1,7 +1,7 @@
#!/bin/sh
# -*- coding: utf-8 -*-
# Copyright (C) 2012, 2013 Laboratoire de Recherche et Développement
# de l'Epita (LRDE).
# Copyright (C) 2012, 2013, 2014 Laboratoire de Recherche et
# Développement de l'Epita (LRDE).
#
# This file is part of Spot, a model checking library.
#
@ -51,8 +51,10 @@ EOF
# will exit 77 if panda is not installed
$PYTHON test.py >out.1
# remove trailing whitespace from pandas' output
sed 's/[ \t]*$//g' <out.1 > py.out
# remove trailing whitespace from pandas' output,
# 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
states transitions