[all-commits] [llvm/llvm-project] 756b48: lit googletest.py: Don't raise StopIteration in ge...
Tom Stellard via All-commits
all-commits at lists.llvm.org
Tue Jun 16 12:28:39 PDT 2020
Branch: refs/heads/release/10.x
Home: https://github.com/llvm/llvm-project
Commit: 756b482c69befb4ad5437a22fc5207711c4ccf4e
https://github.com/llvm/llvm-project/commit/756b482c69befb4ad5437a22fc5207711c4ccf4e
Author: Hans Wennborg <hans at chromium.org>
Date: 2020-06-16 (Tue, 16 Jun 2020)
Changed paths:
M llvm/utils/lit/lit/formats/googletest.py
Log Message:
-----------
lit googletest.py: Don't raise StopIteration in generator
The intention here seems to be to end the generator function, but with
modern Python, raising StopIteration causes a runtime error
(https://www.python.org/dev/peps/pep-0479/).
Differential revision: https://reviews.llvm.org/D79169
(cherry picked from commit 88aad9b9f05702585eb823d0188996f4cf62070a)
More information about the All-commits
mailing list