8000 typing tests: `_overload_dummy` raises `NotImplementedError`, not `Ru… · python/cpython@5f5fa4c · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 5f5fa4c

Browse files
typing tests: _overload_dummy raises NotImplementedError, not RuntimeError (GH-98351)
(cherry picked from commit 1ca6647) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
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

Lines changed: 1 addition & 1 deletion
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)
0