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,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue