summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-09-27 22:10:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-09-27 22:10:17 (GMT)
commit43f8f4cf18d3d2ffbc34f259d884cc71e064b584 (patch)
tree4784136ed17e33e3b8e7d65e26ca3cb09c916e80
parent7c95bb35e40a1bb598a259248b5a9880d8716556 (diff)
downloadcpython-43f8f4cf18d3d2ffbc34f259d884cc71e064b584.zip
cpython-43f8f4cf18d3d2ffbc34f259d884cc71e064b584.tar.gz
cpython-43f8f4cf18d3d2ffbc34f259d884cc71e064b584.tar.bz2
renmae test method to avoid conflict (#16056)
-rw-r--r--Lib/test/test_types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py
index 31ebd9c..3f5ac98 100644
--- a/Lib/test/test_types.py
+++ b/Lib/test/test_types.py
@@ -791,7 +791,7 @@ class ClassCreationTests(unittest.TestCase):
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