Issue #26782: Acknowledge the incomplete status of __all__ in 3.5

Handle is probably meant to be excluded, and STARTUPINFO will be added to
__all__ in 3.6.
This commit is contained in:
Martin Panter 2016-04-16 23:38:25 +00:00
parent b0c04cb98c
commit 06172e7bd4
1 changed files with 2 additions and 1 deletions

View File

@ -2540,7 +2540,8 @@ class MiscTests(unittest.TestCase):
def test__all__(self):
"""Ensure that __all__ is populated properly."""
intentionally_excluded = set(("list2cmdline",))
# STARTUPINFO added to __all__ in 3.6
intentionally_excluded = {"list2cmdline", "STARTUPINFO", "Handle"}
exported = set(subprocess.__all__)
possible_exports = set()
import types