[all-commits] [llvm/llvm-project] 17bdb7: [lldb/Test] Convert stdout to str by calling decod...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Mar 13 09:50:52 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 17bdb7a17912bb4d961cf292c035b08c9d0c13ba
      https://github.com/llvm/llvm-project/commit/17bdb7a17912bb4d961cf292c035b08c9d0c13ba
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-03-13 (Fri, 13 Mar 2020)

  Changed paths:
    M lldb/test/API/functionalities/reproducers/attach/TestReproducerAttach.py

  Log Message:
  -----------
  [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'.




More information about the All-commits mailing list