summaryrefslogtreecommitdiff
path: root/astroid/inference.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/inference.py')
-rw-r--r--astroid/inference.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/astroid/inference.py b/astroid/inference.py
index 12796855..5c83ed5e 100644
--- a/astroid/inference.py
+++ b/astroid/inference.py
@@ -713,12 +713,7 @@ def _infer_augassign(self, context=None):
yield util.Uninferable
return
- # TODO(cpopa): if we have A() * A(), trying to infer
- # the rhs with the same context will result in an
- # inference error, so we create another context for it.
- # This is a bug which should be fixed in InferenceContext at some point.
rhs_context = context.clone()
- rhs_context.path = set()
for rhs in self.value.infer(context=rhs_context):
if rhs is util.Uninferable:
# Don't know how to process this.