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: cannot import name 'MESSAGE' from 'test' (/usr/local/lib/python3.9/test/__init__.py) #15

Open
yurivict opened this issue Oct 15, 2022 · 0 comments

Comments

@yurivict
Copy link

=========================================================================================== ERRORS ===========================================================================================
____________________________________________________________________________ ERROR collecting test/test_plugin.py ____________________________________________________________________________
ImportError while importing test module '/disk-samsung/freebsd-ports/devel/py-pytest-tornasync/work-py39/pytest-tornasync-0.6.0.post2/test/test_plugin.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/local/lib/python3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/test_plugin.py:9: in <module>
    from test import MESSAGE, PAUSE_TIME
E   ImportError: cannot import name 'MESSAGE' from 'test' (/usr/local/lib/python3.9/test/__init__.py)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
====================================================================================== 1 error in 0.45s ======================================================================================
*** Error code 2

Version: 0.6.0.post2
Python-3.9
FreeBSD 13.1 STABLE

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