summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-09-09 06:46:48 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-09-09 06:46:48 (GMT)
commit2b9b70b43bce95dc9d98dcf1ff109e6b13b246aa (patch)
tree6a43ccbe50237622b28abb19115be23004cdfbc1 /Lib
parent50c584f50bea9a292337a5e8693428277408060b (diff)
downloadcpython-2b9b70b43bce95dc9d98dcf1ff109e6b13b246aa.zip
cpython-2b9b70b43bce95dc9d98dcf1ff109e6b13b246aa.tar.gz
cpython-2b9b70b43bce95dc9d98dcf1ff109e6b13b246aa.tar.bz2
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_configparser.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_configparser.py b/Lib/test/test_configparser.py
index 71a8f3f..2b08198 100644
--- a/Lib/test/test_configparser.py
+++ b/Lib/test/test_configparser.py
@@ -2052,5 +2052,11 @@ class BlatantOverrideConvertersTestCase(unittest.TestCase):
self.assertEqual(cfg['two'].getlen('one'), 5)
+class MiscTestCase(unittest.TestCase):
+ def test__all__(self):
+ blacklist = {"Error"}
+ support.check__all__(self, configparser, blacklist=blacklist)
+
+
if __name__ == '__main__':
unittest.main()