From f145ca6b5a4dec2a580b528465dedd710ccab4c8 Mon Sep 17 00:00:00 2001 From: ci-bot Date: Tue, 15 Jul 2025 12:16:35 +0000 Subject: [PATCH] CI: update test and coverage reports --- ci-reports/markdown/TEST-REPORT.md | 428 ++++++++++++------------- ci-reports/markdown/pytest-report.json | 2 +- 2 files changed, 215 insertions(+), 215 deletions(-) diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 9fe4210e1..61307b586 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -48,7 +48,7 @@ ERROR tests/test_collector_error.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! /workspace/tligui_y/slic/tests/test_string_utils.py:43: KeyboardInterrupt (to show a full traceback on KeyboardInterrupt use --full-trace) -======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.75s ========= +======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.71s ========= ``` @@ -59,7 +59,7 @@ ERROR tests/test_collector_error.py ============================= test session starts ============================== platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 rootdir: /workspace/tligui_y/slic -plugins: cov-5.0.0, html-4.1.1, allure-pytest-2.13.5, metadata-3.1.1, json-report-1.5.0, md-report-0.6.2 +plugins: allure-pytest-2.13.5, html-4.1.1, metadata-3.1.1, cov-5.0.0, json-report-1.5.0, md-report-0.6.2 collected 50 items / 2 errors tests/test_io_utils.py ..FFFFFF.F @@ -134,7 +134,7 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.fil functions/io_utils.py:2: FileNotFoundError ____________________________ test_permission_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae04dedf0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978aceaca0> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -158,7 +158,7 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError _____________________________ test_mock_open_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae01515b0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978acf9d90> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -175,7 +175,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ return self._execute_mock_call(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError') def _execute_mock_call(self, /, *args, **kwargs): @@ -201,7 +201,7 @@ E ValueError: I/O operation on closed file tests/test_io_utils.py:50: ValueError ________________________________ test_os_error _________________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae0151fa0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978882f640> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -369,7 +369,7 @@ tests/test_math_utils.py:103: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f5ae3c67280> +func = . at 0x7f978ad1d550> when = 'call' reraise = (, ) @@ -525,7 +525,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -619,14 +619,14 @@ ERROR tests/test_collector_error.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! /workspace/tligui_y/slic/tests/test_string_utils.py:43: KeyboardInterrupt (to show a full traceback on KeyboardInterrupt use --full-trace) -======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.75s ========= +======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.71s ========= ``` --- # ๐Ÿงช Test Report -*Generated on 2025-07-15 12:14:26* +*Generated on 2025-07-15 12:16:34* ## ๐Ÿ“‹ Summary - **Passed**: `16` @@ -634,7 +634,7 @@ ERROR tests/test_collector_error.py - **Xfailed**: `2` - **Total**: `50` - **Collected**: `50` -- **Total Duration**: `0.754`s +- **Total Duration**: `0.715`s ## ๐Ÿ”Ž Tests
@@ -654,7 +654,7 @@ ERROR tests/test_collector_error.py โœ… #1 - **Status:** โœ… `passed` -- **Duration:** `0.000463` s +- **Duration:** `0.000439` s ### ๐Ÿ”ง Setup Phase @@ -663,7 +663,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.003480923012830317` +`0.003133182995952666` ``` @@ -688,7 +688,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00046294904313981533` +`0.00043904699850827456` ``` @@ -713,7 +713,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00025571498554199934` +`0.00025305093731731176` ``` @@ -747,7 +747,7 @@ ERROR tests/test_collector_error.py โœ… #2 - **Status:** โœ… `passed` -- **Duration:** `0.000279` s +- **Duration:** `0.000281` s ### ๐Ÿ”ง Setup Phase @@ -756,7 +756,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0004808959783986211` +`0.0004786719800904393` ``` @@ -781,7 +781,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00027877907268702984` +`0.0002809460274875164` ``` @@ -806,7 +806,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00015713204629719257` +`0.00016897509340196848` ``` @@ -840,7 +840,7 @@ ERROR tests/test_collector_error.py โœ… #9 - **Status:** โœ… `passed` -- **Duration:** `0.000963` s +- **Duration:** `0.000912` s ### ๐Ÿ”ง Setup Phase @@ -849,7 +849,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0007055039750412107` +`0.0006020460277795792` ``` @@ -874,7 +874,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0009632300352677703` +`0.0009123159106820822` ``` @@ -899,7 +899,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00015509699005633593` +`0.000153091037645936` ``` @@ -941,7 +941,7 @@ ERROR tests/test_collector_error.py โœ… #13 parameters: [2-2-4] - **Status:** โœ… `passed` -- **Duration:** `0.000167` s +- **Duration:** `0.000153` s - **Parameters:** `2-2-4` ### ๐Ÿ”ง Setup Phase @@ -951,7 +951,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0003211300354450941` +`0.0002777109621092677` ``` @@ -976,7 +976,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00016723701264709234` +`0.00015267706476151943` ``` @@ -1001,7 +1001,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001437499886378646` +`0.00013826193753629923` ``` @@ -1027,7 +1027,7 @@ ERROR tests/test_collector_error.py โœ… #14 parameters: [1-5-6] - **Status:** โœ… `passed` -- **Duration:** `0.000141` s +- **Duration:** `0.000140` s - **Parameters:** `1-5-6` ### ๐Ÿ”ง Setup Phase @@ -1037,7 +1037,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0002578370040282607` +`0.00026053900364786386` ``` @@ -1062,7 +1062,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014124508015811443` +`0.00013971806038171053` ``` @@ -1087,7 +1087,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001371100079268217` +`0.00014364602975547314` ``` @@ -1113,7 +1113,7 @@ ERROR tests/test_collector_error.py โœ… #15 parameters: [3-4-7] - **Status:** โœ… `passed` -- **Duration:** `0.000137` s +- **Duration:** `0.000127` s - **Parameters:** `3-4-7` ### ๐Ÿ”ง Setup Phase @@ -1123,7 +1123,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00023616699036210775` +`0.00023979588877409697` ``` @@ -1148,7 +1148,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001365999924018979` +`0.00012661004438996315` ``` @@ -1173,7 +1173,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00013289309572428465` +`0.00014709902461618185` ``` @@ -1199,7 +1199,7 @@ ERROR tests/test_collector_error.py โœ… #16 parameters: [3-5-8] - **Status:** โœ… `passed` -- **Duration:** `0.000129` s +- **Duration:** `0.000136` s - **Parameters:** `3-5-8` ### ๐Ÿ”ง Setup Phase @@ -1209,7 +1209,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00024087110068649054` +`0.000243876944296062` ``` @@ -1234,7 +1234,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001290380023419857` +`0.00013631803449243307` ``` @@ -1259,7 +1259,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00013302697334438562` +`0.00013911398127675056` ``` @@ -1285,7 +1285,7 @@ ERROR tests/test_collector_error.py โœ… #17 parameters: [3-6-9] - **Status:** โœ… `passed` -- **Duration:** `0.000130` s +- **Duration:** `0.000123` s - **Parameters:** `3-6-9` ### ๐Ÿ”ง Setup Phase @@ -1295,7 +1295,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00024251302238553762` +`0.00023376790340989828` ``` @@ -1320,7 +1320,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00013033195864409208` +`0.00012343295384198427` ``` @@ -1345,7 +1345,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00013469194527715445` +`0.00013270298950374126` ``` @@ -1379,7 +1379,7 @@ ERROR tests/test_collector_error.py โœ… #18 parameters: [a=2,b=2,expected=4] - **Status:** โœ… `passed` -- **Duration:** `0.000132` s +- **Duration:** `0.000127` s - **Parameters:** `a=2,b=2,expected=4` ### ๐Ÿ”ง Setup Phase @@ -1389,7 +1389,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00023422297090291977` +`0.00024139299057424068` ``` @@ -1414,7 +1414,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00013233302161097527` +`0.00012721202801913023` ``` @@ -1439,7 +1439,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00013371999375522137` +`0.00013067899271845818` ``` @@ -1465,7 +1465,7 @@ ERROR tests/test_collector_error.py โœ… #19 parameters: [a=1,b=5,expected=6] - **Status:** โœ… `passed` -- **Duration:** `0.000129` s +- **Duration:** `0.000135` s - **Parameters:** `a=1,b=5,expected=6` ### ๐Ÿ”ง Setup Phase @@ -1475,7 +1475,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00024388101883232594` +`0.00024358299560844898` ``` @@ -1500,7 +1500,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00012873706873506308` +`0.00013528496492654085` ``` @@ -1525,7 +1525,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014046800788491964` +`0.00013015803415328264` ``` @@ -1551,7 +1551,7 @@ ERROR tests/test_collector_error.py โœ… #20 parameters: [a=3,b=4,expected=7] - **Status:** โœ… `passed` -- **Duration:** `0.000130` s +- **Duration:** `0.000123` s - **Parameters:** `a=3,b=4,expected=7` ### ๐Ÿ”ง Setup Phase @@ -1561,7 +1561,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00023548793978989124` +`0.0002329519484192133` ``` @@ -1586,7 +1586,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.000129921012558043` +`0.0001231119967997074` ``` @@ -1611,7 +1611,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001337690046057105` +`0.00013015500735491514` ``` @@ -1653,7 +1653,7 @@ ERROR tests/test_collector_error.py โœ… #42 - **Status:** โœ… `passed` -- **Duration:** `0.000151` s +- **Duration:** `0.000144` s ### ๐Ÿ”ง Setup Phase @@ -1662,7 +1662,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001346200006082654` +`0.0001282630255445838` ``` @@ -1687,7 +1687,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00015125202480703592` +`0.00014387897681444883` ``` @@ -1712,7 +1712,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00010931992437690496` +`0.00010642397683113813` ``` @@ -1746,7 +1746,7 @@ ERROR tests/test_collector_error.py โœ… #44 - **Status:** โœ… `passed` -- **Duration:** `0.000154` s +- **Duration:** `0.000140` s ### ๐Ÿ”ง Setup Phase @@ -1755,7 +1755,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00011745200026780367` +`0.00012288393918424845` ``` @@ -1780,7 +1780,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00015387905295938253` +`0.00014027801807969809` ``` @@ -1805,7 +1805,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00010305899195373058` +`0.00010119297076016665` ``` @@ -1839,7 +1839,7 @@ ERROR tests/test_collector_error.py โœ… #45 - **Status:** โœ… `passed` -- **Duration:** `0.000145` s +- **Duration:** `0.000143` s ### ๐Ÿ”ง Setup Phase @@ -1848,7 +1848,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001047010300680995` +`0.00010759301949292421` ``` @@ -1873,7 +1873,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001445889938622713` +`0.00014339201152324677` ``` @@ -1898,7 +1898,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00010437099263072014` +`9.681505616754293e-05` ``` @@ -1932,7 +1932,7 @@ ERROR tests/test_collector_error.py โœ… #48 - **Status:** โœ… `passed` -- **Duration:** `0.000136` s +- **Duration:** `0.000146` s ### ๐Ÿ”ง Setup Phase @@ -1941,7 +1941,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00011541997082531452` +`0.00011911103501915932` ``` @@ -1966,7 +1966,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00013646401930600405` +`0.00014587899204343557` ``` @@ -1991,7 +1991,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00010003289207816124` +`0.00011005101259797812` ``` @@ -2034,7 +2034,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00012746208813041449` +`0.00011697795707732439` ``` @@ -2084,7 +2084,7 @@ ERROR tests/test_collector_error.py โŒ #3 - **Status:** โŒ `failed` -- **Duration:** `0.000158` s +- **Duration:** `0.000155` s ### ๐Ÿ”ง Setup Phase @@ -2093,7 +2093,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00011567899491637945` +`0.00012298300862312317` ``` @@ -2118,7 +2118,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00015777198132127523` +`0.00015497999265789986` ``` @@ -2187,7 +2187,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.00021948909852653742` +`0.00014413404278457165` ``` @@ -2221,7 +2221,7 @@ functions/io_utils.py:10: OSError` โŒ #4 - **Status:** โŒ `failed` -- **Duration:** `0.000208` s +- **Duration:** `0.000171` s ### ๐Ÿ”ง Setup Phase @@ -2230,7 +2230,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.00016052601858973503` +`0.00011844094842672348` ``` @@ -2255,7 +2255,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.0002077220706269145` +`0.00017056299839168787` ``` @@ -2326,7 +2326,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00017355591990053654` +`0.0001426569651812315` ``` @@ -2360,7 +2360,7 @@ functions/io_utils.py:2: FileNotFoundError` โŒ #5 - **Status:** โŒ `failed` -- **Duration:** `0.000203` s +- **Duration:** `0.000181` s ### ๐Ÿ”ง Setup Phase @@ -2369,7 +2369,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.0002640469465404749` +`0.00019466504454612732` ``` @@ -2394,7 +2394,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00020348699763417244` +`0.00018086202908307314` ``` @@ -2438,7 +2438,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae04dedf0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978aceaca0> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -2473,7 +2473,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.00017988099716603756` +`0.00016490998677909374` ``` @@ -2507,7 +2507,7 @@ tests/test_io_utils.py:34: PermissionError` โŒ #6 - **Status:** โŒ `failed` -- **Duration:** `0.003274` s +- **Duration:** `0.003165` s ### ๐Ÿ”ง Setup Phase @@ -2516,7 +2516,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.00022751593496650457` +`0.00018448196351528168` ``` @@ -2541,7 +2541,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.0032735310960561037` +`0.003165088011883199` ``` @@ -2585,7 +2585,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae01515b0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978acf9d90> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -2602,7 +2602,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ return self._execute_mock_call(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError') def _execute_mock_call(self, /, *args, **kwargs): @@ -2629,7 +2629,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.0003239540383219719` +`0.00029821996577084064` ``` @@ -2663,7 +2663,7 @@ E OSError: Mocked IOError โŒ #7 - **Status:** โŒ `failed` -- **Duration:** `0.000197` s +- **Duration:** `0.000185` s ### ๐Ÿ”ง Setup Phase @@ -2672,7 +2672,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.0001595409121364355` +`0.00014585303142666817` ``` @@ -2697,7 +2697,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.00019690091721713543` +`0.00018451304640620947` ``` @@ -2762,7 +2762,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00021392700728029013` +`0.00017527001909911633` ``` @@ -2796,7 +2796,7 @@ tests/test_io_utils.py:50: ValueError` โŒ #8 - **Status:** โŒ `failed` -- **Duration:** `0.000196` s +- **Duration:** `0.000181` s ### ๐Ÿ”ง Setup Phase @@ -2805,7 +2805,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.0002659530146047473` +`0.00024158996529877186` ``` @@ -2830,7 +2830,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00019564107060432434` +`0.00018089893274009228` ``` @@ -2874,7 +2874,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae0151fa0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978882f640> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -2906,7 +2906,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00020470505114644766` +`0.00017721205949783325` ``` @@ -2940,7 +2940,7 @@ tests/test_io_utils.py:55: OSError` โŒ #10 - **Status:** โŒ `failed` -- **Duration:** `0.000182` s +- **Duration:** `0.000166` s ### ๐Ÿ”ง Setup Phase @@ -2949,7 +2949,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00012266798876225948` +`0.00012071395758539438` ``` @@ -2974,7 +2974,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00018188601825386286` +`0.00016599195078015327` ``` @@ -3037,7 +3037,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.0001500690123066306` +`0.0001403900096192956` ``` @@ -3079,7 +3079,7 @@ tests/test_io_utils.py:69: FileNotFoundError` โŒ #11 - **Status:** โŒ `failed` -- **Duration:** `0.000183` s +- **Duration:** `0.000156` s ### ๐Ÿ”ง Setup Phase @@ -3088,7 +3088,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.0001353659899905324` +`0.00013012706767767668` ``` @@ -3113,7 +3113,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00018298695795238018` +`0.00015646906103938818` ``` @@ -3176,7 +3176,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00014818098861724138` +`0.00015052093658596277` ``` @@ -3210,7 +3210,7 @@ tests/test_math_utils.py:16: NameError` โŒ #12 - **Status:** โŒ `failed` -- **Duration:** `0.000177` s +- **Duration:** `0.000150` s ### ๐Ÿ”ง Setup Phase @@ -3219,7 +3219,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00012170698028057814` +`0.00012401700951159` ``` @@ -3244,7 +3244,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00017695501446723938` +`0.00015021697618067265` ``` @@ -3307,7 +3307,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00014803907833993435` +`0.00013656704686582088` ``` @@ -3341,7 +3341,7 @@ tests/test_math_utils.py:20: AttributeError` โŒ #21 - **Status:** โŒ `failed` -- **Duration:** `0.000495` s +- **Duration:** `0.000441` s ### ๐Ÿ”ง Setup Phase @@ -3350,7 +3350,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00010250392369925976` +`0.00010537204798310995` ``` @@ -3375,7 +3375,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.0004949980648234487` +`0.0004405659856274724` ``` @@ -3440,7 +3440,7 @@ tests/test_math_utils.py:48: AssertionError` ๐Ÿ“Œ Duration ``` -`0.0001374250277876854` +`0.00014023901894688606` ``` @@ -3474,7 +3474,7 @@ tests/test_math_utils.py:48: AssertionError` โŒ #22 - **Status:** โŒ `failed` -- **Duration:** `0.000160` s +- **Duration:** `0.000156` s ### ๐Ÿ”ง Setup Phase @@ -3483,7 +3483,7 @@ tests/test_math_utils.py:48: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00012915406841784716` +`0.00012081291060894728` ``` @@ -3508,7 +3508,7 @@ tests/test_math_utils.py:48: AssertionError` ๐Ÿ“Œ Duration ``` -`0.0001603439450263977` +`0.00015578488819301128` ``` @@ -3579,7 +3579,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00015445996541529894` +`0.00014144799206405878` ``` @@ -3613,7 +3613,7 @@ functions/math_utils.py:5: ZeroDivisionError` โŒ #24 - **Status:** โŒ `failed` -- **Duration:** `0.000149` s +- **Duration:** `0.000154` s ### ๐Ÿ”ง Setup Phase @@ -3622,7 +3622,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00012023199815303087` +`0.00011627795174717903` ``` @@ -3647,7 +3647,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00014856201596558094` +`0.00015445600729435682` ``` @@ -3710,7 +3710,7 @@ tests/test_math_utils.py:61: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.00014090200420469046` +`0.00014758692122995853` ``` @@ -3744,7 +3744,7 @@ tests/test_math_utils.py:61: RuntimeError` โŒ #25 - **Status:** โŒ `failed` -- **Duration:** `0.000148` s +- **Duration:** `0.000151` s ### ๐Ÿ”ง Setup Phase @@ -3753,7 +3753,7 @@ tests/test_math_utils.py:61: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.0001275420654565096` +`0.00021442293655127287` ``` @@ -3778,7 +3778,7 @@ tests/test_math_utils.py:61: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.00014837505295872688` +`0.00015053106471896172` ``` @@ -3841,7 +3841,7 @@ tests/test_math_utils.py:65: MemoryError` ๐Ÿ“Œ Duration ``` -`0.00014318397734314203` +`0.00014055101200938225` ``` @@ -3875,7 +3875,7 @@ tests/test_math_utils.py:65: MemoryError` โŒ #26 - **Status:** โŒ `failed` -- **Duration:** `0.000148` s +- **Duration:** `0.000157` s ### ๐Ÿ”ง Setup Phase @@ -3884,7 +3884,7 @@ tests/test_math_utils.py:65: MemoryError` ๐Ÿ“Œ Duration ``` -`0.0001175830839201808` +`0.00011746201198548079` ``` @@ -3909,7 +3909,7 @@ tests/test_math_utils.py:65: MemoryError` ๐Ÿ“Œ Duration ``` -`0.00014828704297542572` +`0.00015711202286183834` ``` @@ -3972,7 +3972,7 @@ tests/test_math_utils.py:69: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.00013627298176288605` +`0.000137769035063684` ``` @@ -4006,7 +4006,7 @@ tests/test_math_utils.py:69: TimeoutError` โŒ #27 - **Status:** โŒ `failed` -- **Duration:** `0.000782` s +- **Duration:** `0.000831` s ### ๐Ÿ”ง Setup Phase @@ -4015,7 +4015,7 @@ tests/test_math_utils.py:69: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.0001233119983226061` +`0.0001216839300468564` ``` @@ -4040,7 +4040,7 @@ tests/test_math_utils.py:69: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.0007821229519322515` +`0.0008314520819112659` ``` @@ -4111,7 +4111,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00014336605090647936` +`0.00014773907605558634` ``` @@ -4145,7 +4145,7 @@ E RecursionError: maximum recursion depth exceeded โŒ #28 - **Status:** โŒ `failed` -- **Duration:** `0.000157` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -4154,7 +4154,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00011753698345273733` +`0.00012793298810720444` ``` @@ -4179,7 +4179,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00015737395733594894` +`0.00014822394587099552` ``` @@ -4242,7 +4242,7 @@ tests/test_math_utils.py:79: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00014610495418310165` +`0.00013804505579173565` ``` @@ -4276,7 +4276,7 @@ tests/test_math_utils.py:79: FloatingPointError` โŒ #29 - **Status:** โŒ `failed` -- **Duration:** `0.000155` s +- **Duration:** `0.000166` s ### ๐Ÿ”ง Setup Phase @@ -4285,7 +4285,7 @@ tests/test_math_utils.py:79: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00012172199785709381` +`0.00012145598884671926` ``` @@ -4310,7 +4310,7 @@ tests/test_math_utils.py:79: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00015548907686024904` +`0.00016597798094153404` ``` @@ -4373,7 +4373,7 @@ tests/test_math_utils.py:83: OverflowError` ๐Ÿ“Œ Duration ``` -`0.0001408109674230218` +`0.00014972395729273558` ``` @@ -4407,7 +4407,7 @@ tests/test_math_utils.py:83: OverflowError` โŒ #30 - **Status:** โŒ `failed` -- **Duration:** `0.000154` s +- **Duration:** `0.000151` s ### ๐Ÿ”ง Setup Phase @@ -4416,7 +4416,7 @@ tests/test_math_utils.py:83: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00011786795221269131` +`0.00011916190851479769` ``` @@ -4441,7 +4441,7 @@ tests/test_math_utils.py:83: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00015437800902873278` +`0.00015149300452321768` ``` @@ -4504,7 +4504,7 @@ tests/test_math_utils.py:87: ValueError` ๐Ÿ“Œ Duration ``` -`0.00013898301403969526` +`0.00013654702343046665` ``` @@ -4538,7 +4538,7 @@ tests/test_math_utils.py:87: ValueError` โŒ #31 - **Status:** โŒ `failed` -- **Duration:** `0.000148` s +- **Duration:** `0.000149` s ### ๐Ÿ”ง Setup Phase @@ -4547,7 +4547,7 @@ tests/test_math_utils.py:87: ValueError` ๐Ÿ“Œ Duration ``` -`0.00011712790001183748` +`0.00013455504085868597` ``` @@ -4572,7 +4572,7 @@ tests/test_math_utils.py:87: ValueError` ๐Ÿ“Œ Duration ``` -`0.00014796399045735598` +`0.00014915503561496735` ``` @@ -4635,7 +4635,7 @@ tests/test_math_utils.py:91: TypeError` ๐Ÿ“Œ Duration ``` -`0.00014077802188694477` +`0.0001376420259475708` ``` @@ -4669,7 +4669,7 @@ tests/test_math_utils.py:91: TypeError` โŒ #32 - **Status:** โŒ `failed` -- **Duration:** `0.000149` s +- **Duration:** `0.000158` s ### ๐Ÿ”ง Setup Phase @@ -4678,7 +4678,7 @@ tests/test_math_utils.py:91: TypeError` ๐Ÿ“Œ Duration ``` -`0.00011908798478543758` +`0.00012270989827811718` ``` @@ -4703,7 +4703,7 @@ tests/test_math_utils.py:91: TypeError` ๐Ÿ“Œ Duration ``` -`0.00014946889132261276` +`0.00015768304001539946` ``` @@ -4766,7 +4766,7 @@ tests/test_math_utils.py:95: Exception` ๐Ÿ“Œ Duration ``` -`0.00014201109297573566` +`0.00014791404828429222` ``` @@ -4800,7 +4800,7 @@ tests/test_math_utils.py:95: Exception` โŒ #33 - **Status:** โŒ `failed` -- **Duration:** `0.000151` s +- **Duration:** `0.000146` s ### ๐Ÿ”ง Setup Phase @@ -4809,7 +4809,7 @@ tests/test_math_utils.py:95: Exception` ๐Ÿ“Œ Duration ``` -`0.00012091000098735094` +`0.00012002990115433931` ``` @@ -4834,7 +4834,7 @@ tests/test_math_utils.py:95: Exception` ๐Ÿ“Œ Duration ``` -`0.00015109905507415533` +`0.00014586793258786201` ``` @@ -4897,7 +4897,7 @@ tests/test_math_utils.py:99: CustomError` ๐Ÿ“Œ Duration ``` -`0.0001395960571244359` +`0.00014291296247392893` ``` @@ -4931,7 +4931,7 @@ tests/test_math_utils.py:99: CustomError` โŒ #34 - **Status:** โŒ `failed` -- **Duration:** `0.000149` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -4940,7 +4940,7 @@ tests/test_math_utils.py:99: CustomError` ๐Ÿ“Œ Duration ``` -`0.00011966703459620476` +`0.00012170604895800352` ``` @@ -4965,7 +4965,7 @@ tests/test_math_utils.py:99: CustomError` ๐Ÿ“Œ Duration ``` -`0.0001485730754211545` +`0.0001481559593230486` ``` @@ -5019,7 +5019,7 @@ tests/test_math_utils.py:103: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f5ae3c67280> +func = . at 0x7f978ad1d550> when = 'call' reraise = (, ) @@ -5092,7 +5092,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.0002648439258337021` +`0.00025452999398112297` ``` @@ -5126,7 +5126,7 @@ E RuntimeError: generator raised StopIteration โŒ #35 - **Status:** โŒ `failed` -- **Duration:** `0.000187` s +- **Duration:** `0.000176` s ### ๐Ÿ”ง Setup Phase @@ -5135,7 +5135,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00015367299783974886` +`0.00017640902660787106` ``` @@ -5160,7 +5160,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00018691807053983212` +`0.00017550692427903414` ``` @@ -5223,7 +5223,7 @@ tests/test_math_utils.py:107: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.00019896298181265593` +`0.00018231698777526617` ``` @@ -5257,7 +5257,7 @@ tests/test_math_utils.py:107: GeneratorExit` โŒ #36 - **Status:** โŒ `failed` -- **Duration:** `0.000171` s +- **Duration:** `0.000166` s ### ๐Ÿ”ง Setup Phase @@ -5266,7 +5266,7 @@ tests/test_math_utils.py:107: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.00013280694838613272` +`0.00013664609286934137` ``` @@ -5291,7 +5291,7 @@ tests/test_math_utils.py:107: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.00017136195674538612` +`0.0001661520218476653` ``` @@ -5355,7 +5355,7 @@ tests/test_math_utils.py:112: RecursionError` ๐Ÿ“Œ Duration ``` -`0.00014120701234787703` +`0.0001537760253995657` ``` @@ -5389,7 +5389,7 @@ tests/test_math_utils.py:112: RecursionError` โŒ #37 - **Status:** โŒ `failed` -- **Duration:** `0.000163` s +- **Duration:** `0.000177` s ### ๐Ÿ”ง Setup Phase @@ -5398,7 +5398,7 @@ tests/test_math_utils.py:112: RecursionError` ๐Ÿ“Œ Duration ``` -`0.00013619102537631989` +`0.00012948806397616863` ``` @@ -5423,7 +5423,7 @@ tests/test_math_utils.py:112: RecursionError` ๐Ÿ“Œ Duration ``` -`0.000162807060405612` +`0.00017666502390056849` ``` @@ -5492,7 +5492,7 @@ tests/test_math_utils.py:122: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00013700395356863737` +`0.00015017902478575706` ``` @@ -5526,7 +5526,7 @@ tests/test_math_utils.py:122: SyntaxError` โŒ #38 - **Status:** โŒ `failed` -- **Duration:** `0.000164` s +- **Duration:** `0.000159` s ### ๐Ÿ”ง Setup Phase @@ -5535,7 +5535,7 @@ tests/test_math_utils.py:122: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.0001258880365639925` +`0.0001259839627891779` ``` @@ -5560,7 +5560,7 @@ tests/test_math_utils.py:122: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00016398902516812086` +`0.00015900505241006613` ``` @@ -5623,7 +5623,7 @@ tests/test_math_utils.py:126: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00014722603373229504` +`0.0001555809285491705` ``` @@ -5657,7 +5657,7 @@ tests/test_math_utils.py:126: SystemExit` โŒ #39 - **Status:** โŒ `failed` -- **Duration:** `0.000153` s +- **Duration:** `0.000161` s ### ๐Ÿ”ง Setup Phase @@ -5666,7 +5666,7 @@ tests/test_math_utils.py:126: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00011867610737681389` +`0.00012197706382721663` ``` @@ -5691,7 +5691,7 @@ tests/test_math_utils.py:126: SystemExit` ๐Ÿ“Œ Duration ``` -`0.000152523978613317` +`0.00016138888895511627` ``` @@ -5764,7 +5764,7 @@ tests/test_math_utils.py:131: TypeError` ๐Ÿ“Œ Duration ``` -`0.00014469202142208815` +`0.00015403504949063063` ``` @@ -5798,7 +5798,7 @@ tests/test_math_utils.py:131: TypeError` โŒ #40 - **Status:** โŒ `failed` -- **Duration:** `0.000155` s +- **Duration:** `0.000162` s ### ๐Ÿ”ง Setup Phase @@ -5807,7 +5807,7 @@ tests/test_math_utils.py:131: TypeError` ๐Ÿ“Œ Duration ``` -`0.00011713500134646893` +`0.0001210939371958375` ``` @@ -5832,7 +5832,7 @@ tests/test_math_utils.py:131: TypeError` ๐Ÿ“Œ Duration ``` -`0.00015501200687140226` +`0.00016185804270207882` ``` @@ -5912,7 +5912,7 @@ tests/test_math_utils.py:139: ImportError` ๐Ÿ“Œ Duration ``` -`0.0001447800314053893` +`0.0001412510173395276` ``` @@ -5946,7 +5946,7 @@ tests/test_math_utils.py:139: ImportError` โŒ #41 - **Status:** โŒ `failed` -- **Duration:** `0.000490` s +- **Duration:** `0.000464` s ### ๐Ÿ”ง Setup Phase @@ -5955,7 +5955,7 @@ tests/test_math_utils.py:139: ImportError` ๐Ÿ“Œ Duration ``` -`0.00012474996037781239` +`0.00011916400399059057` ``` @@ -5980,7 +5980,7 @@ tests/test_math_utils.py:139: ImportError` ๐Ÿ“Œ Duration ``` -`0.0004897660110145807` +`0.0004636560333892703` ``` @@ -6039,7 +6039,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -6058,7 +6058,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00018053501844406128` +`0.00014049001038074493` ``` @@ -6100,7 +6100,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' โŒ #43 - **Status:** โŒ `failed` -- **Duration:** `0.000147` s +- **Duration:** `0.000149` s ### ๐Ÿ”ง Setup Phase @@ -6109,7 +6109,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00010956195183098316` +`0.00011700799223035574` ``` @@ -6134,7 +6134,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.000147263053804636` +`0.00014935503713786602` ``` @@ -6206,7 +6206,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.0001487199915573001` +`0.00013819802552461624` ``` @@ -6240,7 +6240,7 @@ functions/string_utils.py:3: TypeError` โŒ #46 - **Status:** โŒ `failed` -- **Duration:** `0.000144` s +- **Duration:** `0.000143` s ### ๐Ÿ”ง Setup Phase @@ -6249,7 +6249,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00010784808546304703` +`0.00011261401232331991` ``` @@ -6274,7 +6274,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00014379702042788267` +`0.00014314393047243357` ``` @@ -6337,7 +6337,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00013825902715325356` +`0.0001376579748466611` ``` @@ -6371,7 +6371,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` โŒ #47 - **Status:** โŒ `failed` -- **Duration:** `0.000154` s +- **Duration:** `0.000153` s ### ๐Ÿ”ง Setup Phase @@ -6380,7 +6380,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.0001181380357593298` +`0.00011564092710614204` ``` @@ -6405,7 +6405,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00015414890367537737` +`0.00015264598187059164` ``` @@ -6468,7 +6468,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.0001359529560431838` +`0.00015000905841588974` ``` @@ -6518,7 +6518,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` โŒ #23 - **Status:** โŒ `xfailed` -- **Duration:** `0.000265` s +- **Duration:** `0.000259` s ### ๐Ÿ”ง Setup Phase @@ -6527,7 +6527,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00013341999147087336` +`0.0001354070845991373` ``` @@ -6552,7 +6552,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.0002645790809765458` +`0.00025917706079781055` ``` @@ -6618,7 +6618,7 @@ tests/test_math_utils.py:57: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00014178699348121881` +`0.00015021697618067265` ``` @@ -6660,7 +6660,7 @@ tests/test_math_utils.py:57: AssertionError` โŒ #49 - **Status:** โŒ `xfailed` -- **Duration:** `0.000622` s +- **Duration:** `0.000621` s ### ๐Ÿ”ง Setup Phase @@ -6669,7 +6669,7 @@ tests/test_math_utils.py:57: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00011379807256162167` +`0.00011666992213577032` ``` @@ -6694,7 +6694,7 @@ tests/test_math_utils.py:57: AssertionError` ๐Ÿ“Œ Duration ``` -`0.0006221230141818523` +`0.000621385988779366` ``` @@ -6766,7 +6766,7 @@ tests/test_string_utils.py:39: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00013747892808169127` +`0.0001370779937133193` ``` diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index 778d777a8..67b7658c5 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752581666.2900438, "duration": 0.7535357475280762, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 32, "xfailed": 2, "total": 50, "collected": 50}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"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:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n: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 \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"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": 26}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 66}]}, {"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[2-2-4]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 53}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 62}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 70}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 80}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 84}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 88}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 92}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 96}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 104}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 108}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 123}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 127}, {"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": 147}]}, {"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": 15}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 23}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 31}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 40}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.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": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.003480923012830317, "outcome": "passed"}, "call": {"duration": 0.00046294904313981533, "outcome": "passed"}, "teardown": {"duration": 0.00025571498554199934, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file", "lineno": 16, "outcome": "passed", "keywords": ["test_write_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0004808959783986211, "outcome": "passed"}, "call": {"duration": 0.00027877907268702984, "outcome": "passed"}, "teardown": {"duration": 0.00015713204629719257, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "lineno": 22, "outcome": "failed", "keywords": ["test_cause_io_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011567899491637945, "outcome": "passed"}, "call": {"duration": 0.00015777198132127523, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/io_utils.py", "lineno": 10, "message": "OSError: Forced IO Error for testing"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 25, "message": ""}, {"path": "functions/io_utils.py", "lineno": 10, "message": "OSError"}], "longrepr": "def test_cause_io_error():\n # Raises manual IOError to simulate IO failure\n> cause_io_error()\n\ntests/test_io_utils.py:25: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n def cause_io_error():\n> raise IOError(\"Forced IO Error for testing\")\nE OSError: Forced IO Error for testing\n\nfunctions/io_utils.py:10: OSError"}, "teardown": {"duration": 0.00021948909852653742, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "lineno": 26, "outcome": "failed", "keywords": ["test_file_not_found", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00016052601858973503, "outcome": "passed"}, "call": {"duration": 0.0002077220706269145, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/io_utils.py", "lineno": 2, "message": "FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 29, "message": ""}, {"path": "functions/io_utils.py", "lineno": 2, "message": "FileNotFoundError"}], "longrepr": "def test_file_not_found():\n # Reading non-existing file raises FileNotFoundError\n> read_file(\"nonexistent.file\")\n\ntests/test_io_utils.py:29: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\npath = 'nonexistent.file'\n\n def read_file(path):\n> with open(path, \"r\", encoding=\"utf-8\") as f:\nE FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'\n\nfunctions/io_utils.py:2: FileNotFoundError"}, "teardown": {"duration": 0.00017355591990053654, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "lineno": 30, "outcome": "failed", "keywords": ["test_permission_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002640469465404749, "outcome": "passed"}, "call": {"duration": 0.00020348699763417244, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 34, "message": "PermissionError: Permission denied"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 36, "message": ""}, {"path": "functions/io_utils.py", "lineno": 2, "message": "in read_file"}, {"path": "tests/test_io_utils.py", "lineno": 34, "message": "PermissionError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae04dedf0>\n\n def test_permission_error(monkeypatch):\n # Patch open to raise PermissionError simulating access denial\n def raise_perm_error(*args, **kwargs):\n raise PermissionError(\"Permission denied\")\n monkeypatch.setattr(\"builtins.open\", raise_perm_error)\n> read_file(\"anyfile.txt\")\n\ntests/test_io_utils.py:36: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nfunctions/io_utils.py:2: in read_file\n with open(path, \"r\", encoding=\"utf-8\") as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'}\n\n def raise_perm_error(*args, **kwargs):\n> raise PermissionError(\"Permission denied\")\nE PermissionError: Permission denied\n\ntests/test_io_utils.py:34: PermissionError"}, "teardown": {"duration": 0.00017988099716603756, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "lineno": 37, "outcome": "failed", "keywords": ["test_mock_open_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00022751593496650457, "outcome": "passed"}, "call": {"duration": 0.0032735310960561037, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1140, "message": "OSError: Mocked IOError"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 43, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1081, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1085, "message": "in _mock_call"}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1140, "message": "OSError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae01515b0>\n\n def test_mock_open_error(monkeypatch):\n # Mock open() to raise IOError simulating read error\n mocked_open = mock.mock_open()\n mocked_open.side_effect = IOError(\"Mocked IOError\")\n monkeypatch.setattr(\"builtins.open\", mocked_open)\n> with open(\"file.txt\", \"r\") as f:\n\ntests/test_io_utils.py:43: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/unittest/mock.py:1081: in __call__\n return self._mock_call(*args, **kwargs)\n.pixi/envs/default/lib/python3.8/unittest/mock.py:1085: in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError')\n\n def _execute_mock_call(self, /, *args, **kwargs):\n # separate from _increment_mock_call so that awaited functions are\n # executed separately from their call, also AsyncMock overrides this method\n \n effect = self.side_effect\n if effect is not None:\n if _is_exception(effect):\n> raise effect\nE OSError: Mocked IOError\n\n.pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError"}, "teardown": {"duration": 0.0003239540383219719, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "lineno": 45, "outcome": "failed", "keywords": ["test_file_handle_closed_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001595409121364355, "outcome": "passed"}, "call": {"duration": 0.00019690091721713543, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 50, "message": "ValueError: I/O operation on closed file"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 50, "message": "ValueError"}], "longrepr": "def test_file_handle_closed_error():\n # Accessing closed file raises ValueError\n f = io.StringIO(\"content\")\n f.close()\n> f.read()\nE ValueError: I/O operation on closed file\n\ntests/test_io_utils.py:50: ValueError"}, "teardown": {"duration": 0.00021392700728029013, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_os_error", "lineno": 51, "outcome": "failed", "keywords": ["test_os_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002659530146047473, "outcome": "passed"}, "call": {"duration": 0.00019564107060432434, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 55, "message": "OSError: Simulated OSError"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 57, "message": ""}, {"path": "tests/test_io_utils.py", "lineno": 55, "message": "OSError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f5ae0151fa0>\n\n def test_os_error(monkeypatch):\n # Patch os.remove to raise OSError simulating filesystem error\n def raise_os_error(path):\n raise OSError(\"Simulated OSError\")\n monkeypatch.setattr(\"os.remove\", raise_os_error)\n> os.remove(\"file.txt\")\n\ntests/test_io_utils.py:57: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\npath = 'file.txt'\n\n def raise_os_error(path):\n> raise OSError(\"Simulated OSError\")\nE OSError: Simulated OSError\n\ntests/test_io_utils.py:55: OSError"}, "teardown": {"duration": 0.00020470505114644766, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "lineno": 58, "outcome": "passed", "keywords": ["test_write_file_readonly", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0007055039750412107, "outcome": "passed"}, "call": {"duration": 0.0009632300352677703, "outcome": "passed"}, "teardown": {"duration": 0.00015509699005633593, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "lineno": 66, "outcome": "failed", "keywords": ["test_file_not_found_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012266798876225948, "outcome": "passed"}, "call": {"duration": 0.00018188601825386286, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 69, "message": "FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt'"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 69, "message": "FileNotFoundError"}], "longrepr": "def test_file_not_found_error():\n # Raises FileNotFoundError when opening a non-existent file\n> open(\"no_such_file.txt\", \"r\")\nE FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt'\n\ntests/test_io_utils.py:69: FileNotFoundError"}, "teardown": {"duration": 0.0001500690123066306, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken", "lineno": 13, "outcome": "failed", "keywords": ["test_broken", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001353659899905324, "outcome": "passed"}, "call": {"duration": 0.00018298695795238018, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 16, "message": "NameError: name 'want_the_test_to_fail' is not defined"}, "traceback": [{"path": "tests/test_math_utils.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_math_utils.py:16: NameError"}, "teardown": {"duration": 0.00014818098861724138, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "lineno": 17, "outcome": "failed", "keywords": ["test_call_missing_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012170698028057814, "outcome": "passed"}, "call": {"duration": 0.00017695501446723938, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 20, "message": "AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 20, "message": "AttributeError"}], "longrepr": "def test_call_missing_function():\n # Accessing a missing function attribute raises AttributeError\n> getattr(math_utils, \"non_existent_function\")()\nE AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function'\n\ntests/test_math_utils.py:20: AttributeError"}, "teardown": {"duration": 0.00014803907833993435, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0003211300354450941, "outcome": "passed"}, "call": {"duration": 0.00016723701264709234, "outcome": "passed"}, "teardown": {"duration": 0.0001437499886378646, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002578370040282607, "outcome": "passed"}, "call": {"duration": 0.00014124508015811443, "outcome": "passed"}, "teardown": {"duration": 0.0001371100079268217, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023616699036210775, "outcome": "passed"}, "call": {"duration": 0.0001365999924018979, "outcome": "passed"}, "teardown": {"duration": 0.00013289309572428465, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024087110068649054, "outcome": "passed"}, "call": {"duration": 0.0001290380023419857, "outcome": "passed"}, "teardown": {"duration": 0.00013302697334438562, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024251302238553762, "outcome": "passed"}, "call": {"duration": 0.00013033195864409208, "outcome": "passed"}, "teardown": {"duration": 0.00013469194527715445, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=2,b=2,expected=4]", "parametrize", "pytestmark", "a=2,b=2,expected=4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023422297090291977, "outcome": "passed"}, "call": {"duration": 0.00013233302161097527, "outcome": "passed"}, "teardown": {"duration": 0.00013371999375522137, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=1,b=5,expected=6]", "parametrize", "pytestmark", "a=1,b=5,expected=6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024388101883232594, "outcome": "passed"}, "call": {"duration": 0.00012873706873506308, "outcome": "passed"}, "teardown": {"duration": 0.00014046800788491964, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=3,b=4,expected=7]", "parametrize", "pytestmark", "a=3,b=4,expected=7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023548793978989124, "outcome": "passed"}, "call": {"duration": 0.000129921012558043, "outcome": "passed"}, "teardown": {"duration": 0.0001337690046057105, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 45, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010250392369925976, "outcome": "passed"}, "call": {"duration": 0.0004949980648234487, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 48, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 48, "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_math_utils.py:48: AssertionError"}, "teardown": {"duration": 0.0001374250277876854, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 49, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012915406841784716, "outcome": "passed"}, "call": {"duration": 0.0001603439450263977, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError: division by zero"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 52, "message": ""}, {"path": "functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError"}], "longrepr": "def test_division_zero():\n # Will raise ZeroDivisionError if not handled in division\n> division(1, 0)\n\ntests/test_math_utils.py:52: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\na = 1, b = 0\n\n def division(a, b):\n> return a / b\nE ZeroDivisionError: division by zero\n\nfunctions/math_utils.py:5: ZeroDivisionError"}, "teardown": {"duration": 0.00015445996541529894, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 53, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013341999147087336, "outcome": "passed"}, "call": {"duration": 0.0002645790809765458, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 57, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 57, "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_math_utils.py:57: AssertionError"}, "teardown": {"duration": 0.00014178699348121881, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 58, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012023199815303087, "outcome": "passed"}, "call": {"duration": 0.00014856201596558094, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 61, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 61, "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_math_utils.py:61: RuntimeError"}, "teardown": {"duration": 0.00014090200420469046, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 62, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001275420654565096, "outcome": "passed"}, "call": {"duration": 0.00014837505295872688, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 65, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 65, "message": "MemoryError"}], "longrepr": "def test_memory_error():\n # Manually raise MemoryError to simulate out-of-memory condition\n> raise MemoryError(\"Simulated memory error\")\nE MemoryError: Simulated memory error\n\ntests/test_math_utils.py:65: MemoryError"}, "teardown": {"duration": 0.00014318397734314203, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 66, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001175830839201808, "outcome": "passed"}, "call": {"duration": 0.00014828704297542572, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 69, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 69, "message": "TimeoutError"}], "longrepr": "def test_timeout_error():\n # Manually raise TimeoutError simulating timeout conditions\n> raise TimeoutError(\"Simulated timeout error\")\nE TimeoutError: Simulated timeout error\n\ntests/test_math_utils.py:69: TimeoutError"}, "teardown": {"duration": 0.00013627298176288605, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 70, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001233119983226061, "outcome": "passed"}, "call": {"duration": 0.0007821229519322515, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 74, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 75, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 74, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 74, "message": "in recursive"}], "longrepr": "def test_recursion_error():\n # Infinite recursion triggers RecursionError\n def recursive():\n return recursive()\n> recursive()\n\ntests/test_math_utils.py:75: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:74: in recursive\n return recursive()\ntests/test_math_utils.py:74: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.00014336605090647936, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 76, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011753698345273733, "outcome": "passed"}, "call": {"duration": 0.00015737395733594894, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 79, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 79, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError (rare in practice)\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:79: FloatingPointError"}, "teardown": {"duration": 0.00014610495418310165, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 80, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012172199785709381, "outcome": "passed"}, "call": {"duration": 0.00015548907686024904, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 83, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 83, "message": "OverflowError"}], "longrepr": "def test_floating_point_overflow():\n # Exponential overflow triggers OverflowError\n> math.exp(1000)\nE OverflowError: math range error\n\ntests/test_math_utils.py:83: OverflowError"}, "teardown": {"duration": 0.0001408109674230218, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 84, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011786795221269131, "outcome": "passed"}, "call": {"duration": 0.00015437800902873278, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 87, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 87, "message": "ValueError"}], "longrepr": "def test_value_error():\n # ValueError on invalid integer conversion\n> int(\"invalid\")\nE ValueError: invalid literal for int() with base 10: 'invalid'\n\ntests/test_math_utils.py:87: ValueError"}, "teardown": {"duration": 0.00013898301403969526, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 88, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011712790001183748, "outcome": "passed"}, "call": {"duration": 0.00014796399045735598, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 91, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 91, "message": "TypeError"}], "longrepr": "def test_type_error():\n # TypeError when passing wrong argument type to sum\n> sum(5)\nE TypeError: 'int' object is not iterable\n\ntests/test_math_utils.py:91: TypeError"}, "teardown": {"duration": 0.00014077802188694477, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 92, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011908798478543758, "outcome": "passed"}, "call": {"duration": 0.00014946889132261276, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 95, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 95, "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_math_utils.py:95: Exception"}, "teardown": {"duration": 0.00014201109297573566, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 96, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012091000098735094, "outcome": "passed"}, "call": {"duration": 0.00015109905507415533, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 99, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 99, "message": "CustomError"}], "longrepr": "def test_custom_error():\n # Raises user-defined CustomError exception\n> raise CustomError(\"Custom error simulation\")\nE test_math_utils.CustomError: Custom error simulation\n\ntests/test_math_utils.py:99: CustomError"}, "teardown": {"duration": 0.0001395960571244359, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 100, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011966703459620476, "outcome": "passed"}, "call": {"duration": 0.0001485730754211545, "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 "}, {"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_math_utils.py:103: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f5ae3c67280>\nwhen = 'call'\nreraise = (, )\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 \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 = _capture_fixture=None>\nitem = \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.0002648439258337021, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 104, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00015367299783974886, "outcome": "passed"}, "call": {"duration": 0.00018691807053983212, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 107, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 107, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:107: GeneratorExit"}, "teardown": {"duration": 0.00019896298181265593, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 108, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013280694838613272, "outcome": "passed"}, "call": {"duration": 0.00017136195674538612, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 112, "message": "RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 112, "message": "RecursionError"}], "longrepr": "def test_recursion_limit():\n # Lower recursion limit to force RecursionError on deep recursion\n original_limit = sys.getrecursionlimit()\n> sys.setrecursionlimit(50)\nE RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low\n\ntests/test_math_utils.py:112: RecursionError"}, "teardown": {"duration": 0.00014120701234787703, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 119, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013619102537631989, "outcome": "passed"}, "call": {"duration": 0.000162807060405612, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 122, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 122, "message": "SyntaxError"}], "longrepr": "def test_malformed_code():\n # SyntaxError when executing malformed Python code\n> exec(\"def bad(:\\n pass\")\nE File \"\", line 1\nE def bad(:\nE ^\nE SyntaxError: invalid syntax\n\ntests/test_math_utils.py:122: SyntaxError"}, "teardown": {"duration": 0.00013700395356863737, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 123, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001258880365639925, "outcome": "passed"}, "call": {"duration": 0.00016398902516812086, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 126, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 126, "message": "SystemExit"}], "longrepr": "def test_sys_exit():\n # Simulate SystemExit via sys.exit\n> sys.exit(1)\nE SystemExit: 1\n\ntests/test_math_utils.py:126: SystemExit"}, "teardown": {"duration": 0.00014722603373229504, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 127, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011867610737681389, "outcome": "passed"}, "call": {"duration": 0.000152523978613317, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 131, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 132, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 131, "message": "TypeError"}], "longrepr": "def test_broken_function():\n # Simulate broken function raising TypeError\n def broken_func(*args, **kwargs):\n raise TypeError(\"Broken function\")\n> broken_func()\n\ntests/test_math_utils.py:132: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = (), kwargs = {}\n\n def broken_func(*args, **kwargs):\n> raise TypeError(\"Broken function\")\nE TypeError: Broken function\n\ntests/test_math_utils.py:131: TypeError"}, "teardown": {"duration": 0.00014469202142208815, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 133, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011713500134646893, "outcome": "passed"}, "call": {"duration": 0.00015501200687140226, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 139, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 144, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 139, "message": "ImportError"}], "longrepr": "def test_import_error_patch():\n # Patch import to simulate ImportError on specific module\n original_import = __import__\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n raise ImportError(\"Simulated ImportError\")\n return original_import(name, *args, **kwargs)\n import builtins\n builtins.__import__, old_import = fake_import, builtins.__import__\n try:\n> __import__(\"fake_module\")\n\ntests/test_math_utils.py:144: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'fake_module', args = (), kwargs = {}\n\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:139: ImportError"}, "teardown": {"duration": 0.0001447800314053893, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 147, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012474996037781239, "outcome": "passed"}, "call": {"duration": 0.0004897660110145807, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 150, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/importlib/__init__.py", "lineno": 127, "message": "in import_module"}, {"path": "", "lineno": 1014, "message": "in _gcd_import"}, {"path": "", "lineno": 991, "message": "in _find_and_load"}, {"path": "", "lineno": 973, "message": "ModuleNotFoundError"}], "longrepr": "def test_module_not_found_error():\n # Raises ModuleNotFoundError (subclass of ImportError) for missing module\n> importlib.import_module(\"non_existent_module_xyz\")\n\ntests/test_math_utils.py:150: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'non_existent_module_xyz'\nimport_ = \n\n> ???\nE ModuleNotFoundError: No module named 'non_existent_module_xyz'\n\n:973: ModuleNotFoundError"}, "teardown": {"duration": 0.00018053501844406128, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "lineno": 7, "outcome": "passed", "keywords": ["test_uppercase_normal", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001346200006082654, "outcome": "passed"}, "call": {"duration": 0.00015125202480703592, "outcome": "passed"}, "teardown": {"duration": 0.00010931992437690496, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "lineno": 11, "outcome": "failed", "keywords": ["test_uppercase_type_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010956195183098316, "outcome": "passed"}, "call": {"duration": 0.000147263053804636, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/string_utils.py", "lineno": 3, "message": "TypeError: Input cannot be None"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 14, "message": ""}, {"path": "functions/string_utils.py", "lineno": 3, "message": "TypeError"}], "longrepr": "def test_uppercase_type_error():\n # TypeError when input is None (invalid input)\n> uppercase(None)\n\ntests/test_string_utils.py:14: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ns = None\n\n def uppercase(s):\n if s is None:\n> raise TypeError(\"Input cannot be None\")\nE TypeError: Input cannot be None\n\nfunctions/string_utils.py:3: TypeError"}, "teardown": {"duration": 0.0001487199915573001, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "lineno": 15, "outcome": "passed", "keywords": ["test_reverse_string", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011745200026780367, "outcome": "passed"}, "call": {"duration": 0.00015387905295938253, "outcome": "passed"}, "teardown": {"duration": 0.00010305899195373058, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "lineno": 19, "outcome": "passed", "keywords": ["test_warning_emit", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001047010300680995, "outcome": "passed"}, "call": {"duration": 0.0001445889938622713, "outcome": "passed"}, "teardown": {"duration": 0.00010437099263072014, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 23, "outcome": "failed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010784808546304703, "outcome": "passed"}, "call": {"duration": 0.00014379702042788267, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 26, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 26, "message": "UnicodeDecodeError"}], "longrepr": "def test_unicode_decode_error():\n # UnicodeDecodeError when decoding invalid byte sequence\n> b'\\xff'.decode('utf-8')\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte\n\ntests/test_string_utils.py:26: UnicodeDecodeError"}, "teardown": {"duration": 0.00013825902715325356, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "lineno": 27, "outcome": "failed", "keywords": ["test_unicode_decode_surrogateescape", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001181380357593298, "outcome": "passed"}, "call": {"duration": 0.00015414890367537737, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 30, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 30, "message": "UnicodeDecodeError"}], "longrepr": "def test_unicode_decode_surrogateescape():\n # UnicodeDecodeError with strict error handler on invalid byte\n> b\"\\x80\".decode(\"utf-8\", errors=\"strict\")\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte\n\ntests/test_string_utils.py:30: UnicodeDecodeError"}, "teardown": {"duration": 0.0001359529560431838, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "lineno": 31, "outcome": "passed", "keywords": ["test_import_warning", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011541997082531452, "outcome": "passed"}, "call": {"duration": 0.00013646401930600405, "outcome": "passed"}, "teardown": {"duration": 0.00010003289207816124, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "lineno": 35, "outcome": "xfailed", "keywords": ["test_xfail_uppercase_digits", "xfail", "pytestmark", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011379807256162167, "outcome": "passed"}, "call": {"duration": 0.0006221230141818523, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 39, "message": "AssertionError: assert 'ABC123' == 'ABC1234'\n \n - ABC1234\n ? -\n + ABC123"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure: uppercase does not handle digits\")\n def test_xfail_uppercase_digits():\n # Expected fail test because uppercase won't change digits\n> assert uppercase(\"abc123\") == \"ABC1234\"\nE AssertionError: assert 'ABC123' == 'ABC1234'\nE \nE - ABC1234\nE ? -\nE + ABC123\n\ntests/test_string_utils.py:39: AssertionError"}, "teardown": {"duration": 0.00013747892808169127, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "lineno": 40, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012746208813041449, "outcome": "passed"}}], "warnings": [{"message": "Test warning", "category": "UserWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 22}]} \ No newline at end of file +{"created": 1752581794.5870194, "duration": 0.714613676071167, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 32, "xfailed": 2, "total": 50, "collected": 50}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"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:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n: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 \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"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": 26}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 66}]}, {"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[2-2-4]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 53}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 62}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 70}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 80}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 84}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 88}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 92}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 96}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 104}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 108}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 123}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 127}, {"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": 147}]}, {"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": 15}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 23}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 31}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 40}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.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": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.003133182995952666, "outcome": "passed"}, "call": {"duration": 0.00043904699850827456, "outcome": "passed"}, "teardown": {"duration": 0.00025305093731731176, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file", "lineno": 16, "outcome": "passed", "keywords": ["test_write_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0004786719800904393, "outcome": "passed"}, "call": {"duration": 0.0002809460274875164, "outcome": "passed"}, "teardown": {"duration": 0.00016897509340196848, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "lineno": 22, "outcome": "failed", "keywords": ["test_cause_io_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012298300862312317, "outcome": "passed"}, "call": {"duration": 0.00015497999265789986, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/io_utils.py", "lineno": 10, "message": "OSError: Forced IO Error for testing"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 25, "message": ""}, {"path": "functions/io_utils.py", "lineno": 10, "message": "OSError"}], "longrepr": "def test_cause_io_error():\n # Raises manual IOError to simulate IO failure\n> cause_io_error()\n\ntests/test_io_utils.py:25: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n def cause_io_error():\n> raise IOError(\"Forced IO Error for testing\")\nE OSError: Forced IO Error for testing\n\nfunctions/io_utils.py:10: OSError"}, "teardown": {"duration": 0.00014413404278457165, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "lineno": 26, "outcome": "failed", "keywords": ["test_file_not_found", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011844094842672348, "outcome": "passed"}, "call": {"duration": 0.00017056299839168787, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/io_utils.py", "lineno": 2, "message": "FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 29, "message": ""}, {"path": "functions/io_utils.py", "lineno": 2, "message": "FileNotFoundError"}], "longrepr": "def test_file_not_found():\n # Reading non-existing file raises FileNotFoundError\n> read_file(\"nonexistent.file\")\n\ntests/test_io_utils.py:29: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\npath = 'nonexistent.file'\n\n def read_file(path):\n> with open(path, \"r\", encoding=\"utf-8\") as f:\nE FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'\n\nfunctions/io_utils.py:2: FileNotFoundError"}, "teardown": {"duration": 0.0001426569651812315, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "lineno": 30, "outcome": "failed", "keywords": ["test_permission_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019466504454612732, "outcome": "passed"}, "call": {"duration": 0.00018086202908307314, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 34, "message": "PermissionError: Permission denied"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 36, "message": ""}, {"path": "functions/io_utils.py", "lineno": 2, "message": "in read_file"}, {"path": "tests/test_io_utils.py", "lineno": 34, "message": "PermissionError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978aceaca0>\n\n def test_permission_error(monkeypatch):\n # Patch open to raise PermissionError simulating access denial\n def raise_perm_error(*args, **kwargs):\n raise PermissionError(\"Permission denied\")\n monkeypatch.setattr(\"builtins.open\", raise_perm_error)\n> read_file(\"anyfile.txt\")\n\ntests/test_io_utils.py:36: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nfunctions/io_utils.py:2: in read_file\n with open(path, \"r\", encoding=\"utf-8\") as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'}\n\n def raise_perm_error(*args, **kwargs):\n> raise PermissionError(\"Permission denied\")\nE PermissionError: Permission denied\n\ntests/test_io_utils.py:34: PermissionError"}, "teardown": {"duration": 0.00016490998677909374, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "lineno": 37, "outcome": "failed", "keywords": ["test_mock_open_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018448196351528168, "outcome": "passed"}, "call": {"duration": 0.003165088011883199, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1140, "message": "OSError: Mocked IOError"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 43, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1081, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1085, "message": "in _mock_call"}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1140, "message": "OSError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978acf9d90>\n\n def test_mock_open_error(monkeypatch):\n # Mock open() to raise IOError simulating read error\n mocked_open = mock.mock_open()\n mocked_open.side_effect = IOError(\"Mocked IOError\")\n monkeypatch.setattr(\"builtins.open\", mocked_open)\n> with open(\"file.txt\", \"r\") as f:\n\ntests/test_io_utils.py:43: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/unittest/mock.py:1081: in __call__\n return self._mock_call(*args, **kwargs)\n.pixi/envs/default/lib/python3.8/unittest/mock.py:1085: in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError')\n\n def _execute_mock_call(self, /, *args, **kwargs):\n # separate from _increment_mock_call so that awaited functions are\n # executed separately from their call, also AsyncMock overrides this method\n \n effect = self.side_effect\n if effect is not None:\n if _is_exception(effect):\n> raise effect\nE OSError: Mocked IOError\n\n.pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError"}, "teardown": {"duration": 0.00029821996577084064, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "lineno": 45, "outcome": "failed", "keywords": ["test_file_handle_closed_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00014585303142666817, "outcome": "passed"}, "call": {"duration": 0.00018451304640620947, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 50, "message": "ValueError: I/O operation on closed file"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 50, "message": "ValueError"}], "longrepr": "def test_file_handle_closed_error():\n # Accessing closed file raises ValueError\n f = io.StringIO(\"content\")\n f.close()\n> f.read()\nE ValueError: I/O operation on closed file\n\ntests/test_io_utils.py:50: ValueError"}, "teardown": {"duration": 0.00017527001909911633, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_os_error", "lineno": 51, "outcome": "failed", "keywords": ["test_os_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024158996529877186, "outcome": "passed"}, "call": {"duration": 0.00018089893274009228, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 55, "message": "OSError: Simulated OSError"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 57, "message": ""}, {"path": "tests/test_io_utils.py", "lineno": 55, "message": "OSError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f978882f640>\n\n def test_os_error(monkeypatch):\n # Patch os.remove to raise OSError simulating filesystem error\n def raise_os_error(path):\n raise OSError(\"Simulated OSError\")\n monkeypatch.setattr(\"os.remove\", raise_os_error)\n> os.remove(\"file.txt\")\n\ntests/test_io_utils.py:57: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\npath = 'file.txt'\n\n def raise_os_error(path):\n> raise OSError(\"Simulated OSError\")\nE OSError: Simulated OSError\n\ntests/test_io_utils.py:55: OSError"}, "teardown": {"duration": 0.00017721205949783325, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "lineno": 58, "outcome": "passed", "keywords": ["test_write_file_readonly", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0006020460277795792, "outcome": "passed"}, "call": {"duration": 0.0009123159106820822, "outcome": "passed"}, "teardown": {"duration": 0.000153091037645936, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "lineno": 66, "outcome": "failed", "keywords": ["test_file_not_found_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012071395758539438, "outcome": "passed"}, "call": {"duration": 0.00016599195078015327, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 69, "message": "FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt'"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 69, "message": "FileNotFoundError"}], "longrepr": "def test_file_not_found_error():\n # Raises FileNotFoundError when opening a non-existent file\n> open(\"no_such_file.txt\", \"r\")\nE FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt'\n\ntests/test_io_utils.py:69: FileNotFoundError"}, "teardown": {"duration": 0.0001403900096192956, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken", "lineno": 13, "outcome": "failed", "keywords": ["test_broken", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013012706767767668, "outcome": "passed"}, "call": {"duration": 0.00015646906103938818, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 16, "message": "NameError: name 'want_the_test_to_fail' is not defined"}, "traceback": [{"path": "tests/test_math_utils.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_math_utils.py:16: NameError"}, "teardown": {"duration": 0.00015052093658596277, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "lineno": 17, "outcome": "failed", "keywords": ["test_call_missing_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012401700951159, "outcome": "passed"}, "call": {"duration": 0.00015021697618067265, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 20, "message": "AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 20, "message": "AttributeError"}], "longrepr": "def test_call_missing_function():\n # Accessing a missing function attribute raises AttributeError\n> getattr(math_utils, \"non_existent_function\")()\nE AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function'\n\ntests/test_math_utils.py:20: AttributeError"}, "teardown": {"duration": 0.00013656704686582088, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002777109621092677, "outcome": "passed"}, "call": {"duration": 0.00015267706476151943, "outcome": "passed"}, "teardown": {"duration": 0.00013826193753629923, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00026053900364786386, "outcome": "passed"}, "call": {"duration": 0.00013971806038171053, "outcome": "passed"}, "teardown": {"duration": 0.00014364602975547314, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023979588877409697, "outcome": "passed"}, "call": {"duration": 0.00012661004438996315, "outcome": "passed"}, "teardown": {"duration": 0.00014709902461618185, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000243876944296062, "outcome": "passed"}, "call": {"duration": 0.00013631803449243307, "outcome": "passed"}, "teardown": {"duration": 0.00013911398127675056, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023376790340989828, "outcome": "passed"}, "call": {"duration": 0.00012343295384198427, "outcome": "passed"}, "teardown": {"duration": 0.00013270298950374126, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=2,b=2,expected=4]", "parametrize", "pytestmark", "a=2,b=2,expected=4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024139299057424068, "outcome": "passed"}, "call": {"duration": 0.00012721202801913023, "outcome": "passed"}, "teardown": {"duration": 0.00013067899271845818, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=1,b=5,expected=6]", "parametrize", "pytestmark", "a=1,b=5,expected=6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024358299560844898, "outcome": "passed"}, "call": {"duration": 0.00013528496492654085, "outcome": "passed"}, "teardown": {"duration": 0.00013015803415328264, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=3,b=4,expected=7]", "parametrize", "pytestmark", "a=3,b=4,expected=7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002329519484192133, "outcome": "passed"}, "call": {"duration": 0.0001231119967997074, "outcome": "passed"}, "teardown": {"duration": 0.00013015500735491514, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 45, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010537204798310995, "outcome": "passed"}, "call": {"duration": 0.0004405659856274724, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 48, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 48, "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_math_utils.py:48: AssertionError"}, "teardown": {"duration": 0.00014023901894688606, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 49, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012081291060894728, "outcome": "passed"}, "call": {"duration": 0.00015578488819301128, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError: division by zero"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 52, "message": ""}, {"path": "functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError"}], "longrepr": "def test_division_zero():\n # Will raise ZeroDivisionError if not handled in division\n> division(1, 0)\n\ntests/test_math_utils.py:52: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\na = 1, b = 0\n\n def division(a, b):\n> return a / b\nE ZeroDivisionError: division by zero\n\nfunctions/math_utils.py:5: ZeroDivisionError"}, "teardown": {"duration": 0.00014144799206405878, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 53, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001354070845991373, "outcome": "passed"}, "call": {"duration": 0.00025917706079781055, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 57, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 57, "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_math_utils.py:57: AssertionError"}, "teardown": {"duration": 0.00015021697618067265, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 58, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011627795174717903, "outcome": "passed"}, "call": {"duration": 0.00015445600729435682, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 61, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 61, "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_math_utils.py:61: RuntimeError"}, "teardown": {"duration": 0.00014758692122995853, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 62, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00021442293655127287, "outcome": "passed"}, "call": {"duration": 0.00015053106471896172, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 65, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 65, "message": "MemoryError"}], "longrepr": "def test_memory_error():\n # Manually raise MemoryError to simulate out-of-memory condition\n> raise MemoryError(\"Simulated memory error\")\nE MemoryError: Simulated memory error\n\ntests/test_math_utils.py:65: MemoryError"}, "teardown": {"duration": 0.00014055101200938225, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 66, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011746201198548079, "outcome": "passed"}, "call": {"duration": 0.00015711202286183834, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 69, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 69, "message": "TimeoutError"}], "longrepr": "def test_timeout_error():\n # Manually raise TimeoutError simulating timeout conditions\n> raise TimeoutError(\"Simulated timeout error\")\nE TimeoutError: Simulated timeout error\n\ntests/test_math_utils.py:69: TimeoutError"}, "teardown": {"duration": 0.000137769035063684, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 70, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001216839300468564, "outcome": "passed"}, "call": {"duration": 0.0008314520819112659, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 74, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 75, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 74, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 74, "message": "in recursive"}], "longrepr": "def test_recursion_error():\n # Infinite recursion triggers RecursionError\n def recursive():\n return recursive()\n> recursive()\n\ntests/test_math_utils.py:75: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:74: in recursive\n return recursive()\ntests/test_math_utils.py:74: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.00014773907605558634, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 76, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012793298810720444, "outcome": "passed"}, "call": {"duration": 0.00014822394587099552, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 79, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 79, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError (rare in practice)\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:79: FloatingPointError"}, "teardown": {"duration": 0.00013804505579173565, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 80, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012145598884671926, "outcome": "passed"}, "call": {"duration": 0.00016597798094153404, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 83, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 83, "message": "OverflowError"}], "longrepr": "def test_floating_point_overflow():\n # Exponential overflow triggers OverflowError\n> math.exp(1000)\nE OverflowError: math range error\n\ntests/test_math_utils.py:83: OverflowError"}, "teardown": {"duration": 0.00014972395729273558, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 84, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011916190851479769, "outcome": "passed"}, "call": {"duration": 0.00015149300452321768, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 87, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 87, "message": "ValueError"}], "longrepr": "def test_value_error():\n # ValueError on invalid integer conversion\n> int(\"invalid\")\nE ValueError: invalid literal for int() with base 10: 'invalid'\n\ntests/test_math_utils.py:87: ValueError"}, "teardown": {"duration": 0.00013654702343046665, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 88, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013455504085868597, "outcome": "passed"}, "call": {"duration": 0.00014915503561496735, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 91, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 91, "message": "TypeError"}], "longrepr": "def test_type_error():\n # TypeError when passing wrong argument type to sum\n> sum(5)\nE TypeError: 'int' object is not iterable\n\ntests/test_math_utils.py:91: TypeError"}, "teardown": {"duration": 0.0001376420259475708, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 92, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012270989827811718, "outcome": "passed"}, "call": {"duration": 0.00015768304001539946, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 95, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 95, "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_math_utils.py:95: Exception"}, "teardown": {"duration": 0.00014791404828429222, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 96, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012002990115433931, "outcome": "passed"}, "call": {"duration": 0.00014586793258786201, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 99, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 99, "message": "CustomError"}], "longrepr": "def test_custom_error():\n # Raises user-defined CustomError exception\n> raise CustomError(\"Custom error simulation\")\nE test_math_utils.CustomError: Custom error simulation\n\ntests/test_math_utils.py:99: CustomError"}, "teardown": {"duration": 0.00014291296247392893, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 100, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012170604895800352, "outcome": "passed"}, "call": {"duration": 0.0001481559593230486, "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 "}, {"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_math_utils.py:103: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f978ad1d550>\nwhen = 'call'\nreraise = (, )\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 \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 = _capture_fixture=None>\nitem = \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.00025452999398112297, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 104, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017640902660787106, "outcome": "passed"}, "call": {"duration": 0.00017550692427903414, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 107, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 107, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:107: GeneratorExit"}, "teardown": {"duration": 0.00018231698777526617, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 108, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013664609286934137, "outcome": "passed"}, "call": {"duration": 0.0001661520218476653, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 112, "message": "RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 112, "message": "RecursionError"}], "longrepr": "def test_recursion_limit():\n # Lower recursion limit to force RecursionError on deep recursion\n original_limit = sys.getrecursionlimit()\n> sys.setrecursionlimit(50)\nE RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low\n\ntests/test_math_utils.py:112: RecursionError"}, "teardown": {"duration": 0.0001537760253995657, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 119, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012948806397616863, "outcome": "passed"}, "call": {"duration": 0.00017666502390056849, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 122, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 122, "message": "SyntaxError"}], "longrepr": "def test_malformed_code():\n # SyntaxError when executing malformed Python code\n> exec(\"def bad(:\\n pass\")\nE File \"\", line 1\nE def bad(:\nE ^\nE SyntaxError: invalid syntax\n\ntests/test_math_utils.py:122: SyntaxError"}, "teardown": {"duration": 0.00015017902478575706, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 123, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001259839627891779, "outcome": "passed"}, "call": {"duration": 0.00015900505241006613, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 126, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 126, "message": "SystemExit"}], "longrepr": "def test_sys_exit():\n # Simulate SystemExit via sys.exit\n> sys.exit(1)\nE SystemExit: 1\n\ntests/test_math_utils.py:126: SystemExit"}, "teardown": {"duration": 0.0001555809285491705, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 127, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012197706382721663, "outcome": "passed"}, "call": {"duration": 0.00016138888895511627, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 131, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 132, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 131, "message": "TypeError"}], "longrepr": "def test_broken_function():\n # Simulate broken function raising TypeError\n def broken_func(*args, **kwargs):\n raise TypeError(\"Broken function\")\n> broken_func()\n\ntests/test_math_utils.py:132: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = (), kwargs = {}\n\n def broken_func(*args, **kwargs):\n> raise TypeError(\"Broken function\")\nE TypeError: Broken function\n\ntests/test_math_utils.py:131: TypeError"}, "teardown": {"duration": 0.00015403504949063063, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 133, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001210939371958375, "outcome": "passed"}, "call": {"duration": 0.00016185804270207882, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 139, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 144, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 139, "message": "ImportError"}], "longrepr": "def test_import_error_patch():\n # Patch import to simulate ImportError on specific module\n original_import = __import__\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n raise ImportError(\"Simulated ImportError\")\n return original_import(name, *args, **kwargs)\n import builtins\n builtins.__import__, old_import = fake_import, builtins.__import__\n try:\n> __import__(\"fake_module\")\n\ntests/test_math_utils.py:144: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'fake_module', args = (), kwargs = {}\n\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:139: ImportError"}, "teardown": {"duration": 0.0001412510173395276, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 147, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011916400399059057, "outcome": "passed"}, "call": {"duration": 0.0004636560333892703, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 150, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/importlib/__init__.py", "lineno": 127, "message": "in import_module"}, {"path": "", "lineno": 1014, "message": "in _gcd_import"}, {"path": "", "lineno": 991, "message": "in _find_and_load"}, {"path": "", "lineno": 973, "message": "ModuleNotFoundError"}], "longrepr": "def test_module_not_found_error():\n # Raises ModuleNotFoundError (subclass of ImportError) for missing module\n> importlib.import_module(\"non_existent_module_xyz\")\n\ntests/test_math_utils.py:150: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'non_existent_module_xyz'\nimport_ = \n\n> ???\nE ModuleNotFoundError: No module named 'non_existent_module_xyz'\n\n:973: ModuleNotFoundError"}, "teardown": {"duration": 0.00014049001038074493, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "lineno": 7, "outcome": "passed", "keywords": ["test_uppercase_normal", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001282630255445838, "outcome": "passed"}, "call": {"duration": 0.00014387897681444883, "outcome": "passed"}, "teardown": {"duration": 0.00010642397683113813, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "lineno": 11, "outcome": "failed", "keywords": ["test_uppercase_type_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011700799223035574, "outcome": "passed"}, "call": {"duration": 0.00014935503713786602, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/string_utils.py", "lineno": 3, "message": "TypeError: Input cannot be None"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 14, "message": ""}, {"path": "functions/string_utils.py", "lineno": 3, "message": "TypeError"}], "longrepr": "def test_uppercase_type_error():\n # TypeError when input is None (invalid input)\n> uppercase(None)\n\ntests/test_string_utils.py:14: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ns = None\n\n def uppercase(s):\n if s is None:\n> raise TypeError(\"Input cannot be None\")\nE TypeError: Input cannot be None\n\nfunctions/string_utils.py:3: TypeError"}, "teardown": {"duration": 0.00013819802552461624, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "lineno": 15, "outcome": "passed", "keywords": ["test_reverse_string", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012288393918424845, "outcome": "passed"}, "call": {"duration": 0.00014027801807969809, "outcome": "passed"}, "teardown": {"duration": 0.00010119297076016665, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "lineno": 19, "outcome": "passed", "keywords": ["test_warning_emit", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010759301949292421, "outcome": "passed"}, "call": {"duration": 0.00014339201152324677, "outcome": "passed"}, "teardown": {"duration": 9.681505616754293e-05, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 23, "outcome": "failed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011261401232331991, "outcome": "passed"}, "call": {"duration": 0.00014314393047243357, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 26, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 26, "message": "UnicodeDecodeError"}], "longrepr": "def test_unicode_decode_error():\n # UnicodeDecodeError when decoding invalid byte sequence\n> b'\\xff'.decode('utf-8')\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte\n\ntests/test_string_utils.py:26: UnicodeDecodeError"}, "teardown": {"duration": 0.0001376579748466611, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "lineno": 27, "outcome": "failed", "keywords": ["test_unicode_decode_surrogateescape", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011564092710614204, "outcome": "passed"}, "call": {"duration": 0.00015264598187059164, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 30, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 30, "message": "UnicodeDecodeError"}], "longrepr": "def test_unicode_decode_surrogateescape():\n # UnicodeDecodeError with strict error handler on invalid byte\n> b\"\\x80\".decode(\"utf-8\", errors=\"strict\")\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte\n\ntests/test_string_utils.py:30: UnicodeDecodeError"}, "teardown": {"duration": 0.00015000905841588974, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "lineno": 31, "outcome": "passed", "keywords": ["test_import_warning", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011911103501915932, "outcome": "passed"}, "call": {"duration": 0.00014587899204343557, "outcome": "passed"}, "teardown": {"duration": 0.00011005101259797812, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "lineno": 35, "outcome": "xfailed", "keywords": ["test_xfail_uppercase_digits", "xfail", "pytestmark", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011666992213577032, "outcome": "passed"}, "call": {"duration": 0.000621385988779366, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 39, "message": "AssertionError: assert 'ABC123' == 'ABC1234'\n \n - ABC1234\n ? -\n + ABC123"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure: uppercase does not handle digits\")\n def test_xfail_uppercase_digits():\n # Expected fail test because uppercase won't change digits\n> assert uppercase(\"abc123\") == \"ABC1234\"\nE AssertionError: assert 'ABC123' == 'ABC1234'\nE \nE - ABC1234\nE ? -\nE + ABC123\n\ntests/test_string_utils.py:39: AssertionError"}, "teardown": {"duration": 0.0001370779937133193, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "lineno": 40, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011697795707732439, "outcome": "passed"}}], "warnings": [{"message": "Test warning", "category": "UserWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 22}]} \ No newline at end of file