summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-08-17 01:08:46 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-08-17 01:08:46 (GMT)
commit82c4885210955cc45c5388b95e8366acf15c41a7 (patch)
treeb1f083ae8c9004a658f667d7529d5e460d1ab23a /Lib
parent83cd3b91e2cd3d80e3884a7f0f920d24a65ffd7b (diff)
downloadcpython-82c4885210955cc45c5388b95e8366acf15c41a7.zip
cpython-82c4885210955cc45c5388b95e8366acf15c41a7.tar.gz
cpython-82c4885210955cc45c5388b95e8366acf15c41a7.tar.bz2
remove test for oldstyle classes
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_abc.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/test/test_abc.py b/Lib/test/test_abc.py
index d8961e7..bc09506 100644
--- a/Lib/test/test_abc.py
+++ b/Lib/test/test_abc.py
@@ -98,14 +98,6 @@ class TestABC(unittest.TestCase):
self.assertRaises(TypeError, F) # because bar is abstract now
self.assertTrue(isabstract(F))
- def test_subclass_oldstyle_class(self):
- class A:
- __metaclass__ = abc.ABCMeta
- class OldstyleClass:
- pass
- self.assertFalse(issubclass(OldstyleClass, A))
- self.assertFalse(issubclass(A, OldstyleClass))
-
def test_registration_basics(self):
class A(metaclass=abc.ABCMeta):
pass