mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Fix challenge notebook exception handling (#202)
This commit is contained in:
parent
ba3fb473b1
commit
8f728dd52d
|
@ -132,7 +132,7 @@
|
|||
" test.test_add_digits(solution.add_digits)\n",
|
||||
" try:\n",
|
||||
" test.test_add_digits(solution.add_digits_optimized)\n",
|
||||
" except NameError:\n",
|
||||
" except AttributeError:\n",
|
||||
" # Alternate solutions are only defined\n",
|
||||
" # in the solutions file\n",
|
||||
" pass\n",
|
||||
|
|
Loading…
Reference in New Issue
Block a user