Skip to content

Commit

Permalink
Add regression test for recursion error that does not happen any long…
Browse files Browse the repository at this point in the history
…er. Close #2899
  • Loading branch information
PCManticore committed Jul 19, 2019
1 parent 558e5b1 commit d5cfffa
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/functional/recursion_error_2899.py
@@ -0,0 +1,9 @@
# pylint: disable=global-statement,missing-docstring,blacklisted-name
foo = "test"


def broken():
global foo

bar = len(foo)
foo = foo[bar]

0 comments on commit d5cfffa

Please sign in to comment.