| --- a/Lib/test/test_super.py Sat Jun 09 17:31:59 2012 +0100 |
| +++ b/Lib/test/test_super.py Mon May 21 23:01:17 2012 -0400 |
| @@ -81,7 +81,6 @@ |
| self.assertEqual(E().f(), 'AE') |
| - @unittest.expectedFailure |
| def test___class___set(self): |
| # See issue #12370 |
| class X(A): |
| @@ -92,29 +91,6 @@ |
| self.assertEqual(x.f(), 'A') |
| self.assertEqual(x.__class__, 413) |
| - def test___class___instancemethod(self): |
| - # See issue #14857 |
| - class X: |
| - def f(self): |
| - return __class__ |
| - self.assertIs(X().f(), X) |
| - |
| - def test___class___classmethod(self): |
| - # See issue #14857 |
| - class X: |
| - @classmethod |
| - def f(cls): |
| - return __class__ |
| - self.assertIs(X.f(), X) |
| - |
| - def test___class___staticmethod(self): |
| - # See issue #14857 |
| - class X: |
| - @staticmethod |
| - def f(): |
| - return __class__ |
| - self.assertIs(X.f(), X) |
| - |
| def test_main(): |
| support.run_unittest(TestSuper) |