Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
fd2839e1
Commit
fd2839e1
authored
Apr 24, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Merge 3.5
parents
e4fbb020
5b6f0aa7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
+0
-16
Lib/test/test_pyexpat.py
Lib/test/test_pyexpat.py
+0
-6
Tools/clinic/clinic_test.py
Tools/clinic/clinic_test.py
+0
-10
No files found.
Lib/test/test_pyexpat.py
View file @
fd2839e1
...
...
@@ -42,12 +42,6 @@ class SetAttributeTest(unittest.TestCase):
self
.
parser
.
specified_attributes
=
x
self
.
assertIs
(
self
.
parser
.
specified_attributes
,
bool
(
x
))
def
test_specified_attributes
(
self
):
self
.
assertIs
(
self
.
parser
.
specified_attributes
,
False
)
for
x
in
0
,
1
,
2
,
0
:
self
.
parser
.
specified_attributes
=
x
self
.
assertIs
(
self
.
parser
.
specified_attributes
,
bool
(
x
))
def
test_invalid_attributes
(
self
):
with
self
.
assertRaises
(
AttributeError
):
self
.
parser
.
returns_unicode
=
1
...
...
Tools/clinic/clinic_test.py
View file @
fd2839e1
...
...
@@ -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
\
n
This/used to break Clinic!"
,
function
.
docstring
)
def
test_directive
(
self
):
c
=
FakeClinic
()
parser
=
DSLParser
(
c
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment