Skip to content

Add pytests for the Lua-Python interface#97

Open
cclauss wants to merge 1 commit into
bastibe:masterfrom
cclauss:patch-5
Open

Add pytests for the Lua-Python interface#97
cclauss wants to merge 1 commit into
bastibe:masterfrom
cclauss:patch-5

Conversation

@cclauss

@cclauss cclauss commented Jun 17, 2026

Copy link
Copy Markdown

As requested in:

% pytest tests/test_lua_via_pytest.py

============================= test session starts ==============================
platform linux -- Python 3.14.6, pytest-9.1.0, pluggy-1.6.0
rootdir: /home/runner/work/lunatic-python/lunatic-python
collected 7 items

tests/test_lua_via_pytest.py ...ssss                                     [100%]

========================= 3 passed, 4 skipped in 0.02s =========================
# TODO: Remove this skip marker and fix the segmentation fault issues.
skip_segfault = pytest.mark.skip(
    reason="Segmentation fault in LuaJIT when accessing table elements"
)

% `pytest tests/test_lua_via_pytest.py`
```
============================= test session starts ==============================
platform linux -- Python 3.14.6, pytest-9.1.0, pluggy-1.6.0
rootdir: /home/runner/work/lunatic-python/lunatic-python
collected 7 items

tests/test_lua_via_pytest.py ...ssss                                     [100%]

========================= 3 passed, 4 skipped in 0.02s =========================
```
```python
# TODO: Remove this skip marker and fix the segmentation fault issues.
skip_segfault = pytest.mark.skip(
    reason="Segmentation fault in LuaJIT when accessing table elements"
)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant