HomePhabricator

TestFileHandle.py: fix for Python 3.6

Authored by lawrence_danna on Oct 10 2019, 11:38 AM.

Description

TestFileHandle.py: fix for Python 3.6

Summary:
Python 3.6 stringifies exceptions as ExceptionClass("foo",) instead
of ExceptionClass("foo"). This patch makes the test assertions a
little more flexible so the test passes anyway.

Reviewers: JDevlieghere, jasonmolenda, labath

Reviewed By: labath

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D68745

llvm-svn: 374417

Details

Committed
lawrence_dannaOct 10 2019, 11:38 AM
Reviewer
labath
Differential Revision
D68745: TestFileHandle.py: fix for Python 3.6
Parents
rG63bb6737cee9: Update clang tests for new LLVM IR backslash printing in r374415
Branches
Unknown
Tags
Unknown