mirror of https://github.com/python/cpython
typing tests: `_overload_dummy` raises `NotImplementedError`, not `RuntimeError` (#98351)
This commit is contained in:
parent
1f369ad07f
commit
1ca6647f22
|
@ -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():
|
||||
|
|
Loading…
Reference in New Issue