summaryrefslogtreecommitdiff
path: root/astroid/protocols.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/protocols.py')
-rw-r--r--astroid/protocols.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/protocols.py b/astroid/protocols.py
index f19a9f41..d7a38f58 100644
--- a/astroid/protocols.py
+++ b/astroid/protocols.py
@@ -484,6 +484,7 @@ def with_assigned_stmts(self, node=None, context=None, asspath=None):
return 42
with ContextManager() as f:
pass
+
# ContextManager().infer() will return ContextManager
# f.infer() will return 42.