diff -r 1f57839b7b4b Lib/test/test_gettext.py --- a/Lib/test/test_gettext.py Wed Jun 17 10:08:44 2015 -0500 +++ b/Lib/test/test_gettext.py Fri Jun 19 02:20:57 2015 +0200 @@ -440,6 +440,12 @@ self.assertEqual(t.__class__, DummyGNUTranslations) +class MiscTestCase(unittest.TestCase): + def test__all__(self): + blacklist = {'c2py'} + support.check__all__(self, gettext, 'gettext', blacklist=blacklist) + + def test_main(): support.run_unittest(__name__)