Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(800)

Unified Diff: Lib/test/test_super.py

Issue 14843: support define_macros / undef_macros in setup.cfg
Patch Set: Created 11 months, 2 weeks ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_subprocess.py ('k') | Lib/test/test_sys.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- 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)
« no previous file with comments | « Lib/test/test_subprocess.py ('k') | Lib/test/test_sys.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7