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
007d0b01
Commit
007d0b01
authored
Apr 23, 2019
by
Windson yang
Committed by
Steve Dower
Apr 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895)
parent
f51dd4fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/test/test_sys_setprofile.py
Lib/test/test_sys_setprofile.py
+2
-2
No files found.
Lib/test/test_sys_setprofile.py
View file @
007d0b01
...
...
@@ -351,7 +351,7 @@ class ProfileSimulatorTestCase(TestCaseBase):
(
1
,
'return'
,
f_ident
)])
# Test an invalid call (bpo-34125)
def
test_unbound_method_no_args
(
self
):
def
test_unbound_method_no_
keyword_
args
(
self
):
kwargs
=
{}
def
f
(
p
):
dict
.
get
(
**
kwargs
)
...
...
@@ -360,7 +360,7 @@ class ProfileSimulatorTestCase(TestCaseBase):
(
1
,
'return'
,
f_ident
)])
# Test an invalid call (bpo-34125)
def
test_unbound_method_invalid_args
(
self
):
def
test_unbound_method_invalid_
keyword_
args
(
self
):
kwargs
=
{}
def
f
(
p
):
dict
.
get
(
print
,
42
,
**
kwargs
)
...
...
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