-
- ### ๐ง Setup Phase
-
- -
- ๐ Duration
-
-
- ```python
- 0.000131980050355196
- ```
-
-
- -
- ๐ Outcome
-
-
- ```python
- passed
- ```
-
-
-
- ### ๐ง Call Phase
-
- -
- ๐ Duration
-
-
- ```python
- 0.00016256992239505053
- ```
-
-
- -
- ๐ Outcome
-
-
- ```python
- failed
- ```
-
-
- -
- ๐ Crash
-
-
- ```python
- path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py
- lineno: 880
- message: RuntimeError: generator raised StopIteration
- ```
-
-
- -
- ๐ Traceback
-
-
- ```python
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py
- lineno: 341
- message: None
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py
- lineno: 242
- message: in
- - path: .pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py
- lineno: 513
- message: in __call__
- - path: .pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py
- lineno: 120
- message: in _hookexec
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py
- lineno: 92
- message: in pytest_runtest_call
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py
- lineno: 68
- message: in thread_exception_runtest_hook
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py
- lineno: 95
- message: in pytest_runtest_call
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py
- lineno: 70
- message: in unraisable_exception_runtest_hook
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py
- lineno: 846
- message: in pytest_runtest_call
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py
- lineno: 829
- message: in _runtest_for
- - path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py
- lineno: 880
- message: RuntimeError
- ```
-
-
- -
- ๐ Longrepr
-
-
- ```python
- def test_stop_iteration_direct():
- # Directly raise StopIteration exception
- > raise StopIteration()
- E StopIteration
-
- tests/test_math_utils.py:106: StopIteration
-
- The above exception was the direct cause of the following exception:
-
- cls =
- func = . at 0x7fd63958b4c0>
- when = 'call'
- reraise = (, )
-
- @classmethod
- def from_call(
- cls,
- func: Callable[[], TResult],
- when: Literal["collect", "setup", "call", "teardown"],
- reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None,
- ) -> CallInfo[TResult]:
- """Call func, wrapping the result in a CallInfo.
-
- :param func:
- The function to call. Called without arguments.
- :type func: Callable[[], _pytest.runner.TResult]
- :param when:
- The phase in which the function is called.
- :param reraise:
- Exception or exceptions that shall propagate if raised by the
- function, instead of being wrapped in the CallInfo.
- """
- excinfo = None
- start = timing.time()
- precise_start = timing.perf_counter()
- try:
- > result: TResult | None = func()
-
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:341:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:242: in
- lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
- .pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py:513: in __call__
- return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
- .pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py:120: in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:92: in pytest_runtest_call
- yield from thread_exception_runtest_hook()
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook
- yield
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call
- yield from unraisable_exception_runtest_hook()
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook
- yield
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:846: in pytest_runtest_call
- yield from self._runtest_for(item, "call")
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:829: in _runtest_for
- yield
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
-
- self = _capture_fixture=None>
- item =
-
- @hookimpl(wrapper=True)
- def pytest_runtest_call(self, item: Item) -> Generator[None]:
- with self.item_capture("call", item):
- > return (yield)
- E RuntimeError: generator raised StopIteration
-
- .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError
- ```
-
-
-
- ### ๐ง Teardown Phase
-
- -
- ๐ Duration
-
-
- ```python
- 0.00026454299222677946
- ```
-
-
- -
- ๐ Outcome
-
-
- ```python
- passed
- ```
-
-
-
-
-
+ :param func:
+ The function to call. Called without arguments.
+ :type func: Callable[[], _pytest.runner.TResult]
+ :param when:
+ The phase in which the function is called.
+ :param reraise:
+ Exception or exceptions that shall propagate if raised by the
+ function, instead of being wrapped in the CallInfo.
+ """
+ excinfo = None
+ start = timing.time()
+ precise_start = timing.perf_counter()
+ try:
+> result: TResult | None = func()
+
+.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:341:
+_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:242: in