Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
acbb5106
Commit
acbb5106
authored
Jun 03, 2017
by
Alexandre Duret-Lutz
Browse files
* tests/core/ltlcross4.test: Ignore space diff in pandas' output.
parent
dbcde8e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/core/ltlcross4.test
View file @
acbb5106
...
...
@@ -57,18 +57,19 @@ EOF
# will exit 77 if panda is not installed
$PYTHON
test
.
py
>
out
.1
# remove trailing whitespace from pandas' output,
# and limit to 6 lines, because Pandas 0.13 adds
# the size of the dataframe afterwards.
sed
's/[ \t]*$//g;6q'
<
out
.1
>
py
.
out
# remove trailing whitespace from pandas' output, and limit to 6
# lines, because Pandas 0.13 adds the size of the dataframe
# afterwards. Alse the spacing between columns differs from version
# to version.
sed
's/[ \t]*$//g;6q'
<
out
.1
|
sed
's/ */ /g'
>
py
.
out
cat
>
expected
<<
EOF
states
transitions
mean
std
amin
amax
mean
std
amin
amax
states
transitions
mean
std
amin
amax
mean
std
amin
amax
tool
ltl2tgba
any
2.25
0.957427
1
3
10.00
5.163978
4
16
ltl2tgba
det
2.25
0.957427
1
3
9.25
4.573474
4
14
ltl2tgba
sma
2.25
0.957427
1
3
9.25
4.573474
4
14
ltl2tgba
any
2.25
0.957427
1
3
10.00
5.163978
4
16
ltl2tgba
det
2.25
0.957427
1
3
9.25
4.573474
4
14
ltl2tgba
sma
2.25
0.957427
1
3
9.25
4.573474
4
14
EOF
diff
py
.
out
expected
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment