Improved comment formatting to appease Gaynor.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17311 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Paul McMillan 2011-12-30 20:43:01 +00:00
parent 67f7756000
commit 143fa9193c
1 changed files with 2 additions and 2 deletions

View File

@ -130,6 +130,6 @@ class TestUtilsCryptoPBKDF2(unittest.TestCase):
t1 = elapsed('pbkdf2("password", "salt", iterations=%d)' % n1)
t2 = elapsed('pbkdf2("password", "salt", iterations=%d)' % n2)
measured_scale_exponent = math.log(t2 / t1, n2 / n1)
#This should be less than 1. We allow up to 1.1 so that tests don't
#fail nondeterministically too often.
# This should be less than 1. We allow up to 1.1 so that tests don't
# fail nondeterministically too often.
self.assertLess(measured_scale_exponent, 1.1)