[issue24210] Tests failed with -Werror

Berker Peksag report at bugs.python.org
Sat May 16 20:41:43 CEST 2015


Berker Peksag added the comment:

Here is a patch.

An unrelated failure:

$ ./python -Werror -m test test_slice
[1/1] test_slice
test test_slice failed -- Traceback (most recent call last):
  File "/home/berker/projects/cpython/default/Lib/test/test_slice.py", line 82, in test_hash
    self.assertRaises(TypeError, slice(5).__hash__)
  File "/home/berker/projects/cpython/default/Lib/unittest/case.py", line 711, in assertRaises
    return context.handle('assertRaises', args, kwargs)
  File "/home/berker/projects/cpython/default/Lib/unittest/case.py", line 153, in handle
    DeprecationWarning, 3)
DeprecationWarning: callable is None

----------
keywords: +patch
Added file: http://bugs.python.org/file39393/issue24210.diff

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


More information about the Python-bugs-list mailing list