summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-01-28 17:19:52 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2014-01-28 17:19:52 (GMT)
commitd65bc70db0326bfef18ac9fcda167d5eee49cb77 (patch)
tree4c47d5bb9ccae6f31e985c1d7830e7b88be86116
parent4d91490579ecd0294902deb7717dd18de9ab2e3f (diff)
downloadcpython-d65bc70db0326bfef18ac9fcda167d5eee49cb77.zip
cpython-d65bc70db0326bfef18ac9fcda167d5eee49cb77.tar.gz
cpython-d65bc70db0326bfef18ac9fcda167d5eee49cb77.tar.bz2
inspect.tests: Remove redundant unittest
The removed unittest duplicates the other one (test_signature_on_builtins_no_signature)
-rw-r--r--Lib/test/test_inspect.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index a6b4c7a..16c0eb2 100644
--- a/Lib/test/test_inspect.py
+++ b/Lib/test/test_inspect.py
@@ -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):