We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a9445c commit 409fc8fCopy full SHA for 409fc8f
tests/import/pkg7/subpkg1/subpkg2/mod3.py
@@ -3,8 +3,7 @@
3
print(mod1.foo)
4
print(bar)
5
6
-# when attempting relative import beyond top-level package uPy raises ImportError
7
-# whereas CPython raises a ValueError
+# attempted relative import beyond top-level package
8
try:
9
from .... import mod1
10
except ValueError:
0 commit comments