Message311233
$ make
$ rm build/lib.linux-x86_64-3.7/_md5.cpython-37m-x86_64-linux-gnu.so
$ ./python -m test test_hashlib
Run tests sequentially
0:00:00 load avg: 1.11 [1/1] test_hashlib
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
File "/home/benjamin/dev/python/cpython/Lib/hashlib.py", line 243, in <module>
globals()[__func_name] = __get_hash(__func_name)
File "/home/benjamin/dev/python/cpython/Lib/hashlib.py", line 113, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
/home/benjamin/dev/python/cpython/Lib/test/test_hashlib.py:90: UserWarning: Did a C extension fail to compile? No module named '_md5'
warnings.warn('Did a C extension fail to compile? %s' % error)
Warning -- logging._handlerList was modified by test_hashlib
Before: (139817255081928, [<weakref at 0x7f29bdc02868; to '_StderrHandler' at 0x7f29bdbfeb70>, <weakref at 0x7f29ba4f71d8; to 'StreamHandler' at 0x7f29ba4ee8d0>], [<weakref at 0x7f29bdc02868; to '_StderrHandler' at 0x7f29bdbfeb70>])
After: (139817255081928, [<weakref at 0x7f29bdc02868; to '_StderrHandler' at 0x7f29bdbfeb70>, <weakref at 0x7f29ba4f71d8; to 'StreamHandler' at 0x7f29ba4ee8d0>], [<weakref at 0x7f29bdc02868; to '_StderrHandler' at 0x7f29bdbfeb70>, <weakref at 0x7f29ba4f71d8; to 'StreamHandler' at 0x7f29ba4ee8d0>])
test test_hashlib failed -- Traceback (most recent call last):
File "/home/benjamin/dev/python/cpython/Lib/test/test_hashlib.py", line 209, in test_get_builtin_constructor
constructor = get_builtin_constructor('md5')
File "/home/benjamin/dev/python/cpython/Lib/hashlib.py", line 113, in __get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
test_hashlib failed
1 test failed:
test_hashlib
Total duration: 397 ms
Tests result: FAILURE |
|
Date |
User |
Action |
Args |
2018-01-30 05:29:15 | benjamin.peterson | set | recipients:
+ benjamin.peterson |
2018-01-30 05:29:15 | benjamin.peterson | set | messageid: <1517290155.28.0.467229070634.issue32721@psf.upfronthosting.co.za> |
2018-01-30 05:29:15 | benjamin.peterson | link | issue32721 messages |
2018-01-30 05:29:14 | benjamin.peterson | create | |
|