Skip to content

Commit e42b9e2

Browse files
committed
fix test
1 parent 8d5bf91 commit e42b9e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/runner_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,5 @@ func TestPyInlineStderr(t *testing.T) {
9090
DetectExecutable(context.Background())
9191
inline := "import sys; sys.stderr.write('___msg___'); sys.exit(1)"
9292
_, err := PyInline(context.Background(), inline)
93-
assert.EqualError(t, err, "___msg___")
93+
assert.ErrorContains(t, err, "___msg___")
9494
}

0 commit comments

Comments
 (0)