diff --git a/src/trio/_core/_tests/test_run.py b/src/trio/_core/_tests/test_run.py index 9b059a436..45ea21cdd 100644 --- a/src/trio/_core/_tests/test_run.py +++ b/src/trio/_core/_tests/test_run.py @@ -1062,7 +1062,7 @@ async def main() -> None: # the upstream issue is resolved. @restore_unraisablehook() @pytest.mark.skipif( - sys.version_info[:3] == (3, 14, 0), + sys.version_info[:2] == (3, 14), reason="https://github.com/python/cpython/issues/133932", ) def test_error_in_run_loop() -> None: diff --git a/src/trio/_tests/test_exports.py b/src/trio/_tests/test_exports.py index 10d71a9ff..abc50210d 100644 --- a/src/trio/_tests/test_exports.py +++ b/src/trio/_tests/test_exports.py @@ -365,17 +365,6 @@ def lookup_symbol(symbol: str) -> dict[str, Any]: # type: ignore[misc, explicit ignore_names.add("__firstlineno__") ignore_names.add("__static_attributes__") - # pypy seems to have some additional dunders that differ - if sys.implementation.name == "pypy": - ignore_names |= { - "__basicsize__", - "__dictoffset__", - "__itemsize__", - "__sizeof__", - "__weakrefoffset__", - "__unicode__", - } - # inspect.getmembers sees `name` and `value` in Enums, otherwise # it behaves the same way as `dir` # runtime_names = no_underscores(dir(class_))