summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
authorWindson yang <wiwindson@outlook.com>2019-04-23 02:48:12 +0800
committerSteve Dower <steve.dower@microsoft.com>2019-04-22 11:48:12 -0700
commit007d0b0188a16273a5850d89857ecef97c1f4595 (patch)
treef33f4f3df0faf0600a5321ea721ba8eb3bbb02b8 /Lib/test
parentf51dd4feb0794b7659f281173da9d8a04317d134 (diff)
downloadcpython-git-007d0b0188a16273a5850d89857ecef97c1f4595.tar.gz
bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895)
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_sys_setprofile.py4
1 files changed, 2 insertions, 2 deletions
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)