diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-14 12:46:42 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-14 12:46:42 (GMT) |
commit | 19e69c5a2067fe6322ead88733ebbca77673010b (patch) | |
tree | a16cdb8e1d9e80a4c47d8aa0702cc616afb1d3ea /Lib/test/test_enum.py | |
parent | d226d308a3856e67c654ff3d5924be6d24568388 (diff) | |
download | cpython-19e69c5a2067fe6322ead88733ebbca77673010b.zip cpython-19e69c5a2067fe6322ead88733ebbca77673010b.tar.gz cpython-19e69c5a2067fe6322ead88733ebbca77673010b.tar.bz2 |
Issue #23883: Add missing APIs to __all__; patch by Jacek KoĆodziej
Diffstat (limited to 'Lib/test/test_enum.py')
-rw-r--r-- | Lib/test/test_enum.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Lib/test/test_enum.py b/Lib/test/test_enum.py index 0f7b769..e4e6c2b 100644 --- a/Lib/test/test_enum.py +++ b/Lib/test/test_enum.py @@ -6,6 +6,7 @@ from collections import OrderedDict from enum import Enum, IntEnum, EnumMeta, unique from io import StringIO from pickle import dumps, loads, PicklingError, HIGHEST_PROTOCOL +from test import support # for pickle tests try: @@ -1708,5 +1709,11 @@ class TestStdLib(unittest.TestCase): if failed: self.fail("result does not equal expected, see print above") + +class MiscTestCase(unittest.TestCase): + def test__all__(self): + support.check__all__(self, enum) + + if __name__ == '__main__': unittest.main() |