summaryrefslogtreecommitdiff
path: root/Lib/test/test_inspect.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r--Lib/test/test_inspect.py7
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, \