summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys_setprofile.py
diff options
context:
space:
mode:
authorWindson yang <wiwindson@outlook.com>2019-04-22 18:48:12 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2019-04-22 18:48:12 (GMT)
commit007d0b0188a16273a5850d89857ecef97c1f4595 (patch)
treef33f4f3df0faf0600a5321ea721ba8eb3bbb02b8 /Lib/test/test_sys_setprofile.py
parentf51dd4feb0794b7659f281173da9d8a04317d134 (diff)
downloadcpython-007d0b0188a16273a5850d89857ecef97c1f4595.zip
cpython-007d0b0188a16273a5850d89857ecef97c1f4595.tar.gz
cpython-007d0b0188a16273a5850d89857ecef97c1f4595.tar.bz2
bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895)
Diffstat (limited to 'Lib/test/test_sys_setprofile.py')
-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 c2ecf8e..b64bcbc 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)