diff options
| author | Anthony Sottile <asottile@umich.edu> | 2021-05-22 07:51:43 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-22 15:51:43 +0100 |
| commit | 9e746e3298da36f4e8df0495f91a720f3e54ea33 (patch) | |
| tree | b0c7123d7f83d3699456ce2b82c478eb8689ae3f /Lib/test/test_inspect.py | |
| parent | e9f66aedf44ccc3be27975cfb070a44ce6a6bd13 (diff) | |
| download | cpython-git-9e746e3298da36f4e8df0495f91a720f3e54ea33.tar.gz | |
bpo-20684: Remove unused inspect._signature_get_bound_param (GH-21100)
Diffstat (limited to 'Lib/test/test_inspect.py')
| -rw-r--r-- | Lib/test/test_inspect.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 0ab65307cd..69f17f2477 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -4014,13 +4014,6 @@ class TestBoundArguments(unittest.TestCase): self.assertIs(type(ba.arguments), dict) class TestSignaturePrivateHelpers(unittest.TestCase): - def test_signature_get_bound_param(self): - getter = inspect._signature_get_bound_param - - self.assertEqual(getter('($self)'), 'self') - self.assertEqual(getter('($self, obj)'), 'self') - self.assertEqual(getter('($cls, /, obj)'), 'cls') - def _strip_non_python_syntax(self, input, clean_signature, self_parameter, last_positional_only): computed_clean_signature, \ |
