Run tests with -O and -OO. #85
GitHub Actions / test-py3.8-on-macos-11
failed
Oct 30, 2023 in 0s
test-py3.8-on-macos-11 ❌
❌ test_py3.8_on_macos-11.xml
1 tests were completed in 463ms with 0 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
pytest | 1❌ | 463ms |
❌ pytest
❌ once_test
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call
Annotations
Check failure on line 0 in test_py3.8_on_macos-11.xml
github-actions / test-py3.8-on-macos-11
pytest ► once_test
Failed test found in:
test_py3.8_on_macos-11.xml
Error:
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call
Raw output
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/runner.py:341: in from_call
result: Optional[TResult] = func()
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/runner.py:372: in <lambda>
call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/python.py:531: in collect
self._inject_setup_module_fixture()
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
self.obj, ("setUpModule", "setup_module")
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/python.py:310: in obj
self._obj = obj = self._getobj()
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/python.py:528: in _getobj
return self._importtestmodule()
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/python.py:617: in _importtestmodule
mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/pathlib.py:567: in import_path
importlib.import_module(module_name)
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1014: in _gcd_import
???
<frozen importlib._bootstrap>:991: in _find_and_load
???
<frozen importlib._bootstrap>:975: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:671: in _load_unlocked
???
../../../hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:186: in exec_module
exec(co, module.__dict__)
once_test.py:45: in <module>
call_args: collections.abc.Iterable[tuple] | None = None,
E TypeError: 'ABCMeta' object is not subscriptable
Loading