Skip to content

Commit 409fc8f

Browse files
committed
tests/import: Update comment now that uPy raises correct exception.
1 parent 3a9445c commit 409fc8f

File tree

1 file changed

+1
-2
lines changed
  • tests/import/pkg7/subpkg1/subpkg2

1 file changed

+1
-2
lines changed

tests/import/pkg7/subpkg1/subpkg2/mod3.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
print(mod1.foo)
44
print(bar)
55

6-
# when attempting relative import beyond top-level package uPy raises ImportError
7-
# whereas CPython raises a ValueError
6+
# attempted relative import beyond top-level package
87
try:
98
from .... import mod1
109
except ValueError:

0 commit comments

Comments
 (0)