diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2015-11-14 11:47:00 (GMT) |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-14 11:47:00 (GMT) |
| commit | d226d308a3856e67c654ff3d5924be6d24568388 (patch) | |
| tree | 54dfa13bd191781f47aa9a7d6055752b98a112fe /Lib/test/test_gettext.py | |
| parent | 63c1ebb67b4716720ad6e807d8f6a19042af83eb (diff) | |
| download | cpython-d226d308a3856e67c654ff3d5924be6d24568388.zip cpython-d226d308a3856e67c654ff3d5924be6d24568388.tar.gz cpython-d226d308a3856e67c654ff3d5924be6d24568388.tar.bz2 | |
Issue #23883: Add test.support.check__all__() and test gettext.__all__
Patches by Jacek KoĆodziej.
Diffstat (limited to 'Lib/test/test_gettext.py')
| -rw-r--r-- | Lib/test/test_gettext.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py index de610c7..3a94383 100644 --- a/Lib/test/test_gettext.py +++ b/Lib/test/test_gettext.py @@ -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__) |
