diff options
author | 2019-06-15 18:32:32 -0700 | |
---|---|---|
committer | 2019-06-15 18:47:00 -0700 | |
commit | bc130a4d44f38824b6173c0babff4eefe18ac1db (patch) | |
tree | 2fc7883f0c4ef98b752bdd6557a81c194f93a92c /tests | |
parent | Merge pull request #24 from python-discord/refactor/nsjail (diff) |
Merge stdout and stderr
Removes the need for redirecting stderr using contextlib in the input.
Furthermore, it captures errors which don't directly come from the
input, such as SyntaxErrors.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/api/test_eval.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/api/test_eval.py b/tests/api/test_eval.py index 03f0e39..3350763 100644 --- a/tests/api/test_eval.py +++ b/tests/api/test_eval.py @@ -10,7 +10,6 @@ class TestEvalResource(SnekAPITestCase): self.assertEqual(result.status_code, 200) self.assertEqual("output", result.json["stdout"]) - self.assertEqual("error", result.json["stderr"]) self.assertEqual(0, result.json["returncode"]) def test_post_invalid_schema_400(self): |