mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +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 @@ def method(self): ...
|
|||
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