Temporaly skip test_buf_and_str for PyPY
This commit is contained in:
parent
05a1a097a9
commit
f1bb043b70
|
@ -1,8 +1,17 @@
|
||||||
import os
|
import os
|
||||||
|
import platform
|
||||||
import psutil
|
import psutil
|
||||||
|
import pytest
|
||||||
from rustapi_module.buf_and_str import BytesExtractor
|
from rustapi_module.buf_and_str import BytesExtractor
|
||||||
|
|
||||||
|
PYPY = platform.python_implementation() == "PyPy"
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skipif(
|
||||||
|
PYPY,
|
||||||
|
reason="PyPy has a segfault bug around this area."
|
||||||
|
"See https://github.com/PyO3/pyo3/issues/589 for detail.",
|
||||||
|
)
|
||||||
def test_pybuffer_doesnot_leak_memory():
|
def test_pybuffer_doesnot_leak_memory():
|
||||||
N = 1000
|
N = 1000
|
||||||
extractor = BytesExtractor()
|
extractor = BytesExtractor()
|
||||||
|
|
Loading…
Reference in a new issue