Commit c2195600 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Fix spurious failre with Pandas 0.13.

* src/tgbatest/ltlcross4.test: Work around Pandas 0.13.
* NEWS: Mention it.
parent 38388748
......@@ -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)
......
#!/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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment