mirror of
https://github.com/python/cpython
synced 2024-10-14 19:55:22 +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
|
@ -42,7 +42,7 @@
|
|||
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 @@ def blah():
|
|||
|
||||
blah()
|
||||
|
||||
@cpython_only # gh-98713
|
||||
def test_overload_on_compiled_functions(self):
|
||||
with patch("typing._overload_registry",
|
||||
defaultdict(lambda: defaultdict(dict))):
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
Fix a bug in the :mod:`typing` tests where a test relying on CPython-specific
|
||||
implementation details was not decorated with ``@cpython_only`` and was not
|
||||
skipped on other implementations.
|
Loading…
Reference in a new issue