Skip to content
Commit 756b482c authored by Hans Wennborg's avatar Hans Wennborg Committed by Tom Stellard
Browse files

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 88aad9b9)
parent 3c2f0cf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment