From c57eb9a336391dc22aa29e9db592fa06d7fb7101 Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Thu, 4 Oct 2018 21:15:00 +0800 Subject: [PATCH] bpo-34871: Fix two typos in test_inspect.py (GH-9698) `arg` is misspelled as `agr`. I noticed this when playing with https://bugs.python.org/issue34871 https://bugs.python.org/issue34871 --- Lib/test/test_inspect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index e523dd40636..134b0cd0b73 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -851,7 +851,7 @@ class TestClassesAndFunctions(unittest.TestCase): @cpython_only @unittest.skipIf(MISSING_C_DOCSTRINGS, "Signature information for builtins requires docstrings") - def test_getfullagrspec_builtin_func(self): + def test_getfullargspec_builtin_func(self): import _testcapi builtin = _testcapi.docstring_with_signature_with_defaults spec = inspect.getfullargspec(builtin) @@ -860,7 +860,7 @@ class TestClassesAndFunctions(unittest.TestCase): @cpython_only @unittest.skipIf(MISSING_C_DOCSTRINGS, "Signature information for builtins requires docstrings") - def test_getfullagrspec_builtin_func_no_signature(self): + def test_getfullargspec_builtin_func_no_signature(self): import _testcapi builtin = _testcapi.docstring_no_signature with self.assertRaises(TypeError):