mirror of
https://github.com/donnemartin/interactive-coding-challenges
synced 2026-03-05 07:08:48 +00:00
Update tree check balance challenge (#120)
Use more specific exception types.
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
"\n",
|
||||
"class TestCheckBalance(object):\n",
|
||||
"\n",
|
||||
" @raises(Exception)\n",
|
||||
" @raises(TypeError)\n",
|
||||
" def test_check_balance_empty(self):\n",
|
||||
" bst = BstBalance(None)\n",
|
||||
" bst.check_balance()\n",
|
||||
|
||||
Reference in New Issue
Block a user