diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-07-01 20:54:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-01 20:54:06 -0400 |
commit | 26743a702afa42ff199614def9f7c5eb04308f76 (patch) | |
tree | f249feee0eda6894482d45045a796271851ad7dd /tests/scripts/raises_exception.py | |
parent | 79d5b675ab52a0522462e0ccfdab236787f3dac0 (diff) | |
parent | 4e8c08eb8fb22afa61b805f545c0d0460e79184e (diff) | |
download | cmd2-git-26743a702afa42ff199614def9f7c5eb04308f76.tar.gz |
Merge pull request #162 from python-cmd2/py_tests
Fixed a major bug in the pyscript command on Windows
Diffstat (limited to 'tests/scripts/raises_exception.py')
-rw-r--r-- | tests/scripts/raises_exception.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/scripts/raises_exception.py b/tests/scripts/raises_exception.py new file mode 100644 index 00000000..738edaf2 --- /dev/null +++ b/tests/scripts/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' |