[Python-checkins] cpython: renmae test method to avoid conflict (#16056)

benjamin.peterson python-checkins at python.org
Fri Sep 28 00:10:24 CEST 2012


http://hg.python.org/cpython/rev/e99c0425da59
changeset:   79199:e99c0425da59
user:        Benjamin Peterson <benjamin at python.org>
date:        Thu Sep 27 18:10:17 2012 -0400
summary:
  renmae test method to avoid conflict (#16056)

files:
  Lib/test/test_types.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py
--- a/Lib/test/test_types.py
+++ b/Lib/test/test_types.py
@@ -791,7 +791,7 @@
         self.assertEqual(C.y, 1)
         self.assertEqual(C.z, 2)
 
-    def test_new_class_exec_body(self):
+    def test_new_class_metaclass_keywords(self):
         #Test that keywords are passed to the metaclass:
         def meta_func(name, bases, ns, **kw):
             return name, bases, ns, kw

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list