Skip to content

Commit 06172e7

Browse files
committed
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.
1 parent b0c04cb commit 06172e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_subprocess.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,8 @@ def test_getoutput(self):
25402540

25412541
def test__all__(self):
25422542
"""Ensure that __all__ is populated properly."""
2543-
intentionally_excluded = set(("list2cmdline",))
2543+
# STARTUPINFO added to __all__ in 3.6
2544+
intentionally_excluded = {"list2cmdline", "STARTUPINFO", "Handle"}
25442545
exported = set(subprocess.__all__)
25452546
possible_exports = set()
25462547
import types

0 commit comments

Comments
 (0)