summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_hmac.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-01 19:00:50 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-01 19:00:50 (GMT)
commit28bb572ab4e72abfd918343f1d6114630daa4564 (patch)
tree4fd1bbdbf94f7728ab873eac8af237079b4e7945 /Lib/test/test_hmac.py
parentb1295da59e90f85c71cd5591eff38376017f5e43 (diff)
downloadcpython-28bb572ab4e72abfd918343f1d6114630daa4564.zip
cpython-28bb572ab4e72abfd918343f1d6114630daa4564.tar.gz
cpython-28bb572ab4e72abfd918343f1d6114630daa4564.tar.bz2
Use attributes appropriately
Diffstat (limited to 'Lib/test/test_hmac.py')
-rw-r--r--Lib/test/test_hmac.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_hmac.py b/Lib/test/test_hmac.py
index 626b937..b7b3c07 100644
--- a/Lib/test/test_hmac.py
+++ b/Lib/test/test_hmac.py
@@ -63,7 +63,7 @@ class SanityTestCase(unittest.TestCase):
dig = h.hexdigest()
h2 = h.copy()
except:
- fail("Exception raised during normal usage of HMAC class.")
+ self.fail("Exception raised during normal usage of HMAC class.")
class CopyTestCase(unittest.TestCase):
def test_attributes(self):