HomePhabricator

[lldb/Test] Convert stdout to str by calling decode('utf-8') on it.
be3480658999Unpublished

Authored by JDevlieghere on Mar 13 2020, 9:49 AM.

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[lldb/Test] Convert stdout to str by calling decode('utf-8') on it.

Make sure both arguments to assertIn are of type str. This should fix
the following error:

TypeError: a bytes-like object is required, not 'str'.
(cherry picked from commit 17bdb7a17912bb4d961cf292c035b08c9d0c13ba)

Details

Committed
frissApr 5 2020, 3:34 PM
Parents
rG032f089b6487: Merge pull request #1026 from francisvm/61243768/apple/stable/20200108
Branches
Unknown
Tags
Unknown