Skip to content

Commit

Permalink
Lint improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 23, 2013
1 parent 062b4c5 commit c0836d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion codejail/tests/test_jail_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_reading_dev_random(self):
self.assertResultOk(res)
self.assertEqual(res.stdout, "10\n")

# But if we try to read all of it, we'll be killed by the real-time limit.
# If we try to read all of it, we'll be killed by the real-time limit.
res = jailpy(code="x = open('/dev/random').read(); print 'Done!'")
self.assertNotEqual(res.status, 0)

Expand Down
4 changes: 2 additions & 2 deletions codejail/tests/test_json_safe.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_surrogate_unicode_values(self):
unicode_char = unichr(code)

# Try it as a dictionary value
result = json_safe({'test': unicode_char})
json_safe({'test': unicode_char})
# Different json libraries treat these bad Unicode characters
# differently. All we care about is that no error is raised from
# json_safe.
Expand All @@ -49,7 +49,7 @@ def test_surrogate_unicode_keys(self):
unicode_char = unichr(code)

# Try it is a dictionary key
result = json_safe({unicode_char: 'test'})
json_safe({unicode_char: 'test'})
# Different json libraries treat these bad Unicode characters
# differently. All we care about is that no error is raised from
# json_safe.

0 comments on commit c0836d1

Please sign in to comment.