Skip to content

Commit 1ca6647

Browse files
authored
typing tests: _overload_dummy raises NotImplementedError, not RuntimeError (#98351)
1 parent 1f369ad commit 1ca6647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4398,7 +4398,7 @@ def method(self): ...
43984398
class OverloadTests(BaseTestCase):
43994399

44004400
def test_overload_fails(self):
4401-
with self.assertRaises(RuntimeError):
4401+
with self.assertRaises(NotImplementedError):
44024402

44034403
@overload
44044404
def blah():

0 commit comments

Comments
 (0)