mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej
This commit is contained in:
parent
d226d308a3
commit
19e69c5a20
15 changed files with 111 additions and 16 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue