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