]> granicus.if.org Git - python/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)
commitc0e0022f079348f74ad6ecfc40ff8264c0cede74
tree97474a7871a7d34f89b33c0241da2c14b11d403a
parentef94869f4fba32cbae214e4763a61e69d0cdad12
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