diff options
author | Damien George <damien.p.george@gmail.com> | 2017-06-27 12:38:39 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-06-28 12:21:29 +1000 |
commit | 409fc8f9c1c5f07bcbdb6229196775deb4133e03 (patch) | |
tree | 376f3dad12fa91f6b6e0da7440b337eec1eb5e08 | |
parent | 3a9445c6b3053d492c12bbf808d251c6da55632a (diff) | |
download | micropython-409fc8f9c1c5f07bcbdb6229196775deb4133e03.tar.gz micropython-409fc8f9c1c5f07bcbdb6229196775deb4133e03.zip |
tests/import: Update comment now that uPy raises correct exception.
-rw-r--r-- | tests/import/pkg7/subpkg1/subpkg2/mod3.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/import/pkg7/subpkg1/subpkg2/mod3.py b/tests/import/pkg7/subpkg1/subpkg2/mod3.py index 7ed69bdee9..c73e2081f0 100644 --- a/tests/import/pkg7/subpkg1/subpkg2/mod3.py +++ b/tests/import/pkg7/subpkg1/subpkg2/mod3.py @@ -3,8 +3,7 @@ from ...mod2 import bar print(mod1.foo) print(bar) -# when attempting relative import beyond top-level package uPy raises ImportError -# whereas CPython raises a ValueError +# attempted relative import beyond top-level package try: from .... import mod1 except ValueError: |