summaryrefslogtreecommitdiff
path: root/tests/test_using_api.py
diff options
context:
space:
mode:
authorMiro Hron?ok <miro@hroncok.cz>2018-07-04 18:08:48 +0200
committerMiro Hron?ok <miro@hroncok.cz>2018-07-04 18:08:48 +0200
commit1d494b833009cccce7eabe0635786e688d79c93f (patch)
tree3fa5aac9afbdb1ffae60f126b5c065199f83b877 /tests/test_using_api.py
parent1b966038502c0b386a6645d4b5125f623d0947bb (diff)
downloadpygments-git-1d494b833009cccce7eabe0635786e688d79c93f.tar.gz
PEP 479: Raising StopIteration from a generator is now an error
So we return instead. Fix needed for Python 3.7. Fixes https://bitbucket.org/birkenfeld/pygments-main/issues/1457
Diffstat (limited to 'tests/test_using_api.py')
0 files changed, 0 insertions, 0 deletions