summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-16 23:38:25 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-04-16 23:38:25 (GMT)
commit06172e7bd4e19ab002069998e315cd32139f475b (patch)
treee8e5ef07377fe0bf220266a16863c8fde09d0a6e /Lib
parentb0c04cb98c4d59f0e9a046b78cdd83c465d3fba8 (diff)
downloadcpython-06172e7bd4e19ab002069998e315cd32139f475b.zip
cpython-06172e7bd4e19ab002069998e315cd32139f475b.tar.gz
cpython-06172e7bd4e19ab002069998e315cd32139f475b.tar.bz2
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_subprocess.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index c443523..b5c86f2 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