diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2019-07-24 13:58:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-24 13:58:42 -0400 |
commit | b823665299593fa2f12a5f1a86af11dbb6b7bc4b (patch) | |
tree | b59fc95248a707e0c3ef69874cfccf24c9c5b392 /tests/pyscript/raises_exception.py | |
parent | 346589e7e81adcd2aff883776249778d57eb4faf (diff) | |
parent | 29eeef6829fc7fc4a7e706d90871e8c347de773a (diff) | |
download | cmd2-git-b823665299593fa2f12a5f1a86af11dbb6b7bc4b.tar.gz |
Merge pull request #739 from python-cmd2/presentation_stuff
Presentation stuff
Diffstat (limited to 'tests/pyscript/raises_exception.py')
-rw-r--r-- | tests/pyscript/raises_exception.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/pyscript/raises_exception.py b/tests/pyscript/raises_exception.py new file mode 100644 index 00000000..738edaf2 --- /dev/null +++ b/tests/pyscript/raises_exception.py @@ -0,0 +1,6 @@ +#!/usr/bin/env python +# coding=utf-8 +""" +Example demonstrating what happens when a Python script raises an exception +""" +1 + 'blue' |