Skip to content
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

Test failure: QCheckBox not defined #28

Open
telotortium opened this issue Mar 29, 2024 · 0 comments
Open

Test failure: QCheckBox not defined #28

telotortium opened this issue Mar 29, 2024 · 0 comments

Comments

@telotortium
Copy link
Contributor

Got the following test error when running make test:

=================================================================================================================== ERRORS ===================================================================================================================
____________________________________________________________________________________________________ ERROR collecting tests/test_init.py _____________________________________________________________________________________________________
tests/test_init.py:32: in <module>
    from chinese_prestudy import ChinesePrestudy
chinese_prestudy.py:79: in <module>
    class SelectedWords:
chinese_prestudy.py:98: in SelectedWords
    def checkbox(self, word: chinesevocablist.VocabWord, default: bool) -> QCheckBox:
E   NameError: name 'QCheckBox' is not defined
============================================================================================================== warnings summary ==============================================================================================================
venv/lib/python3.11/site-packages/jieba/_compat.py:18
  /Users/rmi1/Library/Application Support/Anki2/addons21/Chinese-Prestudy/venv/lib/python3.11/site-packages/jieba/_compat.py:18: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
    import pkg_resources

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
========================================================================================================== short test summary info ===========================================================================================================
ERROR tests/test_init.py - NameError: name 'QCheckBox' is not defined
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

No branches or pull requests

1 participant