We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77685ac commit 558c6b3Copy full SHA for 558c6b3
tests/test_main.py
@@ -79,6 +79,10 @@ def test_main_forwards_args(self):
79
with contextlib.redirect_stdout(io.StringIO()) as stdout:
80
snekbox_main.main()
81
82
- orig_argv = ast.literal_eval(stdout.getvalue().strip())
+ data = stdout.getvalue().strip()
83
+
84
+ print(data)
85
86
+ orig_argv = ast.literal_eval(data)
87
self.assertListEqual([*py_args, code], orig_argv[-3:])
88
self.assertEqual(cm.exception.code, 137, "The time_limit NsJail arg was not respected.")
0 commit comments