typing tests: `_overload_dummy` raises `NotImplementedError`, not `RuntimeError` (#98351)

This commit is contained in:
Nikita Sobolev 2022-10-20 03:53:36 +03:00 committed by GitHub
parent 1f369ad07f
commit 1ca6647f22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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():