aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-05-21 18:58:51 +0200
committerGravatar GitHub <[email protected]>2018-05-21 18:58:51 +0200
commit7c6fa4ddd3d55e066d5aa063495aaec6cb7e2d82 (patch)
tree73364d0f6ba37328d18faa3e1c25155c45ad3bb7
parentinit commit (diff)
Delete test.py
-rw-r--r--runner/test.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/runner/test.py b/runner/test.py
deleted file mode 100644
index 08f0441..0000000
--- a/runner/test.py
+++ /dev/null
@@ -1,21 +0,0 @@
-import sys
-from io import StringIO
-
-def execute(snippet):
- old_stdout = sys.stdout
- redirected_output = sys.stdout = StringIO()
- try:
- exec(snippet)
- except:
- raise
- finally:
- sys.stdout = old_stdout
-
- return redirected_output.getvalue()
-
-
-code = """
-i = [0,1,2]
-for j in i:
- print(j)
-"""