From: Martin Panter Date: Sat, 16 Apr 2016 23:38:25 +0000 (+0000) Subject: Issue #26782: Acknowledge the incomplete status of __all__ in 3.5 X-Git-Tag: v3.6.0a1~185^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06172e7bd4e19ab002069998e315cd32139f475b;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index c44352362073..b5c86f295345 100644 --- a/Lib/test/test_subprocess.py +++ b/Lib/test/test_subprocess.py @@ -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