]> 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:38:39 +0000 (18:38 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 20 May 2015 15:38:39 +0000 (18:38 +0300)
commit3ddcfb119dc8890756d303a1419c15e3f1f76d8f
tree2ecd82eb6a6d7c135b00224df6136a68407427f5
parent35ac5f82804829eec51d5553f080c5697453b5bb
parentc0e0022f079348f74ad6ecfc40ff8264c0cede74
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