From 5f5fa4ca4b959f5e86fe141e297fd8b93eaeabff Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 19 Oct 2022 18:23:40 -0700 Subject: typing tests: `_overload_dummy` raises `NotImplementedError`, not `RuntimeError` (GH-98351) (cherry picked from commit 1ca6647f22794f0a0c982ecb03e764db76d51087) Co-authored-by: Nikita Sobolev --- Lib/test/test_typing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index 7159044..298e374 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -4367,7 +4367,7 @@ class MethodHolder: class OverloadTests(BaseTestCase): def test_overload_fails(self): - with self.assertRaises(RuntimeError): + with self.assertRaises(NotImplementedError): @overload def blah(): -- cgit v0.12