diff options
Diffstat (limited to 'Lib/test/test_abc.py')
-rw-r--r-- | Lib/test/test_abc.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_abc.py b/Lib/test/test_abc.py index e20e033..61c2876 100644 --- a/Lib/test/test_abc.py +++ b/Lib/test/test_abc.py @@ -402,6 +402,9 @@ class TestABC(unittest.TestCase): C() self.assertEqual(B.counter, 1) + def test_ABC_has___slots__(self): + self.assertTrue(hasattr(abc.ABC, '__slots__')) + class TestABCWithInitSubclass(unittest.TestCase): def test_works_with_init_subclass(self): |