diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2012-02-16 01:10:21 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2012-02-16 01:10:21 +0000 |
| commit | b9b3e9f0efe3fe9d5d976533ff2f13359825f5da (patch) | |
| tree | 20fe23f94dcb16de0e26e3ec97e256f63480372b /tests/regressiontests/utils/http.py | |
| parent | 6072e108e2738dbde7c2ad976a45745551859a20 (diff) | |
Use Python's changed comparisons, which makes this a bit more readable.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17526 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/utils/http.py')
| -rw-r--r-- | tests/regressiontests/utils/http.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/utils/http.py b/tests/regressiontests/utils/http.py index a6e7a8f2fc..16c7daa32c 100644 --- a/tests/regressiontests/utils/http.py +++ b/tests/regressiontests/utils/http.py @@ -119,6 +119,6 @@ class TestUtilsHttp(unittest.TestCase): self.assertRaises(TypeError, http.int_to_base36, 3.141) # more explicit output testing - for n, b36 in [(0,'0'), (1,'1'), (42,'16'), (818469960,'django')]: + for n, b36 in [(0, '0'), (1, '1'), (42, '16'), (818469960, 'django')]: self.assertEqual(http.int_to_base36(n), b36) self.assertEqual(http.base36_to_int(b36), n) |
