8000 test: test fail with imgui-bundle · Issue #21 · pyapp-kit/scenex · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

test: test fail with imgui-bundle #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tlambert03 opened this 8F6B issue May 27, 2025 · 0 comments · May be fixed by #22
Open

test: test fail with imgui-bundle #21

tlambert03 opened this issue May 27, 2025 · 0 comments · May be fixed by #22

Comments

@tlambert03
Copy link
Member

not on CI, but if you run uv sync && pytest you get:

cls = <class 'scenex.adaptors._pygfx._view.View'>

    def _get_model_type(cls: TypeAliasType) -> type[EventedBase]:
        """Get the model class for a given adaptor class."""
        params = cls.__parameters__
>       if not (ref := params[0].__bound__):
E       IndexError: tuple index out of range

tests/test_model.py:29: IndexError
============================================= short test summary info =============================================
FAILED tests/test_model.py::test_events[Camera0] - IndexError: tuple index out of range
FAILED tests/test_model.py::test_events[Camera1] - IndexError: tuple index out of range
FAILED tests/test_model.py::test_events[Image] - IndexError: tuple index out of range
FAILED tests/test_model.py::test_events[Points] - IndexError: tuple index out of range

while uninstalling imgui-bundle fixes it, I don't think this has anything to do with imgui, but rather a side-effect of spinning up a view for any given fixture scene.

@tlambert03 tlambert03 linked a pull request May 27, 2025 that will close this issue
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 a pull request may close this issue.

1 participant
0