Clarify some comments in tests.

This commit is contained in:
Ned Batchelder
2013-04-24 15:14:24 -04:00
parent 726e8db13e
commit adde939831
2 changed files with 2 additions and 2 deletions

View File

@@ -127,8 +127,6 @@ class TestLimits(JailCodeHelpers, unittest.TestCase):
self.assertEqual(res.stdout, "Reading google\n")
self.assertIn("IOError", res.stderr)
# TODO: write files
# TODO: read network
# TODO: fork

View File

@@ -65,6 +65,8 @@ class TestSafeExec(SafeExecTests, unittest.TestCase):
class TestNotSafeExec(SafeExecTests, unittest.TestCase):
"""Run SafeExecTests, with not_safe_exec."""
def setUp(self):
# If safe_exec is actually an alias to not_safe_exec, then there's no
# point running these tests.
if safe_exec is not_safe_exec:
raise SkipTest