mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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:
parent
df4aaff0e6
commit
5f5fa4ca4b
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue