[Python-checkins] bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895)
Steve Dower
webhook-mailer at python.org
Mon Apr 22 14:48:51 EDT 2019
https://github.com/python/cpython/commit/007d0b0188a16273a5850d89857ecef97c1f4595
commit: 007d0b0188a16273a5850d89857ecef97c1f4595
branch: master
author: Windson yang <wiwindson at outlook.com>
committer: Steve Dower <steve.dower at 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)
More information about the Python-checkins
mailing list