Skip to content

Commit

Permalink
skip test for pypy
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Dec 16, 2024
1 parent 113edbe commit 7b28ed8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_3347_weakref_mask_highlevel_array.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
from __future__ import annotations

import platform

import pytest

import awkward as ak


@pytest.mark.skipif(
platform.python_implementation() == "PyPy",
reason="PyPy has a different GC strategy than CPython and thus weakrefs may stay alive a little bit longer than expected, see: https://doc.pypy.org/en/latest/cpython_differences.html#differences-related-to-garbage-collection-strategies",
)
def test_Array_mask_weakref():
arr = ak.Array([1])
m = arr.mask
Expand Down

0 comments on commit 7b28ed8

Please sign in to comment.