From 409fc8f9c1c5f07bcbdb6229196775deb4133e03 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 27 Jun 2017 12:38:39 +1000 Subject: [PATCH] tests/import: Update comment now that uPy raises correct exception. --- tests/import/pkg7/subpkg1/subpkg2/mod3.py | 3 +-- 1 file changed, 1 insertion(+), 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: