summaryrefslogtreecommitdiff
path: root/tests/test_scoped_nodes.py
diff options
context:
space:
mode:
authorDaniel van Noord <13665637+DanielNoord@users.noreply.github.com>2023-04-25 13:32:28 +0200
committerDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2023-04-25 13:52:45 +0200
commitf13b247d617de36f44d7e825566f134174723c28 (patch)
tree2bed6354c5e96263f2cdbca0adda8d7dad6c47d4 /tests/test_scoped_nodes.py
parent82f62c26038b12466e075a235427f73d073f8362 (diff)
downloadastroid-git-f13b247d617de36f44d7e825566f134174723c28.tar.gz
Fix the signature of ``infer_call_result``
Diffstat (limited to 'tests/test_scoped_nodes.py')
-rw-r--r--tests/test_scoped_nodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_scoped_nodes.py b/tests/test_scoped_nodes.py
index 9f409582..e169dc66 100644
--- a/tests/test_scoped_nodes.py
+++ b/tests/test_scoped_nodes.py
@@ -1986,7 +1986,7 @@ class ClassNodeTest(ModuleLoader, unittest.TestCase):
"""
)
assert isinstance(func, nodes.FunctionDef)
- result = next(func.infer_call_result())
+ result = next(func.infer_call_result(None))
self.assertIsInstance(result, Generator)
self.assertEqual(result.parent, func)