mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
typing tests: _overload_dummy
raises NotImplementedError
, not RuntimeError
(#98351)
This commit is contained in:
parent
1f369ad07f
commit
1ca6647f22
1 changed files with 1 additions and 1 deletions
|
@ -4398,7 +4398,7 @@ class MethodHolder:
|
||||||
class OverloadTests(BaseTestCase):
|
class OverloadTests(BaseTestCase):
|
||||||
|
|
||||||
def test_overload_fails(self):
|
def test_overload_fails(self):
|
||||||
with self.assertRaises(RuntimeError):
|
with self.assertRaises(NotImplementedError):
|
||||||
|
|
||||||
@overload
|
@overload
|
||||||
def blah():
|
def blah():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue