[all-commits] [llvm/llvm-project] 19e472: [libcxx][lit] Fix running testsuite with python2.7...

Alexander Richardson via All-commits all-commits at lists.llvm.org
Mon Jul 27 02:15:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 19e472fd84ec75f5323a147bedfffabbb23d0978
      https://github.com/llvm/llvm-project/commit/19e472fd84ec75f5323a147bedfffabbb23d0978
  Author: Alex Richardson <Alexander.Richardson at cl.cam.ac.uk>
  Date:   2020-07-27 (Mon, 27 Jul 2020)

  Changed paths:
    M libcxx/utils/libcxx/test/dsl.py

  Log Message:
  -----------
  [libcxx][lit] Fix running testsuite with python2.7 after 9020d28688492c437abb648b6ab69baeba523219

Python 2.7 fails with TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
if you pass None as the prefix argument to NamedTemporaryFile.

Reviewed By: ldionne, bjope, #libc

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




More information about the All-commits mailing list