bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895)
![](https://secure.gravatar.com/avatar/cc7737cd64a84f1b5c61a160798e97ee.jpg?s=120&d=mm&r=g)
https://github.com/python/cpython/commit/007d0b0188a16273a5850d89857ecef97c1... commit: 007d0b0188a16273a5850d89857ecef97c1f4595 branch: master author: Windson yang <wiwindson@outlook.com> committer: Steve Dower <steve.dower@microsoft.com> date: 2019-04-22T11:48:12-07:00 summary: bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895) files: M Lib/test/test_sys_setprofile.py diff --git a/Lib/test/test_sys_setprofile.py b/Lib/test/test_sys_setprofile.py index c2ecf8eeed9f..b64bcbc5b686 100644 --- a/Lib/test/test_sys_setprofile.py +++ b/Lib/test/test_sys_setprofile.py @@ -351,7 +351,7 @@ def f(p): (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 @@ def f(p): (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)
participants (1)
-
Steve Dower