]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #24134: Use assertRaises() in context manager form in test_slice to
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 20 May 2015 15:38:39 +0000 (18:38 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 20 May 2015 15:38:39 +0000 (18:38 +0300)
avoid passing the test accidently because slice.__hash__ is None.

1  2 
Lib/test/test_slice.py

Simple merge