typing tests: _overload_dummy raises NotImplementedError, not RuntimeError (GH-98351)

(cherry picked from commit 1ca6647f22)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
Miss Islington (bot) 2022-10-19 18:23:40 -07:00 committed by GitHub
parent df4aaff0e6
commit 5f5fa4ca4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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