Lines Matching refs:ValueError
47 raise ValueError("unknown method: %s" % method)
54 ("", ValueError("bad query field: ''")),
55 ("&", ValueError("bad query field: ''")),
56 ("&&", ValueError("bad query field: ''")),
62 ("&=a", ValueError("bad query field: ''")),
63 ("=a&", ValueError("bad query field: ''")),
64 ("=&a", ValueError("bad query field: 'a'")),
69 ("&b=a", ValueError("bad query field: ''")),
70 ("b&=a", ValueError("bad query field: 'b'")),
204 (";", ValueError("bad query field: ''")),
205 (";;", ValueError("bad query field: ''")),
206 ("=;a", ValueError("bad query field: 'a'")),
207 (";b=a", ValueError("bad query field: ''")),
208 ("b;=a", ValueError("bad query field: 'b'")),
415 with self.assertRaisesRegex(ValueError, 'I/O operation on closed file'):
444 with self.assertRaises(ValueError):
477 with self.assertRaises(ValueError):