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-pypypy3.9-on-macos-11 failed Oct 30, 2023 in 0s

test-pypypy3.9-on-macos-11 ❌

Tests failed

❌ test_pypypy3.9_on_macos-11.xml

1 tests were completed in 2s with 0 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
pytest 1❌ 2s

❌ pytest

❌ once_test
	../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/runner.py:341: in from_call

Annotations

Check failure on line 0 in test_pypypy3.9_on_macos-11.xml

See this annotation in the file changed.

@github-actions github-actions / test-pypypy3.9-on-macos-11

pytest ► once_test

Failed test found in:
  test_pypypy3.9_on_macos-11.xml
Error:
  ../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/runner.py:341: in from_call
Raw output
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/runner.py:341: in from_call
    result: Optional[TResult] = func()
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/runner.py:372: in <lambda>
    call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/python.py:531: in collect
    self._inject_setup_module_fixture()
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/python.py:545: in _inject_setup_module_fixture
    self.obj, ("setUpModule", "setup_module")
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/python.py:310: in obj
    self._obj = obj = self._getobj()
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/python.py:528: in _getobj
    return self._importtestmodule()
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/python.py:617: in _importtestmodule
    mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/site-packages/_pytest/pathlib.py:567: in import_path
    importlib.import_module(module_name)
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1030: in _gcd_import
    ???
<frozen importlib._bootstrap>:1007: in _find_and_load
    ???
<frozen importlib._bootstrap>:986: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:680: in _load_unlocked
    ???
../../../hostedtoolcache/PyPy/3.9.17/x64/lib/pypy3.9/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: unsupported operand type(s) for |: 'GenericAlias' and 'NoneType'