summaryrefslogtreecommitdiffstats
path: root/Tools/clinic
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-04-24 20:50:18 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-04-24 20:50:18 (GMT)
commit5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f (patch)
treeb84d03c6bc8eb016ddb9071e96fd5d7bf8915427 /Tools/clinic
parentd30829def2be7edc649f06d73fdc5a4813e29d1f (diff)
downloadcpython-5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f.zip
cpython-5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f.tar.gz
cpython-5b6f0aa71c8f91a970eeb06eb8c636c8c69a569f.tar.bz2
Remove duplicated tests.
There were duplicated methods with the same name and body.
Diffstat (limited to 'Tools/clinic')
-rw-r--r--Tools/clinic/clinic_test.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/Tools/clinic/clinic_test.py b/Tools/clinic/clinic_test.py
index cd21000..ac0640c 100644
--- a/Tools/clinic/clinic_test.py
+++ b/Tools/clinic/clinic_test.py
@@ -3,7 +3,6 @@
# Licensed to the PSF under a contributor agreement.
#
-import builtins
import clinic
from clinic import DSLParser
import collections
@@ -747,15 +746,6 @@ Not at column 0!
Nested docstring here, goeth.
""".strip(), function.docstring)
- def test_parser_regression_special_character_in_parameter_column_of_docstring_first_line(self):
- function = self.parse_function("""
-module os
-os.stat
- path: str
-This/used to break Clinic!
-""")
- self.assertEqual("stat($module, /, path)\n--\n\nThis/used to break Clinic!", function.docstring)
-
def test_directive(self):
c = FakeClinic()
parser = DSLParser(c)