There was an error while loading. Please reload this page.
assertRaises
test_genericalias
1 parent ce2383e commit dff8e5dCopy full SHA for dff8e5d
1 file changed
Lib/test/test_genericalias.py
@@ -314,8 +314,11 @@ def test_parameter_chaining(self):
314
315
with self.assertRaises(TypeError):
316
list[int][int]
317
+ with self.assertRaises(TypeError):
318
dict[T, int][str, int]
319
320
dict[str, T][str, int]
321
322
dict[T, T][str, int]
323
324
def test_equality(self):
0 commit comments