[issue5246] test.test_hashlib.HashLibTestCase fails on darwin
Tarek Ziadé
report at bugs.python.org
Fri Feb 13 14:43:25 CET 2009
New submission from Tarek Ziadé <ziade.tarek at gmail.com>:
The check_no_unicode('md5') fails under darwin (in the trunk)
(Pdb) hashlib.md5(u'spam') <--- suppose to raise a TypeError here
<md5 HASH object @ 0x6926b8>
(Pdb) hashlib.md5('spam')
<md5 HASH object @ 0x692610>
traceback :
======================================================================
FAIL: test_no_unicode (test.test_hashlib.HashLibTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Volumes/MacDev/svn.python.org/python-trunk2/Lib/test/test_hashlib.py",
line 75, in test_no_unicode
self.check_no_unicode('md5')
File
"/Volumes/MacDev/svn.python.org/python-trunk2/Lib/test/test_hashlib.py",
line 71, in check_no_unicode
self.assertRaises(TypeError, getattr(hashlib, algorithm_name), u'spam')
AssertionError: TypeError not raised
----------
components: Library (Lib)
messages: 81925
nosy: tarek
severity: normal
status: open
title: test.test_hashlib.HashLibTestCase fails on darwin
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5246>
_______________________________________
More information about the Python-bugs-list
mailing list