Skip to content

Commit

Permalink
travis check if error is occurred
Browse files Browse the repository at this point in the history
  • Loading branch information
dizcza committed Jul 21, 2020
1 parent cce0d7b commit 3e59894
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion doc/tutorials/parallel.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,27 @@
" raise ImportError(\"To run this tutorial, please install mpi4py with 'pip install mpi4py' and restart the jupyter notebook kernel\")"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"ename": "Exception",
"evalue": "You shall not pass!",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mException\u001b[0m Traceback (most recent call last)",
"\u001b[0;32m<ipython-input-2-5eb51fb926d2>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mraise\u001b[0m \u001b[0mException\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m\"You shall not pass!\"\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[0;31mException\u001b[0m: You shall not pass!"
]
}
],
"source": [
"raise Exception(\"You shall not pass!\")"
]
},
{
"cell_type": "code",
"execution_count": 2,
Expand Down Expand Up @@ -407,7 +428,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.3"
"version": "3.8.2"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 3e59894

Please sign in to comment.