diff options
author | Damien George <damien.p.george@gmail.com> | 2014-02-15 22:55:00 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-02-15 22:55:00 +0000 |
commit | c8f78bc280447a06802d6456e8e759872e82246d (patch) | |
tree | 2faf58e60132f9f936e0274226987bda33ee5c91 /tests/basics/try-module.py | |
parent | 36109d246fc5396c38bedfc240ddbe60a3c718fc (diff) | |
download | micropython-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.py | 2 |
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: |