Skip to content

Commit 5f5fa4c

Browse files
typing tests: _overload_dummy raises NotImplementedError, not RuntimeError (GH-98351)
(cherry picked from commit 1ca6647) Co-authored-by: Nikita Sobolev <[email protected]>
1 parent df4aaff commit 5f5fa4c

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
@@ -4367,7 +4367,7 @@ def method(self): ...
43674367
class OverloadTests(BaseTestCase):
43684368

43694369
def test_overload_fails(self):
4370-
with self.assertRaises(RuntimeError):
4370+
with self.assertRaises(NotImplementedError):
43714371

43724372
@overload
43734373
def blah():

0 commit comments

Comments
 (0)