diff options
author | Christian Heimes <christian@cheimes.de> | 2007-11-30 15:13:13 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2007-11-30 15:13:13 +0000 |
commit | 45031dfd1c37fca6361e881d56f4e62f800af91a (patch) | |
tree | 7c82c8ea5dd3b01dd12cf7df4167018bc862acf7 /Lib/test/test_abc.py | |
parent | 7d2ff884eeb636fcd30ebd2f9886c4b46e8545bc (diff) | |
download | cpython-git-45031dfd1c37fca6361e881d56f4e62f800af91a.tar.gz |
Backmerge -r59233:59232
Guido said:
Please roll this back. The error message you added is inappropriate
when the parameter to a legitimate register() call is omitted, e.g.
collections.Sequence.register()
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 a04b271515..e6c84154fe 100644 --- a/Lib/test/test_abc.py +++ b/Lib/test/test_abc.py @@ -146,13 +146,6 @@ class TestABC(unittest.TestCase): C() self.assertEqual(B.counter, 1) - def test_error_on_subclass(self): - class A(abc.ABCMeta): - pass - class B: - pass - self.assertRaises(TypeError, A.register, B) - def test_main(): test_support.run_unittest(TestABC) |