Lines Matching refs:RuntimeError
85 self.assertRaises(RuntimeError, it.next)
204 raise RuntimeError('hello')
209 raise RuntimeError('hello')
219 self.assertRaises(RuntimeError, list, BadLen())
220 self.assertRaises(RuntimeError, list, BadLengthHint())
221 self.assertRaises(RuntimeError, [].extend, BadLen())
222 self.assertRaises(RuntimeError, [].extend, BadLengthHint())
223 self.assertRaises(RuntimeError, zip, BadLen())
224 self.assertRaises(RuntimeError, zip, BadLengthHint())
225 self.assertRaises(RuntimeError, filter, None, BadLen())
226 self.assertRaises(RuntimeError, filter, None, BadLengthHint())
227 self.assertRaises(RuntimeError, map, chr, BadLen())
228 self.assertRaises(RuntimeError, map, chr, BadLengthHint())
230 self.assertRaises(RuntimeError, b.extend, BadLen())
231 self.assertRaises(RuntimeError, b.extend, BadLengthHint())