Skip to content

Commit d64798f

Browse files
authored
Fix CI failing on main (#3365)
* We don't care about PyPy + mypy anymore * Avoid segfault * Update src/trio/_core/_tests/test_run.py
1 parent 7d87afe commit d64798f

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

src/trio/_core/_tests/test_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ async def main() -> None:
10621062
# the upstream issue is resolved.
10631063
@restore_unraisablehook()
10641064
@pytest.mark.skipif(
1065-
sys.version_info[:3] == (3, 14, 0),
1065+
sys.version_info[:2] == (3, 14),
10661066
reason="https://github.com/python/cpython/issues/133932",
10671067
)
10681068
def test_error_in_run_loop() -> None:

src/trio/_tests/test_exports.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -365,17 +365,6 @@ def lookup_symbol(symbol: str) -> dict[str, Any]: # type: ignore[misc, explicit
365365
ignore_names.add("__firstlineno__")
366366
ignore_names.add("__static_attributes__")
367367

368-
# pypy seems to have some additional dunders that differ
369-
if sys.implementation.name == "pypy":
370-
ignore_names |= {
371-
"__basicsize__",
372-
"__dictoffset__",
373-
"__itemsize__",
374-
"__sizeof__",
375-
"__weakrefoffset__",
376-
"__unicode__",
377-
}
378-
379368
# inspect.getmembers sees `name` and `value` in Enums, otherwise
380369
# it behaves the same way as `dir`
381370
# runtime_names = no_underscores(dir(class_))

0 commit comments

Comments
 (0)