1 line
25 KiB
JSON
1 line
25 KiB
JSON
{"created": 1752494750.072603, "duration": 0.5365583896636963, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"failed": 6, "passed": 12, "xfailed": 1, "total": 19, "collected": 68}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n<frozen importlib._bootstrap>:1014: in _gcd_import\n ???\n<frozen importlib._bootstrap>:991: in _find_and_load\n ???\n<frozen importlib._bootstrap>:975: in _find_and_load_unlocked\n ???\n<frozen importlib._bootstrap>:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in <module>\n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_forth_file.py", "outcome": "passed", "result": [{"nodeid": "tests/test_forth_file.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_forth_file.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_forth_file.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_forth_file.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_forth_file.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_forth_file.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_forth_file.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_forth_file.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_forth_file.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_forth_file.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_forth_file.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_forth_file.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_forth_file.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_forth_file.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_forth_file.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_forth_file.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_forth_file.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_forth_file.py::test_generator_exit_direct", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_forth_file.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_forth_file.py::test_recursion_limit", "type": "Function", "lineno": 102}, {"nodeid": "tests/test_forth_file.py::test_malformed_code", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_forth_file.py::test_sys_exit", "type": "Function", "lineno": 117}, {"nodeid": "tests/test_forth_file.py::test_broken_function", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_forth_file.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_forth_file.py::test_module_not_found_error", "type": "Function", "lineno": 144}]}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 32}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 64}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 73}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_math_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 102}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 117}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 144}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 47}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_forth_file.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Dir"}, {"nodeid": "tests", "type": "Package"}]}], "tests": [{"nodeid": "tests/test_forth_file.py::test_broken", "lineno": 13, "outcome": "failed", "keywords": ["test_broken", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0007087918929755688, "outcome": "passed"}, "call": {"duration": 0.0002298559993505478, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 16, "message": "NameError: name 'want_the_test_to_fail' is not defined"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 16, "message": "NameError"}], "longrepr": "def test_broken():\n # simulating a broken or faulty test implementation that will cause the test to error\n> want_the_test_to_fail\nE NameError: name 'want_the_test_to_fail' is not defined\n\ntests/test_forth_file.py:16: NameError"}, "teardown": {"duration": 0.00041515007615089417, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_call_missing_function", "lineno": 17, "outcome": "passed", "keywords": ["test_call_missing_function", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00022223894484341145, "outcome": "passed"}, "call": {"duration": 0.0003755189245566726, "outcome": "passed"}, "teardown": {"duration": 0.00022388598881661892, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_addition_pass", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018855498638004065, "outcome": "passed"}, "call": {"duration": 0.00016337702982127666, "outcome": "passed"}, "teardown": {"duration": 0.00020553299691528082, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_addition_fail", "lineno": 26, "outcome": "failed", "keywords": ["test_addition_fail", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00016875809524208307, "outcome": "passed"}, "call": {"duration": 0.0005428839940577745, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 29, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 29, "message": "AssertionError"}], "longrepr": "def test_addition_fail():\n # Assertion failure: expected incorrect result\n> assert addition(2, 2) == 5\nE assert 4 == 5\nE + where 4 = addition(2, 2)\n\ntests/test_forth_file.py:29: AssertionError"}, "teardown": {"duration": 0.00025121704675257206, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_division_zero", "lineno": 30, "outcome": "passed", "keywords": ["test_division_zero", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0002015189966186881, "outcome": "passed"}, "call": {"duration": 0.00020123901776969433, "outcome": "passed"}, "teardown": {"duration": 0.00019573699682950974, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_multiply_xfail", "lineno": 35, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00021229893900454044, "outcome": "passed"}, "call": {"duration": 0.00031555898021906614, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 39, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure\")\n def test_multiply_xfail():\n # Expected fail test (xfail): incorrect expected multiply result\n> assert multiply(2, 2) == 5\nE assert 4 == 5\nE + where 4 = multiply(2, 2)\n\ntests/test_forth_file.py:39: AssertionError"}, "teardown": {"duration": 0.0002544319722801447, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_runtime_error", "lineno": 40, "outcome": "failed", "keywords": ["test_runtime_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018103595357388258, "outcome": "passed"}, "call": {"duration": 0.00017486501019448042, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 43, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 43, "message": "RuntimeError"}], "longrepr": "def test_runtime_error():\n # Test raises an uncaught RuntimeError\n> raise RuntimeError(\"Forced runtime error\")\nE RuntimeError: Forced runtime error\n\ntests/test_forth_file.py:43: RuntimeError"}, "teardown": {"duration": 0.00023402494844049215, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_memory_error", "lineno": 44, "outcome": "passed", "keywords": ["test_memory_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018837093375623226, "outcome": "passed"}, "call": {"duration": 0.00018969597294926643, "outcome": "passed"}, "teardown": {"duration": 0.0002033360069617629, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_timeout_error", "lineno": 49, "outcome": "passed", "keywords": ["test_timeout_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001694930251687765, "outcome": "passed"}, "call": {"duration": 0.0001870160922408104, "outcome": "passed"}, "teardown": {"duration": 0.0001944859977811575, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_recursion_error", "lineno": 54, "outcome": "passed", "keywords": ["test_recursion_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00017150293570011854, "outcome": "passed"}, "call": {"duration": 0.0009190989658236504, "outcome": "passed"}, "teardown": {"duration": 0.00021159497555345297, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_floating_point_error", "lineno": 61, "outcome": "passed", "keywords": ["test_floating_point_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00017518503591418266, "outcome": "passed"}, "call": {"duration": 0.0001701689325273037, "outcome": "passed"}, "teardown": {"duration": 0.00020629004575312138, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_floating_point_overflow", "lineno": 66, "outcome": "passed", "keywords": ["test_floating_point_overflow", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00019592302851378918, "outcome": "passed"}, "call": {"duration": 0.00018215004820376635, "outcome": "passed"}, "teardown": {"duration": 0.00019040005281567574, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_value_error", "lineno": 71, "outcome": "passed", "keywords": ["test_value_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00016608298756182194, "outcome": "passed"}, "call": {"duration": 0.00017906201537698507, "outcome": "passed"}, "teardown": {"duration": 0.0001933220773935318, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_type_error", "lineno": 76, "outcome": "passed", "keywords": ["test_type_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018288695719093084, "outcome": "passed"}, "call": {"duration": 0.00017513195052742958, "outcome": "passed"}, "teardown": {"duration": 0.00020069803576916456, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_unhandled_exception", "lineno": 81, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00016732001677155495, "outcome": "passed"}, "call": {"duration": 0.00016892293933779, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 84, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 84, "message": "Exception"}], "longrepr": "def test_unhandled_exception():\n # Raises generic unhandled Exception\n> raise Exception(\"Generic unhandled exception\")\nE Exception: Generic unhandled exception\n\ntests/test_forth_file.py:84: Exception"}, "teardown": {"duration": 0.0002352759474888444, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_custom_error", "lineno": 85, "outcome": "passed", "keywords": ["test_custom_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018699700012803078, "outcome": "passed"}, "call": {"duration": 0.00019343604799360037, "outcome": "passed"}, "teardown": {"duration": 0.00019353698007762432, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_stop_iteration_direct", "lineno": 90, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00016835296992212534, "outcome": "passed"}, "call": {"duration": 0.0001700820866972208, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError: generator raised StopIteration"}, "traceback": [{"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 341, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 242, "message": "in <lambda>"}, {"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": "def test_stop_iteration_direct():\n # Directly raise StopIteration exception\n> raise StopIteration()\nE StopIteration\n\ntests/test_forth_file.py:93: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = <class '_pytest.runner.CallInfo'>\nfunc = <function call_and_report.<locals>.<lambda> at 0x7f26796629d0>\nwhen = 'call'\nreraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)\n\n @classmethod\n def from_call(\n cls,\n func: Callable[[], TResult],\n when: Literal[\"collect\", \"setup\", \"call\", \"teardown\"],\n reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None,\n ) -> CallInfo[TResult]:\n \"\"\"Call func, wrapping the result in a CallInfo.\n \n :param func:\n The function to call. Called without arguments.\n :type func: Callable[[], _pytest.runner.TResult]\n :param when:\n The phase in which the function is called.\n :param reraise:\n Exception or exceptions that shall propagate if raised by the\n function, instead of being wrapped in the CallInfo.\n \"\"\"\n excinfo = None\n start = timing.time()\n precise_start = timing.perf_counter()\n try:\n> result: TResult | None = func()\n\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:341: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:242: in <lambda>\n lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise\n.pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py:513: in __call__\n return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n.pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py:120: in _hookexec\n return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:92: in pytest_runtest_call\n yield from thread_exception_runtest_hook()\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook\n yield\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call\n yield from unraisable_exception_runtest_hook()\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook\n yield\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:846: in pytest_runtest_call\n yield from self._runtest_for(item, \"call\")\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:829: in _runtest_for\n yield\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <CaptureManager _method='no' _global_capturing=<MultiCapture out=None err=None in_=None _state='suspended' _in_suspended=False> _capture_fixture=None>\nitem = <Function test_stop_iteration_direct>\n\n @hookimpl(wrapper=True)\n def pytest_runtest_call(self, item: Item) -> Generator[None]:\n with self.item_capture(\"call\", item):\n> return (yield)\nE RuntimeError: generator raised StopIteration\n\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError"}, "teardown": {"duration": 0.0004272049991413951, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_generator_exit_direct", "lineno": 94, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00028229004237800837, "outcome": "passed"}, "call": {"duration": 0.00020980392582714558, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 97, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 97, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_forth_file.py:97: GeneratorExit"}, "teardown": {"duration": 0.000269290991127491, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_keyboard_interrupt_direct", "lineno": 98, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001964910188689828, "outcome": "passed"}}]} |