diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-10-20 03:53:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-19 17:53:36 -0700 |
commit | 1ca6647f22794f0a0c982ecb03e764db76d51087 (patch) | |
tree | 8208ea968b360f9b740264b22029c7c193cd9a33 | |
parent | 1f369ad07ff44b1fd6db75b33298e20ad604efc8 (diff) | |
download | cpython-git-1ca6647f22794f0a0c982ecb03e764db76d51087.tar.gz |
typing tests: `_overload_dummy` raises `NotImplementedError`, not `RuntimeError` (#98351)
-rw-r--r-- | Lib/test/test_typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py index e4cf3c7d53..ab8e71735c 100644 --- a/Lib/test/test_typing.py +++ b/Lib/test/test_typing.py @@ -4398,7 +4398,7 @@ class MethodHolder: class OverloadTests(BaseTestCase): def test_overload_fails(self): - with self.assertRaises(RuntimeError): + with self.assertRaises(NotImplementedError): @overload def blah(): |