From 206cd1c284c2bdce943470a4c489012f37831959 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 19 Jun 2011 17:49:13 -0500 Subject: [PATCH] fix uglyNamingConvention --- Lib/test/test_super.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Lib/test/test_super.py b/Lib/test/test_super.py index 52874025466..914216d2dab 100644 --- a/Lib/test/test_super.py +++ b/Lib/test/test_super.py @@ -44,33 +44,33 @@ class G(A): class TestSuper(unittest.TestCase): - def testBasicsWorking(self): + def test_basics_working(self): self.assertEqual(D().f(), 'ABCD') - def testClassGetattrWorking(self): + def test_class_getattr_working(self): self.assertEqual(D.f(D()), 'ABCD') - def testSubclassNoOverrideWorking(self): + def test_subclass_no_override_working(self): self.assertEqual(E().f(), 'ABCD') self.assertEqual(E.f(E()), 'ABCD') - def testUnboundMethodTransferWorking(self): + def test_unbound_method_transfer_working(self): self.assertEqual(F().f(), 'ABCD') self.assertEqual(F.f(F()), 'ABCD') - def testClassMethodsStillWorking(self): + def test_class_methods_still_working(self): self.assertEqual(A.cm(), (A, 'A')) self.assertEqual(A().cm(), (A, 'A')) self.assertEqual(G.cm(), (G, 'A')) self.assertEqual(G().cm(), (G, 'A')) - def testSuperInClassMethodsWorking(self): + def test_super_in_class_methods_working(self): d = D() self.assertEqual(d.cm(), (d, (D, (D, (D, 'A'), 'B'), 'C'), 'D')) e = E() self.assertEqual(e.cm(), (e, (E, (E, (E, 'A'), 'B'), 'C'), 'D')) - def testSuperWithClosure(self): + def test_super_with_closure(self): # Issue4360: super() did not work in a function that # contains a closure class E(A):