mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +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 @@ def test(a, b:'foo'=10, *args:'bar', spam:'baz', ham=123, **kwargs:int):
|
|||
('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