Issue #23883: Add test.support.check__all__() and test gettext.__all__

Patches by Jacek Kołodziej.
This commit is contained in:
Martin Panter 2015-11-14 11:47:00 +00:00
parent 63c1ebb67b
commit d226d308a3
5 changed files with 132 additions and 0 deletions

View file

@ -440,6 +440,12 @@ class GettextCacheTestCase(GettextBaseTest):
self.assertEqual(t.__class__, DummyGNUTranslations)
class MiscTestCase(unittest.TestCase):
def test__all__(self):
blacklist = {'c2py', 'ENOENT'}
support.check__all__(self, gettext, blacklist=blacklist)
def test_main():
support.run_unittest(__name__)