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

Tests fail out of the box #20

Open
ModeSevenIndustrialSolutions opened this issue Jul 2, 2024 · 1 comment
Open

Tests fail out of the box #20

ModeSevenIndustrialSolutions opened this issue Jul 2, 2024 · 1 comment

Comments

@ModeSevenIndustrialSolutions
Copy link
Contributor

Tox and pytest both fail after Pyscaffold is run with:

=================================================================== ERRORS ===================================================================
__________________________________________________ ERROR collecting tests/test_skeleton.py ___________________________________________________
ImportError while importing test module '/Users/mwatkins/Repos/modeseven-os-climate/osc-physrisk-financial/tests/test_skeleton.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
../../../.pyenv/versions/3.10.13/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_skeleton.py:3: in <module>
    from osc_physrisk_financial.skeleton import fib, main
E   ModuleNotFoundError: No module named 'osc_physrisk_financial'
@ModeSevenIndustrialSolutions
Copy link
Contributor Author

Looks like Python versions after 3.9 have issues?

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