diff options
| author | Chih-Hsuan Yen <yan12125@gmail.com> | 2018-10-04 21:15:00 +0800 |
|---|---|---|
| committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-10-04 06:15:00 -0700 |
| commit | c57eb9a336391dc22aa29e9db592fa06d7fb7101 (patch) | |
| tree | 1775bb4194493f74d1dbb8b09f765f7d20ffcf9e /Lib/test/test_inspect.py | |
| parent | 5f5a7781c8bf7bcc476d3e05d980711be3920724 (diff) | |
| download | cpython-git-c57eb9a336391dc22aa29e9db592fa06d7fb7101.tar.gz | |
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
Diffstat (limited to 'Lib/test/test_inspect.py')
| -rw-r--r-- | Lib/test/test_inspect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index e523dd4063..134b0cd0b7 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): |
