diff options
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_dumbdbm.py | 4 | ||||
-rw-r--r-- | Lib/test/test_hmac.py | 3 | ||||
-rw-r--r-- | Lib/test/test_pep247.py | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/Lib/test/test_dumbdbm.py b/Lib/test/test_dumbdbm.py index 51b6217..d62c74d 100644 --- a/Lib/test/test_dumbdbm.py +++ b/Lib/test/test_dumbdbm.py @@ -24,7 +24,7 @@ class DumbDBMTestCase(unittest.TestCase): unittest.TestCase.__init__(self, *args) self._dkeys = self._dict.keys() self._dkeys.sort() - + def test_dumbdbm_creation(self): for ext in [".dir", ".dat", ".bak"]: try: os.unlink(self._fname+ext) @@ -57,7 +57,7 @@ class DumbDBMTestCase(unittest.TestCase): keys = self.keys_helper(f) for key in self._dict: self.assertEqual(self._dict[key], f[key]) - + def keys_helper(self, f): keys = f.keys() keys.sort() diff --git a/Lib/test/test_hmac.py b/Lib/test/test_hmac.py index ef926bd..626b937 100644 --- a/Lib/test/test_hmac.py +++ b/Lib/test/test_hmac.py @@ -45,7 +45,7 @@ class ConstructorTestCase(unittest.TestCase): h = hmac.HMAC("key", "", sha) except: self.fail("Constructor call with sha module raised exception.") - + class SanityTestCase(unittest.TestCase): def test_default_is_md5(self): """Testing if HMAC defaults to MD5 algorithm.""" @@ -106,4 +106,3 @@ def test_main(): if __name__ == "__main__": test_main() - diff --git a/Lib/test/test_pep247.py b/Lib/test/test_pep247.py index 3a35164..88f2461 100644 --- a/Lib/test/test_pep247.py +++ b/Lib/test/test_pep247.py @@ -1,6 +1,6 @@ # # Test suite to check compliance with PEP 247, the standard API for -# hashing algorithms. +# hashing algorithms. # import md5, sha, hmac |