diff options
| author | Martin Panter <vadmium+py@gmail.com> | 2016-04-16 23:38:25 +0000 |
|---|---|---|
| committer | Martin Panter <vadmium+py@gmail.com> | 2016-04-16 23:38:25 +0000 |
| commit | 06172e7bd4e19ab002069998e315cd32139f475b (patch) | |
| tree | e8e5ef07377fe0bf220266a16863c8fde09d0a6e | |
| parent | b0c04cb98c4d59f0e9a046b78cdd83c465d3fba8 (diff) | |
| download | cpython-git-06172e7bd4e19ab002069998e315cd32139f475b.tar.gz | |
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.
| -rw-r--r-- | Lib/test/test_subprocess.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py index c443523620..b5c86f2953 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 |
