diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-01-12 15:49:47 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-01-12 15:49:47 +0000 |
commit | 9b911ca14d4897e517276cb9729ecc6ad6c178db (patch) | |
tree | f7809013eaadfe8169474e5bc112e65df1ea0159 /Lib/test/test_abc.py | |
parent | 0551144b3567de99eb8668284b37050e33df8eab (diff) | |
download | cpython-git-9b911ca14d4897e517276cb9729ecc6ad6c178db.tar.gz |
Merged revisions 87952-87954 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r87952 | benjamin.peterson | 2011-01-12 09:24:27 -0600 (Wed, 12 Jan 2011) | 1 line
move this test to test_descr; it's not abc specific
........
r87953 | benjamin.peterson | 2011-01-12 09:25:02 -0600 (Wed, 12 Jan 2011) | 1 line
oops, wrong class
........
r87954 | benjamin.peterson | 2011-01-12 09:34:01 -0600 (Wed, 12 Jan 2011) | 1 line
don't segfault on deleting __abstractmethods__ #10892
........
Diffstat (limited to 'Lib/test/test_abc.py')
-rw-r--r-- | Lib/test/test_abc.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Lib/test/test_abc.py b/Lib/test/test_abc.py index edd2c047f2..6a8c3a1327 100644 --- a/Lib/test/test_abc.py +++ b/Lib/test/test_abc.py @@ -70,13 +70,6 @@ class TestABC(unittest.TestCase): self.assertFalse(issubclass(OldstyleClass, A)) self.assertFalse(issubclass(A, OldstyleClass)) - def test_type_has_no_abstractmethods(self): - # type pretends not to have __abstractmethods__. - self.assertRaises(AttributeError, getattr, type, "__abstractmethods__") - class meta(type): - pass - self.assertRaises(AttributeError, getattr, meta, "__abstractmethods__") - def test_isinstance_class(self): class A: __metaclass__ = abc.ABCMeta |