summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_typing.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2022-10-26 13:15:39 (GMT)
committerGitHub <noreply@github.com>2022-10-26 13:15:39 (GMT)
commit9495360c7256938a6185838561cf416599b7e94f (patch)
tree65cfcffd72cc434ac0c8fc0be1acb38e65c3c021 /Lib/test/test_typing.py
parentde6981680bcf6496e5996a853b2eaa700ed59b2c (diff)
downloadcpython-9495360c7256938a6185838561cf416599b7e94f.zip
cpython-9495360c7256938a6185838561cf416599b7e94f.tar.gz
cpython-9495360c7256938a6185838561cf416599b7e94f.tar.bz2
gh-98713: Use `@cpython_only` for a test that fails on PyPy (#98714)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Lib/test/test_typing.py')
-rw-r--r--Lib/test/test_typing.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_typing.py b/Lib/test/test_typing.py
index a3f52b8..9571d95 100644
--- a/Lib/test/test_typing.py
+++ b/Lib/test/test_typing.py
@@ -42,7 +42,7 @@ import typing
import weakref
import types
-from test.support import import_helper, captured_stderr
+from test.support import import_helper, captured_stderr, cpython_only
from test import mod_generics_cache
from test import _typed_dict_helper
@@ -4635,6 +4635,7 @@ class OverloadTests(BaseTestCase):
blah()
+ @cpython_only # gh-98713
def test_overload_on_compiled_functions(self):
with patch("typing._overload_registry",
defaultdict(lambda: defaultdict(dict))):