Lines Matching refs:assertRaises
12 self.assertRaises(TypeError, {}.has_key)
19 self.assertRaises(TypeError, {}.has_key, 0, 1)
41 self.assertRaises(TypeError, {}.has_key, x=2)
44 self.assertRaises(TypeError, {}.has_key, x=2)
47 self.assertRaises(TypeError, {}.has_key, x=2, y=2)
53 self.assertRaises(TypeError, {}.keys, 0)
56 self.assertRaises(TypeError, {}.keys, 0, 1)
86 self.assertRaises(TypeError, {}.keys, x=2)
89 self.assertRaises(TypeError, {}.keys, x=2, y=2)
92 self.assertRaises(TypeError, [].count)
98 self.assertRaises(TypeError, [].count, 1, 2)
120 self.assertRaises(TypeError, [].count, x=2)
123 self.assertRaises(TypeError, [].count, {}, x=2)
126 self.assertRaises(TypeError, [].count, x=2, y=2)