]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #26782: Acknowledge the incomplete status of __all__ in 3.5
authorMartin Panter <vadmium+py@gmail.com>
Sat, 16 Apr 2016 23:38:25 +0000 (23:38 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Sat, 16 Apr 2016 23:38:25 +0000 (23:38 +0000)
Handle is probably meant to be excluded, and STARTUPINFO will be added to
__all__ in 3.6.

Lib/test/test_subprocess.py

index c44352362073c760e84e7fb785dd65bfe665b52e..b5c86f2953457abb9f19f872c2fb2f6dd3240b19 100644 (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