[New-bugs-announce] [issue15225] Add negative tests for passing str to hmac.HMAC and hmac.new

Marc Abramowitz report at bugs.python.org
Fri Jun 29 20:49:40 CEST 2012


New submission from Marc Abramowitz <msabramo at gmail.com>:

I had been thinking of improving the error message for this case slightly -- and then couldn't find a test for this case so I'm adding one in the attached patch...

----------
components: Tests
files: test_hmac.py.patch
keywords: patch
messages: 164348
nosy: Marc.Abramowitz
priority: normal
severity: normal
status: open
title: Add negative tests for passing str to hmac.HMAC and hmac.new
versions: Python 3.3
Added file: http://bugs.python.org/file26212/test_hmac.py.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15225>
_______________________________________


More information about the New-bugs-announce mailing list