diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index e4cf3c7d53b..ab8e71735c4 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -4398,7 +4398,7 @@ class MethodHolder: class OverloadTests(BaseTestCase): def test_overload_fails(self): - with self.assertRaises(RuntimeError): + with self.assertRaises(NotImplementedError): @overload def blah():