mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-98713: Use @cpython_only
for a test that fails on PyPy (#98714)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
de6981680b
commit
9495360c72
2 changed files with 5 additions and 1 deletions
|
@ -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))):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue