-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: needs informationreporter needs to provide more information; can be closed after 2 or more weeks of inactivityreporter needs to provide more information; can be closed after 2 or more weeks of inactivity
Description
python -m pytest --cov=scripts --cov-report=term --cov-fail-under=90 --durations=3
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/local/lib/python3.11/site-packages/pytest/__main__.py", line 5, in <module>
raise SystemExit(pytest.console_main())
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/__init__.py", line 187, in console_main
code = main()
^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/__init__.py", line 145, in main
config = _prepareconfig(args, plugins)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/__init__.py", line 324, in _prepareconfig
config = pluginmanager.hook.pytest_cmdline_parse(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pluggy/_hooks.py", line 265, in __call__
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/helpconfig.py", line 102, in pytest_cmdline_parse
config: Config = outcome.get_result()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pluggy/_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1016, in pytest_cmdline_parse
self.parse(args)
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1304, in parse
self._preparse(args, addopts=addopts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1172, in _preparse
self._initini(args)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/__init__.py", line 1091, in _initini
rootpath, inipath, inicfg = determine_setup(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/findpaths.py", line 186, in determine_setup
rootdir, inipath, inicfg = locate_config([ancestor])
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/findpaths.py", line 108, in locate_config
ini_config = load_config_dict_from_file(p)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/_pytest/config/findpaths.py", line 67, in load_config_dict_from_file
import tomli
^^^^^^^^^^^^
ModuleNotFoundError: No module named 'tomli'
Unable to run command:
``python -m pytest --cov=scripts --cov-report=term --cov-fail-under=90 --durations=3``.
Message:
Command 'python -m pytest --cov=scripts --cov-report=term --cov-fail-under=90 --durations=3' returned non-zero exit status 1.
I can try to come up with a minimal test case for this if needed.
Metadata
Metadata
Assignees
Labels
status: needs informationreporter needs to provide more information; can be closed after 2 or more weeks of inactivityreporter needs to provide more information; can be closed after 2 or more weeks of inactivity