mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
inspect.tests: Remove redundant unittest
The removed unittest duplicates the other one (test_signature_on_builtins_no_signature)
This commit is contained in:
parent
4d91490579
commit
d65bc70db0
1 changed files with 0 additions and 5 deletions
|
@ -1593,11 +1593,6 @@ class TestSignatureObject(unittest.TestCase):
|
|||
('kwargs', ..., int, "var_keyword")),
|
||||
...))
|
||||
|
||||
def test_signature_on_unsupported_builtins(self):
|
||||
with self.assertRaisesRegex(ValueError, 'no signature found'):
|
||||
# min simply doesn't have a signature (yet)
|
||||
inspect.signature(min)
|
||||
|
||||
@unittest.skipIf(MISSING_C_DOCSTRINGS,
|
||||
"Signature information for builtins requires docstrings")
|
||||
def test_signature_on_builtins(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue