summaryrefslogtreecommitdiff
path: root/Lib/test/test_popen.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium>2015-09-09 03:01:17 +0000
committerMartin Panter <vadmium>2015-09-09 03:01:17 +0000
commita122b5a1fdecb8b131e1773a30e94021f32a90bc (patch)
tree69211f5815d460bc991ee6df2cb8f0aa8fbc1c3f /Lib/test/test_popen.py
parent9b82a99a64d3ef9ffd407e69be92a14ad482a925 (diff)
parent5127cdea054eba8d1f7631f050f3a91cc01b6542 (diff)
downloadcpython-git-a122b5a1fdecb8b131e1773a30e94021f32a90bc.tar.gz
Issue #23738: Merge 3.5 into 3.6
Diffstat (limited to 'Lib/test/test_popen.py')
-rw-r--r--Lib/test/test_popen.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py
index 8958db031b..da01a878fa 100644
--- a/Lib/test/test_popen.py
+++ b/Lib/test/test_popen.py
@@ -57,5 +57,9 @@ class PopenTest(unittest.TestCase):
with os.popen("echo hello") as f:
self.assertEqual(list(f), ["hello\n"])
+ def test_keywords(self):
+ with os.popen(cmd="exit 0", mode="w", buffering=-1):
+ pass
+
if __name__ == "__main__":
unittest.main()