summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_posix.py
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-06-06 17:49:47 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-06-06 17:49:47 (GMT)
commit368f34bb4b877495ecb574cb9f17fe330b338cff (patch)
tree656c80c16a02cac449268a8f0fe5e5f4da97813c /Lib/test/test_posix.py
parent34b312e33dec43f9329f5e763be38f1584efffeb (diff)
downloadcpython-368f34bb4b877495ecb574cb9f17fe330b338cff.zip
cpython-368f34bb4b877495ecb574cb9f17fe330b338cff.tar.gz
cpython-368f34bb4b877495ecb574cb9f17fe330b338cff.tar.bz2
Issue #12196: Make os.pipe2() flags argument mandatory.
Diffstat (limited to 'Lib/test/test_posix.py')
-rw-r--r--Lib/test/test_posix.py4
1 files changed, 2 insertions, 2 deletions
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 @@ class PosixTester(unittest.TestCase):
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)