• Home
  • Raw
  • Download

Lines Matching refs:assertRaisesRegex

22         with self.assertRaisesRegex(SyntaxError, regex):
73 …with self.assertRaisesRegex(TypeError, r"f\(\) got some positional-only arguments passed as keywor…
77 …with self.assertRaisesRegex(TypeError, r"f\(\) got some positional-only arguments passed as keywor…
86 …with self.assertRaisesRegex(TypeError, r"f\(\) got some positional-only arguments passed as keywor…
90 …with self.assertRaisesRegex(TypeError, r"f\(\) got some positional-only arguments passed as keywor…
124 with self.assertRaisesRegex(TypeError, expected):
130 with self.assertRaisesRegex(TypeError, expected):
136 with self.assertRaisesRegex(TypeError, expected):
142 … with self.assertRaisesRegex(TypeError, r"f\(\) missing 1 required positional argument: 'c'"):
144 …with self.assertRaisesRegex(TypeError, r"f\(\) missing 2 required positional arguments: 'b' and 'c…
146 …with self.assertRaisesRegex(TypeError, r"f\(\) missing 3 required positional arguments: 'a', 'b', …
148 … with self.assertRaisesRegex(TypeError, r"f\(\) takes 3 positional arguments but 4 were given"):
155 … with self.assertRaisesRegex(TypeError, r"f\(\) missing 1 required positional argument: 'b'"):
157 …with self.assertRaisesRegex(TypeError, r"f\(\) missing 2 required positional arguments: 'a' and 'b…
159 …with self.assertRaisesRegex(TypeError, r"f\(\) takes from 2 to 3 positional arguments but 4 were g…
166 with self.assertRaisesRegex(TypeError, r"missing 1 required keyword-only argument: 'd'"):
168 … with self.assertRaisesRegex(TypeError, r"missing 2 required keyword-only arguments: 'd' and 'e'"):
170 … with self.assertRaisesRegex(TypeError, r"f\(\) missing 1 required positional argument: 'c'"):
172 …with self.assertRaisesRegex(TypeError, r"f\(\) missing 2 required positional arguments: 'b' and 'c…
174 …with self.assertRaisesRegex(TypeError, r" missing 3 required positional arguments: 'a', 'b', and '…
176 …with self.assertRaisesRegex(TypeError, r"f\(\) takes 3 positional arguments but 6 positional argum…
179 with self.assertRaisesRegex(TypeError, r"f\(\) got an unexpected keyword argument 'f'"):
186 … with self.assertRaisesRegex(TypeError, r"f\(\) missing 1 required positional argument: 'b'"):
188 …with self.assertRaisesRegex(TypeError, r"f\(\) missing 2 required positional arguments: 'a' and 'b…
190 … with self.assertRaisesRegex(TypeError, r"f\(\) takes 2 positional arguments but 3 were given"):
197 … with self.assertRaisesRegex(TypeError, r"f\(\) missing 1 required positional argument: 'a'"):
200 …with self.assertRaisesRegex(TypeError, r"f\(\) takes from 1 to 2 positional arguments but 3 were g…
261 with self.assertRaisesRegex(TypeError, expected):
265 …with self.assertRaisesRegex(TypeError, r"f\(\) missing 2 required positional arguments: 'a' and 'b…
276 … with self.assertRaisesRegex(TypeError, r"g\(\) missing 1 required positional argument: 'y2'"):
278 … with self.assertRaisesRegex(TypeError, r"g\(\) takes 2 positional arguments but 3 were given"):
294 … with self.assertRaisesRegex(TypeError, r"g\(\) missing 1 required positional argument: 'y2'"):
296 … with self.assertRaisesRegex(TypeError, r"g\(\) takes 2 positional arguments but 3 were given"):
328 …with self.assertRaisesRegex(TypeError, r"f\(\) missing 1 required positional argument: 'something'…
365 with self.assertRaisesRegex(TypeError, expected):
371 with self.assertRaisesRegex(TypeError, expected):
377 with self.assertRaisesRegex(TypeError, expected):
385 …with self.assertRaisesRegex(TypeError, r"f\(\) got some positional-only arguments passed as keywor…
406 …with self.assertRaisesRegex(TypeError, r"f\(\) got some positional-only arguments passed as keywor…