summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/try-module.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-15 22:55:00 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-15 22:55:00 +0000
commitc8f78bc280447a06802d6456e8e759872e82246d (patch)
tree2faf58e60132f9f936e0274226987bda33ee5c91 /tests/basics/try-module.py
parent36109d246fc5396c38bedfc240ddbe60a3c718fc (diff)
downloadmicropython-c8f78bc280447a06802d6456e8e759872e82246d.tar.gz
micropython-c8f78bc280447a06802d6456e8e759872e82246d.zip
py: VM never throws an exception, instead returns a status and value.
Addresses issue #290, and hopefully sets up things to allow generators throwing exceptions, etc.
Diffstat (limited to 'tests/basics/try-module.py')
-rw-r--r--tests/basics/try-module.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basics/try-module.py b/tests/basics/try-module.py
index e62df8487d..03a9db15b5 100644
--- a/tests/basics/try-module.py
+++ b/tests/basics/try-module.py
@@ -3,7 +3,7 @@
import import1b
def func1():
- return
+ print('func1')
def func2():
try: