-
Notifications
You must be signed in to change notification settings - Fork 11
Closed as not planned
Description
Possibly due to new pytest versions, or due to interaction with other pytest plugins:
> python3 -m pytest --help
/usr/lib/python3.8/site-packages/pytest_spec/patch.py:168: SyntaxWarning: "is" with a literal. Did you mean "=="?
if test_name[:1] is ' ':
/usr/lib/python3.8/site-packages/nose/importer.py:12: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
from imp import find_module, load_module, acquire_lock, release_lock
/usr/lib/python3.8/site-packages/pytest_profiling.py:20: DeprecationWarning: invalid escape sequence \:
forbidden_chars = set('/?<>\:*|"')
/usr/lib/python3.8/site-packages/nbformat/notebooknode.py:4: DeprecationWarning:
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
/usr/lib/python3.8/site-packages/pytest_clarity/hints.py:1: DeprecationWarning:
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
/usr/lib/python3.8/site-packages/betamax/decorator.py:11: DeprecationWarning:
invalid escape sequence \*
/usr/lib/python3.8/site-packages/html5lib/_trie/datrie.py:3: DeprecationWarning:
Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop working
/usr/lib/python3.8/site-packages/django_assets/glob.py:124: DeprecationWarning:
invalid escape sequence \Z
/usr/lib/python3.8/site-packages/pluggy/callers.py:187: DeprecationWarning:
`type` argument to addoption() is the string 'string', but when supplied should be a type (for example `str` or `int`). (options: ('--template',))
Traceback (most recent call last):
File "/usr/lib64/python3.8/runpy.py", line 193, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib64/python3.8/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.8/site-packages/pytest/__main__.py", line 7, in <module>
raise SystemExit(pytest.main())
File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 92, in main
ret = config.hook.pytest_cmdline_main(
File "/usr/lib/python3.8/site-packages/pluggy/hooks.py", line 286, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 93, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 84, in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 208, in _multicall
return outcome.get_result()
File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 80, in get_result
raise ex[1].with_traceback(ex[2])
File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 187, in _multicall
res = hook_impl.function(*args)
File "/usr/lib/python3.8/site-packages/_pytest/helpconfig.py", line 134, in pytest_cmdline_main
config._do_configure()
File "/usr/lib/python3.8/site-packages/_pytest/config/__init__.py", line 778, in _do_configure
self.hook.pytest_configure.call_historic(kwargs=dict(config=self))
File "/usr/lib/python3.8/site-packages/pluggy/hooks.py", line 308, in call_historic
res = self._hookexec(self, self.get_hookimpls(), kwargs)
File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 93, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/usr/lib/python3.8/site-packages/pluggy/manager.py", line 84, in <lambda>
self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall(
File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 208, in _multicall
return outcome.get_result()
File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 80, in get_result
raise ex[1].with_traceback(ex[2])
File "/usr/lib/python3.8/site-packages/pluggy/callers.py", line 187, in _multicall
res = hook_impl.function(*args)
File "/usr/lib/python3.8/site-packages/pytest_logger/plugin.py", line 51, in pytest_configure
config.pluginmanager.register(LoggerPlugin(config, early_logger._logcfg), '_logger')
AttributeError: 'NoneType' object has no attribute '_logcfg'
Metadata
Metadata
Assignees
Labels
No labels