We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e1455a commit 56a9657Copy full SHA for 56a9657
tests/functional/i/iterable_context.py
@@ -116,8 +116,7 @@ def test(*args):
116
for i in 10: # [not-an-iterable]
117
pass
118
119
-
120
-# skip uninferable instances
+# skip uninferable bases
121
from some_missing_module import Iterable
122
123
class MyClass(Iterable):
@@ -127,6 +126,11 @@ class MyClass(Iterable):
127
126
for i in m:
128
print(i)
129
+# skip uninferable instances
130
+ambiguous = range(i) or range(i)
131
+for j in ambiguous:
132
+ print(j)
133
+
134
# skip checks if statement is inside mixin/base/abstract class
135
class ManagedAccessViewMixin:
136
access_requirements = None
0 commit comments