tests/import: Update comment now that uPy raises correct exception.

This commit is contained in:
Damien George 2017-06-27 12:38:39 +10:00
parent 3a9445c6b3
commit 409fc8f9c1
1 changed files with 1 additions and 2 deletions

View File

@ -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: