Skip to content

Commit 2b9b70b

Browse files
committed
Issue #27106: Add test for configparser.__all__
Patch by Jacek Kołodziej. The Error class is deliberately omitted because it is a generic name and of limited use.
1 parent 50c584f commit 2b9b70b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lib/test/test_configparser.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2052,5 +2052,11 @@ def test_instance_assignment(self):
20522052
self.assertEqual(cfg['two'].getlen('one'), 5)
20532053

20542054

2055+
class MiscTestCase(unittest.TestCase):
2056+
def test__all__(self):
2057+
blacklist = {"Error"}
2058+
support.check__all__(self, configparser, blacklist=blacklist)
2059+
2060+
20552061
if __name__ == '__main__':
20562062
unittest.main()

0 commit comments

Comments
 (0)