]> granicus.if.org Git - python/commitdiff
bpo-36682: Rename duplicate tests in test_sys_setprofile (GH-12895)
authorWindson yang <wiwindson@outlook.com>
Mon, 22 Apr 2019 18:48:12 +0000 (02:48 +0800)
committerSteve Dower <steve.dower@microsoft.com>
Mon, 22 Apr 2019 18:48:12 +0000 (11:48 -0700)
Lib/test/test_sys_setprofile.py

index c2ecf8eeed9f9a0097cf87b2d4c171c5afc78641..b64bcbc5b6862b5692f4d8dc72aa62e911c8c5aa 100644 (file)
@@ -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)