Lines Matching refs:ValueError
112 self.assertRaises(ValueError, t.open, 'bogusfile', 'r')
119 self.assertRaises(ValueError, t.open, 'bogusfile', 'w')
128 self.assertRaises(ValueError, t.append, 'boguscmd', 'xx')
131 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SOURCE)
136 self.assertRaises(ValueError, t.append, 'boguscmd', pipes.SINK)
140 self.assertRaises(ValueError, t.append, 'boguscmd $OUT',
143 self.assertRaises(ValueError, t.append, 'boguscmd',
148 self.assertRaises(ValueError, t.append, 'boguscmd $IN',
151 self.assertRaises(ValueError, t.append, 'boguscmd',
162 self.assertRaises(ValueError, t.prepend, 'tr a-z A-Z', 'xx')
165 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SINK)
170 self.assertRaises(ValueError, t.prepend, 'boguscmd', pipes.SOURCE)
174 self.assertRaises(ValueError, t.prepend, 'boguscmd $OUT',
177 self.assertRaises(ValueError, t.prepend, 'boguscmd',
182 self.assertRaises(ValueError, t.prepend, 'boguscmd $IN',
185 self.assertRaises(ValueError, t.prepend, 'boguscmd',
190 self.assertRaises(ValueError, t.open, 'bogusfile', 'x')