mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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):
|
||||
|
||||
def test_overload_fails(self):
|
||||
with self.assertRaises(RuntimeError):
|
||||
with self.assertRaises(NotImplementedError):
|
||||
|
||||
@overload
|
||||
def blah():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue