From 526b299de8ea0e2a341b7875d62eb09de7f3f5ea Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Fri, 2 Jun 2017 19:07:34 +0200 Subject: [PATCH] work around change in pandas 0.20 * tests/core/ltlcross4.test: Replace describe() by agg() to work around a backward incompatible change in pandas 0.20. --- tests/core/ltlcross4.test | 44 +++++++++++++-------------------------- 1 file changed, 15 insertions(+), 29 deletions(-) diff --git a/tests/core/ltlcross4.test b/tests/core/ltlcross4.test index 2f0c5f5ca..e710fcfee 100755 --- a/tests/core/ltlcross4.test +++ b/tests/core/ltlcross4.test @@ -1,6 +1,6 @@ #!/bin/sh # -*- coding: utf-8 -*- -# Copyright (C) 2012, 2013, 2014 Laboratoire de Recherche et +# Copyright (C) 2012-2014, 2017 Laboratoire de Recherche et # Développement de l'Epita (LRDE). # # This file is part of Spot, a model checking library. @@ -40,49 +40,35 @@ cat >test.py <out.1 # remove trailing whitespace from pandas' output, -# and limit to 26 lines, because Pandas 0.13 adds +# and limit to 6 lines, because Pandas 0.13 adds # the size of the dataframe afterwards. -sed 's/[ \t]*$//g;26q' py.out +sed 's/[ \t]*$//g;6q' py.out cat >expected <