diff options
author | Hans Wennborg <hans@chromium.org> | 2020-04-30 15:03:22 +0200 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2020-06-16 12:27:51 -0700 |
commit | 756b482c69befb4ad5437a22fc5207711c4ccf4e (patch) | |
tree | e654a820eff8a29344ebeca8e2f23b500213ae3e /lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py | |
parent | 3c2f0cf15bc00e9568ddb0757a026a81a477bf71 (diff) | |
download | bcm5719-llvm-756b482c69befb4ad5437a22fc5207711c4ccf4e.tar.gz bcm5719-llvm-756b482c69befb4ad5437a22fc5207711c4ccf4e.zip |
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)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py')
0 files changed, 0 insertions, 0 deletions