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 dependencies should not be required at collection time #1343

Open
berquist opened this issue Jan 9, 2024 · 0 comments
Open

Test dependencies should not be required at collection time #1343

berquist opened this issue Jan 9, 2024 · 0 comments
Assignees
Milestone

Comments

@berquist
Copy link
Member

berquist commented Jan 9, 2024

$ python -m pytest -k 'pyscf' test
==================================================================================================================================================================================== test session starts =====================================================================================================================================================================================
platform linux -- Python 3.11.6, pytest-7.4.4, pluggy-1.3.0
rootdir: /home/eric/development/cclib_berquist
configfile: pytest.ini
collected 148 items / 1 error / 148 deselected / 0 selected

=========================================================================================================================================================================================== ERRORS ===========================================================================================================================================================================================
____________________________________________________________________________________________________________________________________________________________________________ ERROR collecting test/test_bridge.py ____________________________________________________________________________________________________________________________________________________________________________
ImportError while importing test module '/home/eric/development/cclib_berquist/test/test_bridge.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/test_bridge.py:20: in <module>
    from .bridge.testase import *
test/bridge/testase.py:19: in <module>
    raise ImportError("Must install ase to run this test")
E   ImportError: Must install ase to run this test
@berquist berquist added this to the v2.0 milestone Jan 9, 2024
@berquist berquist self-assigned this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant