Skip to content

Run tests with -O and -OO. #85

Run tests with -O and -OO.

Run tests with -O and -OO. #85

GitHub Actions / test-py3.8-on-windows-2019 failed Oct 30, 2023 in 0s

test-py3.8-on-windows-2019 ❌

Tests failed

❌ test_py3.8_on_windows-2019.xml

1 tests were completed in 438ms with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 1❌ 438ms

❌ pytest

❌ once_test
	c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\runner.py:341: in from_call

Annotations

Check failure on line 0 in test_py3.8_on_windows-2019.xml

See this annotation in the file changed.

@github-actions github-actions / test-py3.8-on-windows-2019

pytest ► once_test

Failed test found in:
  test_py3.8_on_windows-2019.xml
Error:
  c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\runner.py:341: in from_call
Raw output
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\runner.py:341: in from_call
    result: Optional[TResult] = func()
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\python.py:531: in collect
    self._inject_setup_module_fixture()
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\python.py:310: in obj
    self._obj = obj = self._getobj()
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\python.py:528: in _getobj
    return self._importtestmodule()
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\pathlib.py:567: in import_path
    importlib.import_module(module_name)
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\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
    ???
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\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