Lines Matching refs:pipe2
886 @unittest.skipUnless(hasattr(os, 'pipe2'), "test needs os.pipe2()")
889 self.assertRaises(TypeError, os.pipe2, 'DEADBEEF')
890 self.assertRaises(TypeError, os.pipe2, 0, 0)
893 r, w = os.pipe2(0)
898 r, w = os.pipe2(os.O_CLOEXEC|os.O_NONBLOCK)
915 @unittest.skipUnless(hasattr(os, 'pipe2'), "test needs os.pipe2()")
920 self.assertRaises(OverflowError, os.pipe2, _testcapi.INT_MAX + 1)
921 self.assertRaises(OverflowError, os.pipe2, _testcapi.UINT_MAX + 1)