Skip to content

Commit

Permalink
clean up templates
Browse files Browse the repository at this point in the history
  • Loading branch information
paiv committed Nov 20, 2024
1 parent ab5e3fd commit 4233879
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions tools/template/template.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import builtins
import io
import logging
import re
Expand Down Expand Up @@ -207,8 +206,3 @@ def tokenize(self, text):
case _:
raise Exception(f'state {state}')


if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
s = format('\n&a\n', a='x\n')
builtins.print(repr(s))
2 changes: 0 additions & 2 deletions tools/template/testtemplate.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import inspect
import itertools
import logging
import template
import unittest

Expand Down Expand Up @@ -221,5 +220,4 @@ def src_ending(self):


if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)
unittest.main()

0 comments on commit 4233879

Please sign in to comment.