Skip to content

Commit 558c6b3

Browse files
committed
debug
1 parent 77685ac commit 558c6b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/test_main.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ def test_main_forwards_args(self):
7979
with contextlib.redirect_stdout(io.StringIO()) as stdout:
8080
snekbox_main.main()
8181

82-
orig_argv = ast.literal_eval(stdout.getvalue().strip())
82+
data = stdout.getvalue().strip()
83+
84+
print(data)
85+
86+
orig_argv = ast.literal_eval(data)
8387
self.assertListEqual([*py_args, code], orig_argv[-3:])
8488
self.assertEqual(cm.exception.code, 137, "The time_limit NsJail arg was not respected.")

0 commit comments

Comments
 (0)