Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej

This commit is contained in:
Martin Panter 2015-11-14 12:46:42 +00:00
parent d226d308a3
commit 19e69c5a20
15 changed files with 111 additions and 16 deletions

View file

@ -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()