commit | 368f34bb4b877495ecb574cb9f17fe330b338cff | [log] [tgz] |
---|---|---|
author | Charles-François Natali <neologix@free.fr> | Mon Jun 06 19:49:47 2011 +0200 |
committer | Charles-François Natali <neologix@free.fr> | Mon Jun 06 19:49:47 2011 +0200 |
tree | 656c80c16a02cac449268a8f0fe5e5f4da97813c | |
parent | 34b312e33dec43f9329f5e763be38f1584efffeb [diff] [blame] |
Issue #12196: Make os.pipe2() flags argument mandatory.
diff --git a/Lib/test/test_posix.py b/Lib/test/test_posix.py index 421ea68..70a47b0 100644 --- a/Lib/test/test_posix.py +++ b/Lib/test/test_posix.py
@@ -481,8 +481,8 @@ self.assertRaises(TypeError, os.pipe2, 'DEADBEEF') self.assertRaises(TypeError, os.pipe2, 0, 0) - # try calling without flag, like os.pipe() - r, w = os.pipe2() + # try calling with flags = 0, like os.pipe() + r, w = os.pipe2(0) os.close(r) os.close(w)