mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Merge 3.5
This commit is contained in:
commit
fd2839e1de
2 changed files with 0 additions and 16 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue