[all-commits] [llvm/llvm-project] 9dbce7: [lldb] Update PythonDataObjectsTests for new excep...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Mar 15 15:53:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9dbce774eea515e400954f1d0ffbd858c839b546
      https://github.com/llvm/llvm-project/commit/9dbce774eea515e400954f1d0ffbd858c839b546
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-03-15 (Wed, 15 Mar 2023)

  Changed paths:
    M lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp

  Log Message:
  -----------
  [lldb] Update PythonDataObjectsTests for new exception formatting

PythonDataObjectsTest.TestExceptions started failing because the output
of the python traceback printers is now consistent between python and
cpython [1]. Work around the issue by supporting both variants.

Thanks to Ismail for identifying the root cause.

[1] https://github.com/python/cpython/issues/85203




More information about the All-commits mailing list