mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
5 lines
202 B
Python
5 lines
202 B
Python
|
|
# Creates a test file that will cause a RecursionError when run with the Python extractor.
|
|
with open('repo_dir/recursion_error.py', 'w') as f:
|
|
f.write("print({})\n".format("+".join(["1"] * 1000)))
|