Removed debug code.

This commit is contained in:
Victor Maryama 2019-06-24 17:47:48 +02:00
parent 9a89783fbb
commit 52e695b329
1 changed files with 0 additions and 5 deletions

View File

@ -358,11 +358,6 @@ def _rewrite_test(config, fn):
state.trace("failed to parse: {!r}".format(fn))
return None, None
rewrite_asserts(tree, fn, config)
# TODO: REMOVE, THIS IS ONLY FOR DEBUG
with open(f'{str(fn)+"bak"}', "w", encoding="utf-8") as f:
f.write(astor.to_source(tree))
try:
co = compile(tree, fn.strpath, "exec", dont_inherit=True)
except SyntaxError: