mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895)
This commit is contained in:
parent
f51dd4feb0
commit
007d0b0188
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue