mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Issue #23883: Add test.support.check__all__() and test gettext.__all__
Patches by Jacek Kołodziej.
This commit is contained in:
parent
63c1ebb67b
commit
d226d308a3
5 changed files with 132 additions and 0 deletions
|
@ -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__)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue