Skip to content

Commit 0b554f6

Browse files
committed
update tests for missed stack issues
1 parent 7b9e821 commit 0b554f6

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

test/run

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,13 @@ testPylibmc() {
8989

9090
testPython2_warn() {
9191
compile "python2_warn"
92-
assertCaptured "python-2.7.14"
93-
assertCaptured "security update!"
94-
assertCapturedSuccess
92+
if [[ $STACK = "heroku-18" ]]; then
93+
assertCapturedError
94+
else
95+
assertCaptured "python-2.7.14"
96+
assertCaptured "security update!"
97+
assertCapturedSuccess
98+
fi
9599
}
96100

97101
testPython2() {
@@ -123,7 +127,8 @@ testPython3_5_warn() {
123127
compile "python3_5_warn"
124128
if [[ $STACK = "cedar-14" ]]; then
125129
assertCaptured "python-3.5.3"
126-
assertCapturedSuccess
130+
assertCaptured "security update!"
131+
assertCapturedError
127132
else
128133
assertCapturedError
129134
fi

0 commit comments

Comments
 (0)