diff options
author | Martin Panter <vadmium> | 2015-09-09 01:56:53 (GMT) |
---|---|---|
committer | Martin Panter <vadmium> | 2015-09-09 01:56:53 (GMT) |
commit | 0ff89099c7f1c848c0df3f7f2220b26e08b939da (patch) | |
tree | e207a8fe6251a50e6f1b3bb8fee21b916a8a49cb /Lib/test/test_popen.py | |
parent | dfcfe133001d8d6a8af05f1ce45d7c14ffd1a588 (diff) | |
parent | bf19d169504823c258a9aae4bf61c8df9ff5987f (diff) | |
download | cpython-0ff89099c7f1c848c0df3f7f2220b26e08b939da.zip cpython-0ff89099c7f1c848c0df3f7f2220b26e08b939da.tar.gz cpython-0ff89099c7f1c848c0df3f7f2220b26e08b939da.tar.bz2 |
Issue #23738: Merge 3.4 into 3.5
Diffstat (limited to 'Lib/test/test_popen.py')
-rw-r--r-- | Lib/test/test_popen.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_popen.py b/Lib/test/test_popen.py index 8958db0..da01a87 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() |