Summary
tests/test_gammatone.py has 2 failing tests:
test_gammatone.c_gammatone
test_gammatone.gammatone_c_from_extension
Error
TypeError: function takes at most 8 arguments (9 given)
The test calls gammatone_c.gammatone_c(...) with 9 arguments, but the compiled C extension accepts only 8.
Location
tests/test_gammatone.py:35 (doctest)
pyeeg/gammatone_c/ (compiled extension)
Likely cause
The Python-side call signature and the C-side function signature are out of sync — either the C extension needs to be rebuilt/regenerated, or the test call needs to match the current C signature.
Reproduction
uv run pytest tests/test_gammatone.py -q
Note
This is a pre-existing failure, unrelated to the TRF stats fix in issue #25.
Summary
tests/test_gammatone.pyhas 2 failing tests:test_gammatone.c_gammatonetest_gammatone.gammatone_c_from_extensionError
The test calls
gammatone_c.gammatone_c(...)with 9 arguments, but the compiled C extension accepts only 8.Location
tests/test_gammatone.py:35(doctest)pyeeg/gammatone_c/(compiled extension)Likely cause
The Python-side call signature and the C-side function signature are out of sync — either the C extension needs to be rebuilt/regenerated, or the test call needs to match the current C signature.
Reproduction
Note
This is a pre-existing failure, unrelated to the TRF stats fix in issue #25.