From: Windson yang Date: Mon, 22 Apr 2019 18:48:12 +0000 (+0800) Subject: bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895) X-Git-Tag: v3.8.0a4~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=007d0b0188a16273a5850d89857ecef97c1f4595;p=python bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895) --- diff --git a/Lib/test/test_sys_setprofile.py b/Lib/test/test_sys_setprofile.py index c2ecf8eeed..b64bcbc5b6 100644 --- a/Lib/test/test_sys_setprofile.py +++ b/Lib/test/test_sys_setprofile.py @@ -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)