Kaydet (Commit) 007d0b01 authored tarafından Windson yang's avatar Windson yang Kaydeden (comit) Steve Dower

bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895)

üst f51dd4fe
...@@ -351,7 +351,7 @@ class ProfileSimulatorTestCase(TestCaseBase): ...@@ -351,7 +351,7 @@ class ProfileSimulatorTestCase(TestCaseBase):
(1, 'return', f_ident)]) (1, 'return', f_ident)])
# Test an invalid call (bpo-34125) # Test an invalid call (bpo-34125)
def test_unbound_method_no_args(self): def test_unbound_method_no_keyword_args(self):
kwargs = {} kwargs = {}
def f(p): def f(p):
dict.get(**kwargs) dict.get(**kwargs)
...@@ -360,7 +360,7 @@ class ProfileSimulatorTestCase(TestCaseBase): ...@@ -360,7 +360,7 @@ class ProfileSimulatorTestCase(TestCaseBase):
(1, 'return', f_ident)]) (1, 'return', f_ident)])
# Test an invalid call (bpo-34125) # Test an invalid call (bpo-34125)
def test_unbound_method_invalid_args(self): def test_unbound_method_invalid_keyword_args(self):
kwargs = {} kwargs = {}
def f(p): def f(p):
dict.get(print, 42, **kwargs) dict.get(print, 42, **kwargs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment