-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
test in tox env failed. If the package is installed to /usr/loca, test successfully finished.
$ tox
GLOB sdist-make: /home/yosuke/Data/github/ya_python_xbrl/setup.py
py3 inst-nodeps: /home/yosuke/Data/github/ya_python_xbrl/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
py3 installed: attrs==22.2.0,exceptiongroup==1.0.4,flake8==6.0.0,iniconfig==1.1.1,mccabe==0.7.0,mypy==0.991,mypy-extensions==0.4.3,packaging==22.0,pluggy==1.0.0,py-cpuinfo==9.0.0,pycodestyle==2.10.0,pyflakes==3.0.1,pytest==7.2.0,pytest-benchmark==4.0.0,tomli==2.0.1,typing-extensions==4.4.0,ya-python-xbrl @ file:///home/yosuke/Data/github/ya_python_xbrl/.tox/.tmp/package/1/UNKNOWN-0.0.0.zip
py3 run-test-pre: PYTHONHASHSEED='3231060127'
py3 run-test: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.9.2, pytest-7.2.0, pluggy-1.0.0
cachedir: .tox/py3/.pytest_cache
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10 warmup=False warmup_iterations=100000)
rootdir: /home/yosuke/Data/github/ya_python_xbrl
plugins: benchmark-4.0.0
collected 0 items / 1 error
==================================== ERRORS ====================================
_____________________ ERROR collecting tests/test_unit.py ______________________
ImportError while importing test module '/home/yosuke/Data/github/ya_python_xbrl/tests/test_unit.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/test_unit.py:2: in <module>
from ya_python_xbrl.xbrl_parser import XbrlLexer, XbrlApp
E ModuleNotFoundError: No module named 'ya_python_xbrl'
=========================== short test summary info ============================
ERROR tests/test_unit.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 0.10s ===============================
ERROR: InvocationError for command /home/yosuke/Data/github/ya_python_xbrl/.tox/py3/bin/pytest (exited with code 2)
___________________________________ summary ____________________________________
ERROR: py3: commands failed
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working