diff --git a/.gitignore b/.gitignore index 99bce08..870312a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,3 @@ .tox/ .cache/ .vscode -.venv \ No newline at end of file diff --git a/my/test.py b/my/test.py deleted file mode 100644 index 9bcc2d3..0000000 --- a/my/test.py +++ /dev/null @@ -1,56 +0,0 @@ -from mako.template import Template -from mako.lexer import Lexer -from mako.testing.helpers import result_raw_lines - - -# t = Template("""%% do something -# %%% do something -# if : -# %%%% do something -# """) - - -t = Template( - """ -% for i in [1, 2, 3]: - %% do something ${i} -% endfor -""" -) -t = """ -% for i in [1, 2, 3]: - %% do something ${i} -% endfor -""" -# print(result_raw_lines(t.render())) -print(Lexer(t).parse()) -# import re - -# pat = re.compile( -# r""" -# (.*?) # anything, followed by: -# ( -# (?<=\n)((?