From f4d07eb58a2aa7ce69839ba890d4cbcadcc63fa9 Mon Sep 17 00:00:00 2001 From: ci-bot Date: Wed, 16 Jul 2025 11:40:20 +0000 Subject: [PATCH] CI: update test report and coverage files --- ci-reports/markdown/TEST-REPORT.md | 324 ++-- ci-reports/markdown/json-tree-view.txt | 2275 ----------------------- ci-reports/markdown/pytest-report.json | 2 +- ci-reports/markdown/raw-test-output.log | 16 +- 4 files changed, 171 insertions(+), 2446 deletions(-) diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 3f03be48..74a19688 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -47,7 +47,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) -======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.80s ========= +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s ========= ``` @@ -58,7 +58,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: html-4.1.1, allure-pytest-2.13.5, metadata-3.1.1, cov-5.0.0, json-report-1.5.0, md-report-0.6.2 +plugins: metadata-3.1.1, cov-5.0.0, allure-pytest-2.13.5, html-4.1.1, json-report-1.5.0, md-report-0.6.2 collected 49 items / 2 errors tests/test_io_utils.py ..FFFFFF.F @@ -133,7 +133,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 0x7efe54b05400> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb01545310> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -157,7 +157,7 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError _____________________________ test_mock_open_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe54af1640> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb015d3f10> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -174,7 +174,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): @@ -200,7 +200,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 0x7efe54beca90> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb01545310> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -368,7 +368,7 @@ tests/test_math_utils.py:106: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7efe523819d0> +func = . at 0x7fdb01a579d0> when = 'call' reraise = (, ) @@ -497,7 +497,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -590,17 +590,17 @@ 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) -======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.80s ========= +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s ========= ``` --- # ๐Ÿงช Test Report -*Generated on 2025-07-16 11:38:35* +*Generated on 2025-07-16 11:40:20* ## ๐Ÿงพ General Info -- **duration**: 0.7966759204864502 +- **duration**: 0.7439579963684082 - **root**: /workspace/tligui_y/slic - **environment**: @@ -636,7 +636,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -0.003712053061462939 +0.003421813016757369 ``` @@ -659,7 +659,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00044564995914697647 +0.00047769094817340374 ``` @@ -682,7 +682,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00024797103833407164 +0.0002498800167813897 ``` @@ -721,7 +721,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00047959305811673403 +0.0005426090210676193 ``` @@ -744,7 +744,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002790909493342042 +0.00029082794208079576 ``` @@ -767,7 +767,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013952702283859253 +0.00015079998411238194 ``` @@ -806,7 +806,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0006346600130200386 +0.0006398269906640053 ``` @@ -829,7 +829,7 @@ passed ๐Ÿ“Œ Duration ``` -0.000968953943811357 +0.0009878079872578382 ``` @@ -852,7 +852,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001454490702599287 +0.00015609804540872574 ``` @@ -900,7 +900,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003206870751455426 +0.0003416499821469188 ``` @@ -923,7 +923,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014747993554919958 +0.0001670928904786706 ``` @@ -946,7 +946,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014186499174684286 +0.00016383395995944738 ``` @@ -978,7 +978,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00026144098956137896 +0.00027710001450031996 ``` @@ -1001,7 +1001,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001387890661135316 +0.0001483020605519414 ``` @@ -1024,7 +1024,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013722805306315422 +0.0001514679752290249 ``` @@ -1056,7 +1056,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00026605906896293163 +0.0002633329713717103 ``` @@ -1079,7 +1079,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012841308489441872 +0.00014294497668743134 ``` @@ -1102,7 +1102,7 @@ passed ๐Ÿ“Œ Duration ``` -0.000132726039737463 +0.00014784501399844885 ``` @@ -1134,7 +1134,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00026045902632176876 +0.00026178895495831966 ``` @@ -1157,7 +1157,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013065605890005827 +0.00014221691526472569 ``` @@ -1180,7 +1180,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013176293577998877 +0.0001557819778099656 ``` @@ -1212,7 +1212,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002436790382489562 +0.0002726790262386203 ``` @@ -1235,7 +1235,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012630003038793802 +0.00014452601317316294 ``` @@ -1258,7 +1258,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001354779815301299 +0.00015047704800963402 ``` @@ -1298,7 +1298,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00025933096185326576 +0.0002624619519338012 ``` @@ -1321,7 +1321,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013040902558714151 +0.00014759099576622248 ``` @@ -1344,7 +1344,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013208389282226562 +0.0001506740227341652 ``` @@ -1376,7 +1376,7 @@ passed ๐Ÿ“Œ Duration ``` -0.000252285972237587 +0.00027446099556982517 ``` @@ -1399,7 +1399,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013130391016602516 +0.00015195400919765234 ``` @@ -1422,7 +1422,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001345470082014799 +0.00014610798098146915 ``` @@ -1454,7 +1454,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00024261896032840014 +0.0002612069947645068 ``` @@ -1477,7 +1477,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012549699749797583 +0.0001336029963567853 ``` @@ -1500,7 +1500,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001302049495279789 +0.0001347229117527604 ``` @@ -1547,7 +1547,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00023300095926970243 +0.00014625908806920052 ``` @@ -1570,7 +1570,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015095400158315897 +0.00016049493569880724 ``` @@ -1593,7 +1593,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011299899779260159 +0.0001153420889750123 ``` @@ -1632,7 +1632,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011858704965561628 +0.00012491701636463404 ``` @@ -1655,7 +1655,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014201004523783922 +0.00016191403847187757 ``` @@ -1678,7 +1678,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00010207993909716606 +0.0001015540910884738 ``` @@ -1717,7 +1717,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00010468193795531988 +0.00011618109419941902 ``` @@ -1740,7 +1740,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014284893404692411 +0.00014418596401810646 ``` @@ -1763,7 +1763,7 @@ passed ๐Ÿ“Œ Duration ``` -9.541003964841366e-05 +9.905407205224037e-05 ``` @@ -1802,7 +1802,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013540301006287336 +0.00012483098544180393 ``` @@ -1825,7 +1825,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013895600568503141 +0.00014194101095199585 ``` @@ -1848,7 +1848,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00010543910320848227 +0.00011175102554261684 ``` @@ -1887,7 +1887,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012095191050320864 +0.00011830998118966818 ``` @@ -1942,7 +1942,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011587294284254313 +0.00011848006397485733 ``` @@ -1965,7 +1965,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001583060948178172 +0.00016052392311394215 ``` @@ -2036,7 +2036,7 @@ functions/io_utils.py:10: OSError ๐Ÿ“Œ Duration ``` -0.0001434129662811756 +0.00015661900397390127 ``` @@ -2075,7 +2075,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012745102867484093 +0.0001250719651579857 ``` @@ -2098,7 +2098,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019952096045017242 +0.0001944450195878744 ``` @@ -2171,7 +2171,7 @@ functions/io_utils.py:2: FileNotFoundError ๐Ÿ“Œ Duration ``` -0.0001399789471179247 +0.00015192502178251743 ``` @@ -2210,7 +2210,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00022277503740042448 +0.00022828509099781513 ``` @@ -2233,7 +2233,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002086919266730547 +0.00018486508633941412 ``` @@ -2283,7 +2283,7 @@ message: PermissionError ๐Ÿ“Œ Longrepr ``` -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe54b05400> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb01545310> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -2317,7 +2317,7 @@ tests/test_io_utils.py:34: PermissionError ๐Ÿ“Œ Duration ``` -0.0001761900493875146 +0.00018560304306447506 ``` @@ -2356,7 +2356,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019404804334044456 +0.00021422002464532852 ``` @@ -2379,7 +2379,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0033530420623719692 +0.0033865150762721896 ``` @@ -2432,7 +2432,7 @@ message: OSError ๐Ÿ“Œ Longrepr ``` -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe54af1640> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb015d3f10> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -2449,7 +2449,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): @@ -2475,7 +2475,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -0.0003363869618624449 +0.00031950301490724087 ``` @@ -2514,7 +2514,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001584810670465231 +0.00014761299826204777 ``` @@ -2537,7 +2537,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002038930542767048 +0.00019145500846207142 ``` @@ -2601,7 +2601,7 @@ tests/test_io_utils.py:50: ValueError ๐Ÿ“Œ Duration ``` -0.0001695249229669571 +0.00016803492326289415 ``` @@ -2640,7 +2640,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00024664902593940496 +0.0002463290002197027 ``` @@ -2663,7 +2663,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002824190305545926 +0.00018573994748294353 ``` @@ -2710,7 +2710,7 @@ message: OSError ๐Ÿ“Œ Longrepr ``` -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe54beca90> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb01545310> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -2741,7 +2741,7 @@ tests/test_io_utils.py:55: OSError ๐Ÿ“Œ Duration ``` -0.00017577700782567263 +0.00016885297372937202 ``` @@ -2780,7 +2780,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011321203783154488 +0.00012088997755199671 ``` @@ -2803,7 +2803,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001689479686319828 +0.0001701550791040063 ``` @@ -2865,7 +2865,7 @@ tests/test_io_utils.py:69: FileNotFoundError ๐Ÿ“Œ Duration ``` -0.00015606300439685583 +0.00014134100638329983 ``` @@ -2912,7 +2912,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015059905126690865 +0.00013269903138279915 ``` @@ -2935,7 +2935,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015065900515764952 +0.00017226499039679766 ``` @@ -2997,7 +2997,7 @@ tests/test_math_utils.py:16: NameError ๐Ÿ“Œ Duration ``` -0.0001443149521946907 +0.0001397330779582262 ``` @@ -3036,7 +3036,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014731497503817081 +0.00012284505646675825 ``` @@ -3059,7 +3059,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016163301188498735 +0.00015551492106169462 ``` @@ -3121,7 +3121,7 @@ tests/test_math_utils.py:20: AttributeError ๐Ÿ“Œ Duration ``` -0.00014069699682295322 +0.00015165098011493683 ``` @@ -3160,7 +3160,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00010647892486304045 +0.00011142098810523748 ``` @@ -3183,7 +3183,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0004449759144335985 +0.0005046470323577523 ``` @@ -3247,7 +3247,7 @@ tests/test_math_utils.py:51: AssertionError ๐Ÿ“Œ Duration ``` -0.00013453594874590635 +0.00015419407282024622 ``` @@ -3286,7 +3286,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012155191507190466 +0.00013032800052314997 ``` @@ -3309,7 +3309,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016459496691823006 +0.00016202195547521114 ``` @@ -3382,7 +3382,7 @@ functions/math_utils.py:5: ZeroDivisionError ๐Ÿ“Œ Duration ``` -0.00013598205987364054 +0.0001432179706171155 ``` @@ -3421,7 +3421,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013417692389339209 +0.0001243710285052657 ``` @@ -3444,7 +3444,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017429597210139036 +0.00015352899208664894 ``` @@ -3506,7 +3506,7 @@ tests/test_math_utils.py:64: RuntimeError ๐Ÿ“Œ Duration ``` -0.00013738893903791904 +0.00014881789684295654 ``` @@ -3545,7 +3545,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012088508810847998 +0.00011922395788133144 ``` @@ -3568,7 +3568,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001580138923600316 +0.00016351800877600908 ``` @@ -3630,7 +3630,7 @@ tests/test_math_utils.py:68: MemoryError ๐Ÿ“Œ Duration ``` -0.00013860093895345926 +0.00013663002755492926 ``` @@ -3669,7 +3669,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011845200788229704 +0.00011715700384229422 ``` @@ -3692,7 +3692,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001509190769866109 +0.00015962100587785244 ``` @@ -3754,7 +3754,7 @@ tests/test_math_utils.py:72: TimeoutError ๐Ÿ“Œ Duration ``` -0.00020893302280455828 +0.00013702409341931343 ``` @@ -3793,7 +3793,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013021798804402351 +0.00011944305151700974 ``` @@ -3816,7 +3816,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0008316409075632691 +0.0008027420844882727 ``` @@ -3892,7 +3892,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -0.000242493930272758 +0.0001437889877706766 ``` @@ -3931,7 +3931,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001399980392307043 +0.0001232990762218833 ``` @@ -3954,7 +3954,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017177709378302097 +0.00015187193639576435 ``` @@ -4016,7 +4016,7 @@ tests/test_math_utils.py:82: FloatingPointError ๐Ÿ“Œ Duration ``` -0.0003054209519177675 +0.00014345406088978052 ``` @@ -4055,7 +4055,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00022506201639771461 +0.00012077100109308958 ``` @@ -4078,7 +4078,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018903298769146204 +0.00017223809845745564 ``` @@ -4140,7 +4140,7 @@ tests/test_math_utils.py:86: OverflowError ๐Ÿ“Œ Duration ``` -0.00017177604604512453 +0.00014229805674403906 ``` @@ -4179,7 +4179,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016556703485548496 +0.0001312500098720193 ``` @@ -4202,7 +4202,7 @@ passed ๐Ÿ“Œ Duration ``` -0.000286665977910161 +0.00015651702415198088 ``` @@ -4264,7 +4264,7 @@ tests/test_math_utils.py:90: ValueError ๐Ÿ“Œ Duration ``` -0.00021403597202152014 +0.00014790508430451155 ``` @@ -4303,7 +4303,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001352099934592843 +0.00012326007708907127 ``` @@ -4326,7 +4326,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001697929110378027 +0.00015528209041804075 ``` @@ -4388,7 +4388,7 @@ tests/test_math_utils.py:94: TypeError ๐Ÿ“Œ Duration ``` -0.0001794419949874282 +0.00013687298633158207 ``` @@ -4427,7 +4427,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012619292829185724 +0.00011987204197794199 ``` @@ -4450,7 +4450,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001638729590922594 +0.00015125505160540342 ``` @@ -4512,7 +4512,7 @@ tests/test_math_utils.py:98: Exception ๐Ÿ“Œ Duration ``` -0.0001422360073775053 +0.0001395100262016058 ``` @@ -4551,7 +4551,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012361409608274698 +0.00011762091889977455 ``` @@ -4574,7 +4574,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001543379621580243 +0.00014992000069469213 ``` @@ -4636,7 +4636,7 @@ tests/test_math_utils.py:102: CustomError ๐Ÿ“Œ Duration ``` -0.00014893896877765656 +0.00014043308328837156 ``` @@ -4675,7 +4675,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011681206524372101 +0.00011660601012408733 ``` @@ -4698,7 +4698,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001482260413467884 +0.00016116106417030096 ``` @@ -4782,7 +4782,7 @@ tests/test_math_utils.py:106: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7efe523819d0> +func = . at 0x7fdb01a579d0> when = 'call' reraise = (, ) @@ -4854,7 +4854,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -0.0002623400650918484 +0.000258235028013587 ``` @@ -4893,7 +4893,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015564693603664637 +0.00015019194688647985 ``` @@ -4916,7 +4916,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001798310549929738 +0.00017729192040860653 ``` @@ -4978,7 +4978,7 @@ tests/test_math_utils.py:110: GeneratorExit ๐Ÿ“Œ Duration ``` -0.00016959605272859335 +0.00017807807307690382 ``` @@ -5017,7 +5017,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012748700100928545 +0.00014478899538516998 ``` @@ -5040,7 +5040,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018480303697288036 +0.0001708929194137454 ``` @@ -5108,7 +5108,7 @@ tests/test_math_utils.py:114: SyntaxError ๐Ÿ“Œ Duration ``` -0.00015594810247421265 +0.00014391203876584768 ``` @@ -5147,7 +5147,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012053805403411388 +0.0001273480011150241 ``` @@ -5170,7 +5170,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015110999811440706 +0.00015354505740106106 ``` @@ -5232,7 +5232,7 @@ tests/test_math_utils.py:118: SystemExit ๐Ÿ“Œ Duration ``` -0.00014354707673192024 +0.00014865200500935316 ``` @@ -5271,7 +5271,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011833407916128635 +0.0001348049845546484 ``` @@ -5294,7 +5294,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001647049793973565 +0.00015437998808920383 ``` @@ -5369,7 +5369,7 @@ tests/test_math_utils.py:123: TypeError ๐Ÿ“Œ Duration ``` -0.00014115299563854933 +0.00014334497973322868 ``` @@ -5408,7 +5408,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011942500714212656 +0.00011948402971029282 ``` @@ -5431,7 +5431,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015474401880055666 +0.00015272502787411213 ``` @@ -5492,7 +5492,7 @@ tests/test_math_utils.py:127: ImportError ๐Ÿ“Œ Duration ``` -0.00013949302956461906 +0.00014150398783385754 ``` @@ -5531,7 +5531,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012782809790223837 +0.00013749906793236732 ``` @@ -5554,7 +5554,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0004714609822258353 +0.00047824601642787457 ``` @@ -5625,7 +5625,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -5643,7 +5643,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -0.00014721101615577936 +0.00018416706006973982 ``` @@ -5690,7 +5690,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00010625389404594898 +0.00011064601130783558 ``` @@ -5713,7 +5713,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001444359077140689 +0.00014822103548794985 ``` @@ -5787,7 +5787,7 @@ functions/string_utils.py:3: TypeError ๐Ÿ“Œ Duration ``` -0.0001365389907732606 +0.000154276960529387 ``` @@ -5826,7 +5826,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001124190166592598 +0.00010616402141749859 ``` @@ -5849,7 +5849,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001476589823141694 +0.00014916097279638052 ``` @@ -5911,7 +5911,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError ๐Ÿ“Œ Duration ``` -0.0001357549335807562 +0.00014133495278656483 ``` @@ -5950,7 +5950,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001338580623269081 +0.00012393307406455278 ``` @@ -5973,7 +5973,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015461293514817953 +0.0001598680391907692 ``` @@ -6035,7 +6035,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError ๐Ÿ“Œ Duration ``` -0.00013318401761353016 +0.000154213048517704 ``` @@ -6090,7 +6090,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001444320660084486 +0.00013849406968802214 ``` @@ -6113,7 +6113,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00027191301342099905 +0.0002718609757721424 ``` @@ -6178,7 +6178,7 @@ tests/test_math_utils.py:60: AssertionError ๐Ÿ“Œ Duration ``` -0.0001377980224788189 +0.0001384200295433402 ``` @@ -6225,7 +6225,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011782697401940823 +0.00011832499876618385 ``` @@ -6248,7 +6248,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0005976250395178795 +0.0006411919603124261 ``` @@ -6319,7 +6319,7 @@ tests/test_string_utils.py:39: AssertionError ๐Ÿ“Œ Duration ``` -0.00013188901357352734 +0.00014206802006810904 ``` diff --git a/ci-reports/markdown/json-tree-view.txt b/ci-reports/markdown/json-tree-view.txt index d11013a7..e69de29b 100644 --- a/ci-reports/markdown/json-tree-view.txt +++ b/ci-reports/markdown/json-tree-view.txt @@ -1,2275 +0,0 @@ -๐Ÿ“ ci-reports/markdown/pytest-report.json -โ”œโ”€โ”€ created: 1752665915.4087803 -โ”œโ”€โ”€ duration: 0.7966759204864502 -โ”œโ”€โ”€ exitcode: 2 -โ”œโ”€โ”€ root: /workspace/tligui_y/slic -โ”œโ”€โ”€ environment -โ”œโ”€โ”€ summary -โ”‚ โ”œโ”€โ”€ passed: 16 -โ”‚ โ”œโ”€โ”€ failed: 31 -โ”‚ โ”œโ”€โ”€ xfailed: 2 -โ”‚ โ”œโ”€โ”€ total: 49 -โ”‚ โ””โ”€โ”€ collected: 49 -โ”œโ”€โ”€ 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 -โ”‚ โ”‚ mod = import_path( -โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:58 -โ”‚ โ”‚ 7: in import_path -โ”‚ โ”‚ importlib.import_module(module_name) -โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in -โ”‚ โ”‚ import_module -โ”‚ โ”‚ return _bootstrap._gcd_import(name, package, level) -โ”‚ โ”‚ :1014: in _gcd_import -โ”‚ โ”‚ ??? -โ”‚ โ”‚ :991: in _find_and_load -โ”‚ โ”‚ ??? -โ”‚ โ”‚ :975: in _find_and_load_unlocked -โ”‚ โ”‚ ??? -โ”‚ โ”‚ :671: in _load_unlocked -โ”‚ โ”‚ ??? -โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rew -โ”‚ โ”‚ rite.py:175: in exec_module -โ”‚ โ”‚ source_stat, co = _rewrite_test(fn, self.config) -โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rew -โ”‚ โ”‚ rite.py:355: in _rewrite_test -โ”‚ โ”‚ tree = ast.parse(source, filename=strfn) -โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/ast.py:47: in parse -โ”‚ โ”‚ return compile(source, filename, mode, flags, -โ”‚ โ”‚ E File "/workspace/tligui_y/slic/tests/test_broken_fct.py", line -โ”‚ โ”‚ 8 -โ”‚ โ”‚ E def test_valid_2(): -โ”‚ โ”‚ E ^ -โ”‚ โ”‚ E 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'. -โ”‚ โ”‚ Hint: make sure your test modules/packages have valid Python names. -โ”‚ โ”‚ Traceback: -โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in -โ”‚ โ”‚ import_module -โ”‚ โ”‚ return _bootstrap._gcd_import(name, package, level) -โ”‚ โ”‚ tests/test_collector_error.py:1: in -โ”‚ โ”‚ from no_existing_module.math_utils import * -โ”‚ โ”‚ E 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: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[1-5-6] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-4-7] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-5-8] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-6-9] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 36 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 36 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 36 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_fail -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 48 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_division_zero -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 52 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_multiply_xfail -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 56 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_runtime_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 61 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_memory_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 65 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_timeout_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 69 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_recursion_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 73 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_floating_point_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 79 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: -โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py::test_floating_point_overflow -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 83 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_value_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 87 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_wrong_argument_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 91 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_unhandled_exception -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 95 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_custom_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 99 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_stop_iteration_direct -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 103 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_generator_exit_direct -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 107 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_malformed_code -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 111 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_sys_exit -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 115 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_broken_function -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 119 -โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_import_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ lineno: 125 -โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py::test_module_not_found_error -โ”‚ โ”‚ โ”œโ”€โ”€ type: Function -โ”‚ โ”‚ โ””โ”€โ”€ lineno: 128 -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ 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_surrogateesc -โ”‚ โ”‚ โ”‚ โ”‚ ape -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.003712053061462939 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00044564995914697647 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00024797103833407164 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00047959305811673403 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002790909493342042 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013952702283859253 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00011587294284254313 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001583060948178172 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # Raises manual IOError to simulate IO failure -โ”‚ โ”‚ โ”‚ > cause_io_error() -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:25: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def cause_io_error(): -โ”‚ โ”‚ โ”‚ > raise IOError("Forced IO Error for testing") -โ”‚ โ”‚ โ”‚ E OSError: Forced IO Error for testing -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ functions/io_utils.py:10: OSError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001434129662811756 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00012745102867484093 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019952096045017242 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # Reading non-existing file raises FileNotFoundError -โ”‚ โ”‚ โ”‚ > read_file("nonexistent.file") -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:29: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ path = 'nonexistent.file' -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def read_file(path): -โ”‚ โ”‚ โ”‚ > with open(path, "r", encoding="utf-8") as f: -โ”‚ โ”‚ โ”‚ E FileNotFoundError: [Errno 2] No such file or directory: -โ”‚ โ”‚ โ”‚ 'nonexistent.file' -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ functions/io_utils.py:2: FileNotFoundError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001399789471179247 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00022277503740042448 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002086919266730547 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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 0x7efe54b05400> -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def test_permission_error(monkeypatch): -โ”‚ โ”‚ โ”‚ # Patch open to raise PermissionError simulating access -โ”‚ โ”‚ โ”‚ denial -โ”‚ โ”‚ โ”‚ def raise_perm_error(*args, **kwargs): -โ”‚ โ”‚ โ”‚ raise PermissionError("Permission denied") -โ”‚ โ”‚ โ”‚ monkeypatch.setattr("builtins.open", raise_perm_error) -โ”‚ โ”‚ โ”‚ > read_file("anyfile.txt") -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:36: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ functions/io_utils.py:2: in read_file -โ”‚ โ”‚ โ”‚ with open(path, "r", encoding="utf-8") as f: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ args = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'} -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def raise_perm_error(*args, **kwargs): -โ”‚ โ”‚ โ”‚ > raise PermissionError("Permission denied") -โ”‚ โ”‚ โ”‚ E PermissionError: Permission denied -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:34: PermissionError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001761900493875146 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00019404804334044456 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0033530420623719692 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/un -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ ittest/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 0x7efe54af1640> -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def test_mock_open_error(monkeypatch): -โ”‚ โ”‚ โ”‚ # Mock open() to raise IOError simulating read error -โ”‚ โ”‚ โ”‚ mocked_open = mock.mock_open() -โ”‚ โ”‚ โ”‚ mocked_open.side_effect = IOError("Mocked IOError") -โ”‚ โ”‚ โ”‚ monkeypatch.setattr("builtins.open", mocked_open) -โ”‚ โ”‚ โ”‚ > with open("file.txt", "r") as f: -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:43: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/unittest/mock.py:1081: in -โ”‚ โ”‚ โ”‚ __call__ -โ”‚ โ”‚ โ”‚ return self._mock_call(*args, **kwargs) -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/unittest/mock.py:1085: in -โ”‚ โ”‚ โ”‚ _mock_call -โ”‚ โ”‚ โ”‚ return self._execute_mock_call(*args, **kwargs) -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ self = -โ”‚ โ”‚ โ”‚ args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked -โ”‚ โ”‚ โ”‚ IOError') -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def _execute_mock_call(self, /, *args, **kwargs): -โ”‚ โ”‚ โ”‚ # separate from _increment_mock_call so that awaited -โ”‚ โ”‚ โ”‚ functions are -โ”‚ โ”‚ โ”‚ # executed separately from their call, also AsyncMock -โ”‚ โ”‚ โ”‚ overrides this method -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ effect = self.side_effect -โ”‚ โ”‚ โ”‚ if effect is not None: -โ”‚ โ”‚ โ”‚ if _is_exception(effect): -โ”‚ โ”‚ โ”‚ > raise effect -โ”‚ โ”‚ โ”‚ E OSError: Mocked IOError -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0003363869618624449 -โ”‚ โ”‚ โ””โ”€โ”€ 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.0001584810670465231 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002038930542767048 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # Accessing closed file raises ValueError -โ”‚ โ”‚ โ”‚ f = io.StringIO("content") -โ”‚ โ”‚ โ”‚ f.close() -โ”‚ โ”‚ โ”‚ > f.read() -โ”‚ โ”‚ โ”‚ E ValueError: I/O operation on closed file -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:50: ValueError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001695249229669571 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00024664902593940496 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002824190305545926 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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 0x7efe54beca90> -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def test_os_error(monkeypatch): -โ”‚ โ”‚ โ”‚ # Patch os.remove to raise OSError simulating filesystem -โ”‚ โ”‚ โ”‚ error -โ”‚ โ”‚ โ”‚ def raise_os_error(path): -โ”‚ โ”‚ โ”‚ raise OSError("Simulated OSError") -โ”‚ โ”‚ โ”‚ monkeypatch.setattr("os.remove", raise_os_error) -โ”‚ โ”‚ โ”‚ > os.remove("file.txt") -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:57: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ path = 'file.txt' -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def raise_os_error(path): -โ”‚ โ”‚ โ”‚ > raise OSError("Simulated OSError") -โ”‚ โ”‚ โ”‚ E OSError: Simulated OSError -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:55: OSError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017577700782567263 -โ”‚ โ”‚ โ””โ”€โ”€ 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.0006346600130200386 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000968953943811357 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001454490702599287 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00011321203783154488 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001689479686319828 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # Raises FileNotFoundError when opening a non-existent -โ”‚ โ”‚ โ”‚ file -โ”‚ โ”‚ โ”‚ > open("no_such_file.txt", "r") -โ”‚ โ”‚ โ”‚ E FileNotFoundError: [Errno 2] No such file or directory: -โ”‚ โ”‚ โ”‚ 'no_such_file.txt' -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:69: FileNotFoundError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015606300439685583 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00015059905126690865 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015065900515764952 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # simulating a broken or faulty test implementation that -โ”‚ โ”‚ โ”‚ will cause the test to error -โ”‚ โ”‚ โ”‚ > want_the_test_to_fail -โ”‚ โ”‚ โ”‚ E NameError: name 'want_the_test_to_fail' is not defined -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:16: NameError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001443149521946907 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00014731497503817081 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016163301188498735 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # Accessing a missing function attribute raises -โ”‚ โ”‚ โ”‚ AttributeError -โ”‚ โ”‚ โ”‚ > getattr(math_utils, "non_existent_function")() -โ”‚ โ”‚ โ”‚ E AttributeError: module 'functions.math_utils' has no -โ”‚ โ”‚ โ”‚ attribute 'non_existent_function' -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:20: AttributeError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014069699682295322 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[2-2-4] -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_pass[2-2-4] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ parametrize -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 2-2-4 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0003206870751455426 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014747993554919958 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014186499174684286 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[1-5-6] -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_pass[1-5-6] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ parametrize -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 1-5-6 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00026144098956137896 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001387890661135316 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013722805306315422 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-4-7] -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_pass[3-4-7] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ parametrize -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 3-4-7 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00026605906896293163 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012841308489441872 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000132726039737463 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-5-8] -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_pass[3-5-8] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ parametrize -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 3-5-8 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00026045902632176876 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013065605890005827 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013176293577998877 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-6-9] -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 22 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_pass[3-6-9] -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ parametrize -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 3-6-9 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002436790382489562 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012630003038793802 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001354779815301299 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 36 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_pass_id -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ parametrize -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ a=2,b=2,expected=4 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00025933096185326576 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013040902558714151 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013208389282226562 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 36 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_pass_id -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ parametrize -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ a=1,b=5,expected=6 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000252285972237587 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013130391016602516 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001345470082014799 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 36 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_pass_id -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ parametrize -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ a=3,b=4,expected=7 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00024261896032840014 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012549699749797583 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001302049495279789 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_fail -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 48 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_addition_fail -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010647892486304045 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004449759144335985 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 51 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: assert 4 == 5 -โ”‚ โ”‚ โ”‚ โ”‚ + where 4 = addition(2, 2) -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 51 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: AssertionError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_addition_fail(): -โ”‚ โ”‚ โ”‚ # Assertion failure: expected incorrect result -โ”‚ โ”‚ โ”‚ > assert addition(2, 2) == 5 -โ”‚ โ”‚ โ”‚ E assert 4 == 5 -โ”‚ โ”‚ โ”‚ E + where 4 = addition(2, 2) -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:51: AssertionError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013453594874590635 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_division_zero -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 52 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_division_zero -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012155191507190466 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016459496691823006 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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: 55 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: functions/math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 5 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: ZeroDivisionError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_division_zero(): -โ”‚ โ”‚ โ”‚ # Will raise ZeroDivisionError if not handled in -โ”‚ โ”‚ โ”‚ division -โ”‚ โ”‚ โ”‚ > division(1, 0) -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:55: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ a = 1, b = 0 -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def division(a, b): -โ”‚ โ”‚ โ”‚ > return a / b -โ”‚ โ”‚ โ”‚ E ZeroDivisionError: division by zero -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ functions/math_utils.py:5: ZeroDivisionError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013598205987364054 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_multiply_xfail -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 56 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: xfailed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_multiply_xfail -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ xfail -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ pytestmark -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001444320660084486 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00027191301342099905 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: skipped -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 60 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: assert 4 == 5 -โ”‚ โ”‚ โ”‚ โ”‚ + where 4 = multiply(2, 2) -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 60 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: AssertionError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: @pytest.mark.xfail(reason="Expected failure") -โ”‚ โ”‚ โ”‚ def test_multiply_xfail(): -โ”‚ โ”‚ โ”‚ # Expected fail test (xfail): incorrect expected -โ”‚ โ”‚ โ”‚ multiply result -โ”‚ โ”‚ โ”‚ > assert multiply(2, 2) == 5 -โ”‚ โ”‚ โ”‚ E assert 4 == 5 -โ”‚ โ”‚ โ”‚ E + where 4 = multiply(2, 2) -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:60: AssertionError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001377980224788189 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_runtime_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 61 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_runtime_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013417692389339209 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017429597210139036 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 64 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: RuntimeError: Forced runtime error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 64 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: RuntimeError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_runtime_error(): -โ”‚ โ”‚ โ”‚ # Test raises an uncaught RuntimeError -โ”‚ โ”‚ โ”‚ > raise RuntimeError("Forced runtime error") -โ”‚ โ”‚ โ”‚ E RuntimeError: Forced runtime error -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:64: RuntimeError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013738893903791904 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_memory_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 65 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_memory_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012088508810847998 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001580138923600316 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 68 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: MemoryError: Simulated memory error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 68 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: MemoryError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_memory_error(): -โ”‚ โ”‚ โ”‚ # Manually raise MemoryError to simulate out-of-memory -โ”‚ โ”‚ โ”‚ condition -โ”‚ โ”‚ โ”‚ > raise MemoryError("Simulated memory error") -โ”‚ โ”‚ โ”‚ E MemoryError: Simulated memory error -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:68: MemoryError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013860093895345926 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_timeout_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 69 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_timeout_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011845200788229704 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001509190769866109 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 72 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: TimeoutError: Simulated timeout error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 72 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: TimeoutError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_timeout_error(): -โ”‚ โ”‚ โ”‚ # Manually raise TimeoutError simulating timeout -โ”‚ โ”‚ โ”‚ conditions -โ”‚ โ”‚ โ”‚ > raise TimeoutError("Simulated timeout error") -โ”‚ โ”‚ โ”‚ E TimeoutError: Simulated timeout error -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:72: TimeoutError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00020893302280455828 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_recursion_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 73 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_recursion_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013021798804402351 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0008316409075632691 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 77 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: RecursionError: maximum recursion depth exceeded -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 78 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 77 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in recursive -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 77 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in recursive -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_recursion_error(): -โ”‚ โ”‚ โ”‚ # Infinite recursion triggers RecursionError -โ”‚ โ”‚ โ”‚ def recursive(): -โ”‚ โ”‚ โ”‚ return recursive() -โ”‚ โ”‚ โ”‚ > recursive() -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:78: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:77: in recursive -โ”‚ โ”‚ โ”‚ return recursive() -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:77: in recursive -โ”‚ โ”‚ โ”‚ return recursive() -โ”‚ โ”‚ โ”‚ E RecursionError: maximum recursion depth exceeded -โ”‚ โ”‚ โ”‚ !!! Recursion detected (same locals & position) -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000242493930272758 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_floating_point_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 79 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_floating_point_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001399980392307043 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017177709378302097 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 82 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: FloatingPointError: Simulated floating point error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 82 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: FloatingPointError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_floating_point_error(): -โ”‚ โ”‚ โ”‚ # Manually raise FloatingPointError -โ”‚ โ”‚ โ”‚ > raise FloatingPointError("Simulated floating point -โ”‚ โ”‚ โ”‚ error") -โ”‚ โ”‚ โ”‚ E FloatingPointError: Simulated floating point error -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:82: FloatingPointError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0003054209519177675 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_floating_point_overflow -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 83 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_floating_point_overflow -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00022506201639771461 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018903298769146204 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 86 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: OverflowError: math range error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 86 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: OverflowError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_floating_point_overflow(): -โ”‚ โ”‚ โ”‚ # Exponential overflow triggers OverflowError -โ”‚ โ”‚ โ”‚ > math.exp(1000) -โ”‚ โ”‚ โ”‚ E OverflowError: math range error -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:86: OverflowError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017177604604512453 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_value_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 87 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_value_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016556703485548496 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000286665977910161 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 90 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: ValueError: invalid literal for int() with base 10: -โ”‚ โ”‚ โ”‚ โ”‚ 'invalid' -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 90 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: ValueError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_value_error(): -โ”‚ โ”‚ โ”‚ # ValueError on invalid integer conversion -โ”‚ โ”‚ โ”‚ > int("invalid") -โ”‚ โ”‚ โ”‚ E ValueError: invalid literal for int() with base 10: -โ”‚ โ”‚ โ”‚ 'invalid' -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:90: ValueError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00021403597202152014 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_wrong_argument_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 91 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_wrong_argument_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001352099934592843 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001697929110378027 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 94 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: TypeError: 'int' object is not iterable -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 94 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: TypeError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_wrong_argument_error(): -โ”‚ โ”‚ โ”‚ # TypeError when passing wrong argument type to sum -โ”‚ โ”‚ โ”‚ > sum(5) -โ”‚ โ”‚ โ”‚ E TypeError: 'int' object is not iterable -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:94: TypeError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001794419949874282 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_unhandled_exception -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 95 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_unhandled_exception -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012619292829185724 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001638729590922594 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 98 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: Exception: Generic unhandled exception -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 98 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: Exception -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_unhandled_exception(): -โ”‚ โ”‚ โ”‚ # Raises generic unhandled Exception -โ”‚ โ”‚ โ”‚ > raise Exception("Generic unhandled exception") -โ”‚ โ”‚ โ”‚ E Exception: Generic unhandled exception -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:98: Exception -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001422360073775053 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_custom_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 99 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_custom_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012361409608274698 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001543379621580243 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 102 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: test_math_utils.CustomError: Custom error -โ”‚ โ”‚ โ”‚ โ”‚ simulation -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 102 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: CustomError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_custom_error(): -โ”‚ โ”‚ โ”‚ # Raises user-defined CustomError exception -โ”‚ โ”‚ โ”‚ > raise CustomError("Custom error simulation") -โ”‚ โ”‚ โ”‚ E test_math_utils.CustomError: Custom error simulation -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:102: CustomError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014893896877765656 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_stop_iteration_direct -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 103 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_stop_iteration_direct -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011681206524372101 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001482260413467884 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/si -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ te-packages/_pytest/capture.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 880 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: RuntimeError: generator raised StopIteration -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/r -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ unner.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 341 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/r -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ unner.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 242 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/pluggy/_h -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ ooks.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 513 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in __call__ -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/pluggy/_m -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ anager.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 120 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in _hookexec -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/t -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ hreadexception.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 92 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in pytest_runtest_call -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/t -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ hreadexception.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 68 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in thread_exception_runtest_hook -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/u -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ nraisableexception.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 95 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in pytest_runtest_call -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/u -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ nraisableexception.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 70 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in unraisable_exception_runtest_hook -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/l -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ ogging.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 846 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in pytest_runtest_call -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/l -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ ogging.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 829 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: in _runtest_for -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/c -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ apture.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 880 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: RuntimeError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_stop_iteration_direct(): -โ”‚ โ”‚ โ”‚ # Directly raise StopIteration exception -โ”‚ โ”‚ โ”‚ > raise StopIteration() -โ”‚ โ”‚ โ”‚ E StopIteration -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:106: StopIteration -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ The above exception was the direct cause of the following -โ”‚ โ”‚ โ”‚ exception: -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ cls = -โ”‚ โ”‚ โ”‚ func = . at -โ”‚ โ”‚ โ”‚ 0x7efe523819d0> -โ”‚ โ”‚ โ”‚ when = 'call' -โ”‚ โ”‚ โ”‚ reraise = (, ) -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ @classmethod -โ”‚ โ”‚ โ”‚ def from_call( -โ”‚ โ”‚ โ”‚ cls, -โ”‚ โ”‚ โ”‚ func: Callable[[], TResult], -โ”‚ โ”‚ โ”‚ when: Literal["collect", "setup", "call", "teardown"], -โ”‚ โ”‚ โ”‚ reraise: type[BaseException] | -โ”‚ โ”‚ โ”‚ tuple[type[BaseException], ...] | None = None, -โ”‚ โ”‚ โ”‚ ) -> CallInfo[TResult]: -โ”‚ โ”‚ โ”‚ """Call func, wrapping the result in a CallInfo. -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ :param func: -โ”‚ โ”‚ โ”‚ The function to call. Called without arguments. -โ”‚ โ”‚ โ”‚ :type func: Callable[[], _pytest.runner.TResult] -โ”‚ โ”‚ โ”‚ :param when: -โ”‚ โ”‚ โ”‚ The phase in which the function is called. -โ”‚ โ”‚ โ”‚ :param reraise: -โ”‚ โ”‚ โ”‚ Exception or exceptions that shall propagate if -โ”‚ โ”‚ โ”‚ raised by the -โ”‚ โ”‚ โ”‚ function, instead of being wrapped in the CallInfo. -โ”‚ โ”‚ โ”‚ """ -โ”‚ โ”‚ โ”‚ excinfo = None -โ”‚ โ”‚ โ”‚ start = timing.time() -โ”‚ โ”‚ โ”‚ precise_start = timing.perf_counter() -โ”‚ โ”‚ โ”‚ try: -โ”‚ โ”‚ โ”‚ > result: TResult | None = func() -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py -โ”‚ โ”‚ โ”‚ :341: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py -โ”‚ โ”‚ โ”‚ :242: in -โ”‚ โ”‚ โ”‚ lambda: runtest_hook(item=item, **kwds), when=when, -โ”‚ โ”‚ โ”‚ reraise=reraise -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py: -โ”‚ โ”‚ โ”‚ 513: in __call__ -โ”‚ โ”‚ โ”‚ return self._hookexec(self.name, self._hookimpls.copy(), -โ”‚ โ”‚ โ”‚ kwargs, firstresult) -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.p -โ”‚ โ”‚ โ”‚ y:120: in _hookexec -โ”‚ โ”‚ โ”‚ return self._inner_hookexec(hook_name, methods, kwargs, -โ”‚ โ”‚ โ”‚ firstresult) -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexc -โ”‚ โ”‚ โ”‚ eption.py:92: in pytest_runtest_call -โ”‚ โ”‚ โ”‚ yield from thread_exception_runtest_hook() -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexc -โ”‚ โ”‚ โ”‚ eption.py:68: in thread_exception_runtest_hook -โ”‚ โ”‚ โ”‚ yield -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisabl -โ”‚ โ”‚ โ”‚ eexception.py:95: in pytest_runtest_call -โ”‚ โ”‚ โ”‚ yield from unraisable_exception_runtest_hook() -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisabl -โ”‚ โ”‚ โ”‚ eexception.py:70: in unraisable_exception_runtest_hook -โ”‚ โ”‚ โ”‚ yield -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.p -โ”‚ โ”‚ โ”‚ y:846: in pytest_runtest_call -โ”‚ โ”‚ โ”‚ yield from self._runtest_for(item, "call") -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.p -โ”‚ โ”‚ โ”‚ y:829: in _runtest_for -โ”‚ โ”‚ โ”‚ yield -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ self = _capture_fixture=None> -โ”‚ โ”‚ โ”‚ item = -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ @hookimpl(wrapper=True) -โ”‚ โ”‚ โ”‚ def pytest_runtest_call(self, item: Item) -> -โ”‚ โ”‚ โ”‚ Generator[None]: -โ”‚ โ”‚ โ”‚ with self.item_capture("call", item): -โ”‚ โ”‚ โ”‚ > return (yield) -โ”‚ โ”‚ โ”‚ E RuntimeError: generator raised StopIteration -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.p -โ”‚ โ”‚ โ”‚ y:880: RuntimeError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002623400650918484 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_generator_exit_direct -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 107 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_generator_exit_direct -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015564693603664637 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001798310549929738 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 110 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: GeneratorExit -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 110 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: GeneratorExit -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_generator_exit_direct(): -โ”‚ โ”‚ โ”‚ # Directly raise GeneratorExit exception -โ”‚ โ”‚ โ”‚ > raise GeneratorExit() -โ”‚ โ”‚ โ”‚ E GeneratorExit -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:110: GeneratorExit -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016959605272859335 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_malformed_code -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 111 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_malformed_code -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012748700100928545 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018480303697288036 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 114 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: File "", line 1 -โ”‚ โ”‚ โ”‚ โ”‚ def bad(: -โ”‚ โ”‚ โ”‚ โ”‚ ^ -โ”‚ โ”‚ โ”‚ โ”‚ SyntaxError: invalid syntax -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 114 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: SyntaxError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_malformed_code(): -โ”‚ โ”‚ โ”‚ # SyntaxError when executing malformed Python code -โ”‚ โ”‚ โ”‚ > exec("def bad(:\n pass") -โ”‚ โ”‚ โ”‚ E File "", line 1 -โ”‚ โ”‚ โ”‚ E def bad(: -โ”‚ โ”‚ โ”‚ E ^ -โ”‚ โ”‚ โ”‚ E SyntaxError: invalid syntax -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:114: SyntaxError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015594810247421265 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_sys_exit -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 115 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_sys_exit -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012053805403411388 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015110999811440706 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 118 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: SystemExit: 1 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 118 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: SystemExit -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_sys_exit(): -โ”‚ โ”‚ โ”‚ # Simulate SystemExit via sys.exit -โ”‚ โ”‚ โ”‚ > sys.exit(1) -โ”‚ โ”‚ โ”‚ E SystemExit: 1 -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:118: SystemExit -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014354707673192024 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_broken_function -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 119 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_broken_function -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011833407916128635 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001647049793973565 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 123 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: TypeError: Broken function -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 124 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 123 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: TypeError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_broken_function(): -โ”‚ โ”‚ โ”‚ # Simulate broken function raising TypeError -โ”‚ โ”‚ โ”‚ def broken_func(*args, **kwargs): -โ”‚ โ”‚ โ”‚ raise TypeError("Broken function") -โ”‚ โ”‚ โ”‚ > broken_func() -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:124: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ args = (), kwargs = {} -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def broken_func(*args, **kwargs): -โ”‚ โ”‚ โ”‚ > raise TypeError("Broken function") -โ”‚ โ”‚ โ”‚ E TypeError: Broken function -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:123: TypeError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014115299563854933 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_import_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 125 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_import_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011942500714212656 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015474401880055666 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 127 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: ImportError: Simulated ImportError -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 127 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: ImportError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: def test_import_error(): -โ”‚ โ”‚ โ”‚ > raise ImportError("Simulated ImportError") -โ”‚ โ”‚ โ”‚ E ImportError: Simulated ImportError -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:127: ImportError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013949302956461906 -โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_module_not_found_error -โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 128 -โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”œโ”€โ”€ keywords -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_module_not_found_error -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ tests -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ -โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012782809790223837 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004714609822258353 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 973 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: ModuleNotFoundError: No module named -โ”‚ โ”‚ โ”‚ โ”‚ 'non_existent_module_xyz' -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_math_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 131 -โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # Raises ModuleNotFoundError (subclass of ImportError) -โ”‚ โ”‚ โ”‚ for missing module -โ”‚ โ”‚ โ”‚ > importlib.import_module("non_existent_module_xyz") -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:131: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in -โ”‚ โ”‚ โ”‚ import_module -โ”‚ โ”‚ โ”‚ return _bootstrap._gcd_import(name, package, level) -โ”‚ โ”‚ โ”‚ :1014: in _gcd_import -โ”‚ โ”‚ โ”‚ ??? -โ”‚ โ”‚ โ”‚ :991: in _find_and_load -โ”‚ โ”‚ โ”‚ ??? -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ name = 'non_existent_module_xyz' -โ”‚ โ”‚ โ”‚ import_ = -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ > ??? -โ”‚ โ”‚ โ”‚ E ModuleNotFoundError: No module named -โ”‚ โ”‚ โ”‚ 'non_existent_module_xyz' -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ :973: ModuleNotFoundError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014721101615577936 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00023300095926970243 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015095400158315897 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011299899779260159 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00010625389404594898 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001444359077140689 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # TypeError when input is None (invalid input) -โ”‚ โ”‚ โ”‚ > uppercase(None) -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:14: -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ s = None -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ def uppercase(s): -โ”‚ โ”‚ โ”‚ if s is None: -โ”‚ โ”‚ โ”‚ > raise TypeError("Input cannot be None") -โ”‚ โ”‚ โ”‚ E TypeError: Input cannot be None -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ functions/string_utils.py:3: TypeError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001365389907732606 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00011858704965561628 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014201004523783922 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010207993909716606 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00010468193795531988 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014284893404692411 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 9.541003964841366e-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.0001124190166592598 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001476589823141694 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # UnicodeDecodeError when decoding invalid byte sequence -โ”‚ โ”‚ โ”‚ > b'\xff'.decode('utf-8') -โ”‚ โ”‚ โ”‚ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff -โ”‚ โ”‚ โ”‚ in position 0: invalid start byte -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:26: UnicodeDecodeError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001357549335807562 -โ”‚ โ”‚ โ””โ”€โ”€ 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.0001338580623269081 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015461293514817953 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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(): -โ”‚ โ”‚ โ”‚ # UnicodeDecodeError with strict error handler on -โ”‚ โ”‚ โ”‚ invalid byte -โ”‚ โ”‚ โ”‚ > b"\x80".decode("utf-8", errors="strict") -โ”‚ โ”‚ โ”‚ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 -โ”‚ โ”‚ โ”‚ in position 0: invalid start byte -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:30: UnicodeDecodeError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013318401761353016 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00013540301006287336 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013895600568503141 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010543910320848227 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00011782697401940823 -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed -โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0005976250395178795 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: skipped -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_string_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 39 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: AssertionError: assert 'ABC123' == 'ABC1234' -โ”‚ โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ โ”‚ - ABC1234 -โ”‚ โ”‚ โ”‚ โ”‚ ? - -โ”‚ โ”‚ โ”‚ โ”‚ + ABC123 -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ traceback -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ - -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: tests/test_string_utils.py -โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 39 -โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: AssertionError -โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: @pytest.mark.xfail(reason="Expected failure: uppercase -โ”‚ โ”‚ โ”‚ does not handle digits") -โ”‚ โ”‚ โ”‚ def test_xfail_uppercase_digits(): -โ”‚ โ”‚ โ”‚ # Expected fail test because uppercase won't change -โ”‚ โ”‚ โ”‚ digits -โ”‚ โ”‚ โ”‚ > assert uppercase("abc123") == "ABC1234" -โ”‚ โ”‚ โ”‚ E AssertionError: assert 'ABC123' == 'ABC1234' -โ”‚ โ”‚ โ”‚ E -โ”‚ โ”‚ โ”‚ E - ABC1234 -โ”‚ โ”‚ โ”‚ E ? - -โ”‚ โ”‚ โ”‚ E + ABC123 -โ”‚ โ”‚ โ”‚ -โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:39: AssertionError -โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013188901357352734 -โ”‚ โ”‚ โ””โ”€โ”€ 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.00012095191050320864 -โ”‚ โ””โ”€โ”€ outcome: passed -โ””โ”€โ”€ warnings - โ””โ”€โ”€ - - โ”œโ”€โ”€ message: Test warning - โ”œโ”€โ”€ category: UserWarning - โ”œโ”€โ”€ when: runtest - โ”œโ”€โ”€ filename: /workspace/tligui_y/slic/tests/test_string_utils.py - โ””โ”€โ”€ lineno: 22 diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index dca306a6..138c24cd 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752665915.4087803, "duration": 0.7966759204864502, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 31, "xfailed": 2, "total": 49, "collected": 49}, "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": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 48}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 52}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 65}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 69}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 73}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 95}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 99}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 103}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 107}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 111}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 115}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_import_error", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 128}]}, {"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.003712053061462939, "outcome": "passed"}, "call": {"duration": 0.00044564995914697647, "outcome": "passed"}, "teardown": {"duration": 0.00024797103833407164, "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.00047959305811673403, "outcome": "passed"}, "call": {"duration": 0.0002790909493342042, "outcome": "passed"}, "teardown": {"duration": 0.00013952702283859253, "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.00011587294284254313, "outcome": "passed"}, "call": {"duration": 0.0001583060948178172, "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.0001434129662811756, "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.00012745102867484093, "outcome": "passed"}, "call": {"duration": 0.00019952096045017242, "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.0001399789471179247, "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.00022277503740042448, "outcome": "passed"}, "call": {"duration": 0.0002086919266730547, "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 0x7efe54b05400>\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.0001761900493875146, "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.00019404804334044456, "outcome": "passed"}, "call": {"duration": 0.0033530420623719692, "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 0x7efe54af1640>\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.0003363869618624449, "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.0001584810670465231, "outcome": "passed"}, "call": {"duration": 0.0002038930542767048, "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.0001695249229669571, "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.00024664902593940496, "outcome": "passed"}, "call": {"duration": 0.0002824190305545926, "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 0x7efe54beca90>\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.00017577700782567263, "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.0006346600130200386, "outcome": "passed"}, "call": {"duration": 0.000968953943811357, "outcome": "passed"}, "teardown": {"duration": 0.0001454490702599287, "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.00011321203783154488, "outcome": "passed"}, "call": {"duration": 0.0001689479686319828, "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.00015606300439685583, "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.00015059905126690865, "outcome": "passed"}, "call": {"duration": 0.00015065900515764952, "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.0001443149521946907, "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.00014731497503817081, "outcome": "passed"}, "call": {"duration": 0.00016163301188498735, "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.00014069699682295322, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0003206870751455426, "outcome": "passed"}, "call": {"duration": 0.00014747993554919958, "outcome": "passed"}, "teardown": {"duration": 0.00014186499174684286, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00026144098956137896, "outcome": "passed"}, "call": {"duration": 0.0001387890661135316, "outcome": "passed"}, "teardown": {"duration": 0.00013722805306315422, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00026605906896293163, "outcome": "passed"}, "call": {"duration": 0.00012841308489441872, "outcome": "passed"}, "teardown": {"duration": 0.000132726039737463, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00026045902632176876, "outcome": "passed"}, "call": {"duration": 0.00013065605890005827, "outcome": "passed"}, "teardown": {"duration": 0.00013176293577998877, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002436790382489562, "outcome": "passed"}, "call": {"duration": 0.00012630003038793802, "outcome": "passed"}, "teardown": {"duration": 0.0001354779815301299, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 36, "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.00025933096185326576, "outcome": "passed"}, "call": {"duration": 0.00013040902558714151, "outcome": "passed"}, "teardown": {"duration": 0.00013208389282226562, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 36, "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.000252285972237587, "outcome": "passed"}, "call": {"duration": 0.00013130391016602516, "outcome": "passed"}, "teardown": {"duration": 0.0001345470082014799, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 36, "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.00024261896032840014, "outcome": "passed"}, "call": {"duration": 0.00012549699749797583, "outcome": "passed"}, "teardown": {"duration": 0.0001302049495279789, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 48, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010647892486304045, "outcome": "passed"}, "call": {"duration": 0.0004449759144335985, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 51, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 51, "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:51: AssertionError"}, "teardown": {"duration": 0.00013453594874590635, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 52, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012155191507190466, "outcome": "passed"}, "call": {"duration": 0.00016459496691823006, "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": 55, "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:55: \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.00013598205987364054, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 56, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001444320660084486, "outcome": "passed"}, "call": {"duration": 0.00027191301342099905, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 60, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 60, "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:60: AssertionError"}, "teardown": {"duration": 0.0001377980224788189, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 61, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013417692389339209, "outcome": "passed"}, "call": {"duration": 0.00017429597210139036, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 64, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 64, "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:64: RuntimeError"}, "teardown": {"duration": 0.00013738893903791904, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 65, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012088508810847998, "outcome": "passed"}, "call": {"duration": 0.0001580138923600316, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 68, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 68, "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:68: MemoryError"}, "teardown": {"duration": 0.00013860093895345926, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 69, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011845200788229704, "outcome": "passed"}, "call": {"duration": 0.0001509190769866109, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 72, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 72, "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:72: TimeoutError"}, "teardown": {"duration": 0.00020893302280455828, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 73, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013021798804402351, "outcome": "passed"}, "call": {"duration": 0.0008316409075632691, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 77, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 78, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 77, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 77, "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:78: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:77: in recursive\n return recursive()\ntests/test_math_utils.py:77: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.000242493930272758, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 79, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001399980392307043, "outcome": "passed"}, "call": {"duration": 0.00017177709378302097, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:82: FloatingPointError"}, "teardown": {"duration": 0.0003054209519177675, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 83, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00022506201639771461, "outcome": "passed"}, "call": {"duration": 0.00018903298769146204, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 86, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 86, "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:86: OverflowError"}, "teardown": {"duration": 0.00017177604604512453, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 87, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00016556703485548496, "outcome": "passed"}, "call": {"duration": 0.000286665977910161, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 90, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 90, "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:90: ValueError"}, "teardown": {"duration": 0.00021403597202152014, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "lineno": 91, "outcome": "failed", "keywords": ["test_wrong_argument_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001352099934592843, "outcome": "passed"}, "call": {"duration": 0.0001697929110378027, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 94, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 94, "message": "TypeError"}], "longrepr": "def test_wrong_argument_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:94: TypeError"}, "teardown": {"duration": 0.0001794419949874282, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 95, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012619292829185724, "outcome": "passed"}, "call": {"duration": 0.0001638729590922594, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 98, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 98, "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:98: Exception"}, "teardown": {"duration": 0.0001422360073775053, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 99, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012361409608274698, "outcome": "passed"}, "call": {"duration": 0.0001543379621580243, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 102, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 102, "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:102: CustomError"}, "teardown": {"duration": 0.00014893896877765656, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 103, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011681206524372101, "outcome": "passed"}, "call": {"duration": 0.0001482260413467884, "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:106: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7efe523819d0>\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.0002623400650918484, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 107, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00015564693603664637, "outcome": "passed"}, "call": {"duration": 0.0001798310549929738, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:110: GeneratorExit"}, "teardown": {"duration": 0.00016959605272859335, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 111, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012748700100928545, "outcome": "passed"}, "call": {"duration": 0.00018480303697288036, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 114, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 114, "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:114: SyntaxError"}, "teardown": {"duration": 0.00015594810247421265, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 115, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012053805403411388, "outcome": "passed"}, "call": {"duration": 0.00015110999811440706, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 118, "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:118: SystemExit"}, "teardown": {"duration": 0.00014354707673192024, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 119, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011833407916128635, "outcome": "passed"}, "call": {"duration": 0.0001647049793973565, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 123, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 124, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 123, "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:124: \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:123: TypeError"}, "teardown": {"duration": 0.00014115299563854933, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error", "lineno": 125, "outcome": "failed", "keywords": ["test_import_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011942500714212656, "outcome": "passed"}, "call": {"duration": 0.00015474401880055666, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 127, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 127, "message": "ImportError"}], "longrepr": "def test_import_error():\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:127: ImportError"}, "teardown": {"duration": 0.00013949302956461906, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 128, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012782809790223837, "outcome": "passed"}, "call": {"duration": 0.0004714609822258353, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "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:131: \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.00014721101615577936, "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.00023300095926970243, "outcome": "passed"}, "call": {"duration": 0.00015095400158315897, "outcome": "passed"}, "teardown": {"duration": 0.00011299899779260159, "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.00010625389404594898, "outcome": "passed"}, "call": {"duration": 0.0001444359077140689, "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.0001365389907732606, "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.00011858704965561628, "outcome": "passed"}, "call": {"duration": 0.00014201004523783922, "outcome": "passed"}, "teardown": {"duration": 0.00010207993909716606, "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.00010468193795531988, "outcome": "passed"}, "call": {"duration": 0.00014284893404692411, "outcome": "passed"}, "teardown": {"duration": 9.541003964841366e-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.0001124190166592598, "outcome": "passed"}, "call": {"duration": 0.0001476589823141694, "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.0001357549335807562, "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.0001338580623269081, "outcome": "passed"}, "call": {"duration": 0.00015461293514817953, "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.00013318401761353016, "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.00013540301006287336, "outcome": "passed"}, "call": {"duration": 0.00013895600568503141, "outcome": "passed"}, "teardown": {"duration": 0.00010543910320848227, "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.00011782697401940823, "outcome": "passed"}, "call": {"duration": 0.0005976250395178795, "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.00013188901357352734, "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.00012095191050320864, "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": 1752666019.7329023, "duration": 0.7439579963684082, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 31, "xfailed": 2, "total": 49, "collected": 49}, "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": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 48}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 52}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 65}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 69}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 73}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 95}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 99}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 103}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 107}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 111}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 115}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_import_error", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 128}]}, {"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.003421813016757369, "outcome": "passed"}, "call": {"duration": 0.00047769094817340374, "outcome": "passed"}, "teardown": {"duration": 0.0002498800167813897, "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.0005426090210676193, "outcome": "passed"}, "call": {"duration": 0.00029082794208079576, "outcome": "passed"}, "teardown": {"duration": 0.00015079998411238194, "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.00011848006397485733, "outcome": "passed"}, "call": {"duration": 0.00016052392311394215, "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.00015661900397390127, "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.0001250719651579857, "outcome": "passed"}, "call": {"duration": 0.0001944450195878744, "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.00015192502178251743, "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.00022828509099781513, "outcome": "passed"}, "call": {"duration": 0.00018486508633941412, "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 0x7fdb01545310>\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.00018560304306447506, "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.00021422002464532852, "outcome": "passed"}, "call": {"duration": 0.0033865150762721896, "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 0x7fdb015d3f10>\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.00031950301490724087, "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.00014761299826204777, "outcome": "passed"}, "call": {"duration": 0.00019145500846207142, "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.00016803492326289415, "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.0002463290002197027, "outcome": "passed"}, "call": {"duration": 0.00018573994748294353, "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 0x7fdb01545310>\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.00016885297372937202, "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.0006398269906640053, "outcome": "passed"}, "call": {"duration": 0.0009878079872578382, "outcome": "passed"}, "teardown": {"duration": 0.00015609804540872574, "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.00012088997755199671, "outcome": "passed"}, "call": {"duration": 0.0001701550791040063, "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.00014134100638329983, "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.00013269903138279915, "outcome": "passed"}, "call": {"duration": 0.00017226499039679766, "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.0001397330779582262, "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.00012284505646675825, "outcome": "passed"}, "call": {"duration": 0.00015551492106169462, "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.00015165098011493683, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0003416499821469188, "outcome": "passed"}, "call": {"duration": 0.0001670928904786706, "outcome": "passed"}, "teardown": {"duration": 0.00016383395995944738, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00027710001450031996, "outcome": "passed"}, "call": {"duration": 0.0001483020605519414, "outcome": "passed"}, "teardown": {"duration": 0.0001514679752290249, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002633329713717103, "outcome": "passed"}, "call": {"duration": 0.00014294497668743134, "outcome": "passed"}, "teardown": {"duration": 0.00014784501399844885, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00026178895495831966, "outcome": "passed"}, "call": {"duration": 0.00014221691526472569, "outcome": "passed"}, "teardown": {"duration": 0.0001557819778099656, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002726790262386203, "outcome": "passed"}, "call": {"duration": 0.00014452601317316294, "outcome": "passed"}, "teardown": {"duration": 0.00015047704800963402, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 36, "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.0002624619519338012, "outcome": "passed"}, "call": {"duration": 0.00014759099576622248, "outcome": "passed"}, "teardown": {"duration": 0.0001506740227341652, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 36, "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.00027446099556982517, "outcome": "passed"}, "call": {"duration": 0.00015195400919765234, "outcome": "passed"}, "teardown": {"duration": 0.00014610798098146915, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 36, "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.0002612069947645068, "outcome": "passed"}, "call": {"duration": 0.0001336029963567853, "outcome": "passed"}, "teardown": {"duration": 0.0001347229117527604, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 48, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011142098810523748, "outcome": "passed"}, "call": {"duration": 0.0005046470323577523, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 51, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 51, "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:51: AssertionError"}, "teardown": {"duration": 0.00015419407282024622, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 52, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013032800052314997, "outcome": "passed"}, "call": {"duration": 0.00016202195547521114, "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": 55, "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:55: \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.0001432179706171155, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 56, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013849406968802214, "outcome": "passed"}, "call": {"duration": 0.0002718609757721424, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 60, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 60, "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:60: AssertionError"}, "teardown": {"duration": 0.0001384200295433402, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 61, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001243710285052657, "outcome": "passed"}, "call": {"duration": 0.00015352899208664894, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 64, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 64, "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:64: RuntimeError"}, "teardown": {"duration": 0.00014881789684295654, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 65, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011922395788133144, "outcome": "passed"}, "call": {"duration": 0.00016351800877600908, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 68, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 68, "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:68: MemoryError"}, "teardown": {"duration": 0.00013663002755492926, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 69, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011715700384229422, "outcome": "passed"}, "call": {"duration": 0.00015962100587785244, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 72, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 72, "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:72: TimeoutError"}, "teardown": {"duration": 0.00013702409341931343, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 73, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011944305151700974, "outcome": "passed"}, "call": {"duration": 0.0008027420844882727, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 77, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 78, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 77, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 77, "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:78: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:77: in recursive\n return recursive()\ntests/test_math_utils.py:77: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.0001437889877706766, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 79, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001232990762218833, "outcome": "passed"}, "call": {"duration": 0.00015187193639576435, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:82: FloatingPointError"}, "teardown": {"duration": 0.00014345406088978052, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 83, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012077100109308958, "outcome": "passed"}, "call": {"duration": 0.00017223809845745564, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 86, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 86, "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:86: OverflowError"}, "teardown": {"duration": 0.00014229805674403906, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 87, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001312500098720193, "outcome": "passed"}, "call": {"duration": 0.00015651702415198088, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 90, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 90, "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:90: ValueError"}, "teardown": {"duration": 0.00014790508430451155, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "lineno": 91, "outcome": "failed", "keywords": ["test_wrong_argument_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012326007708907127, "outcome": "passed"}, "call": {"duration": 0.00015528209041804075, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 94, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 94, "message": "TypeError"}], "longrepr": "def test_wrong_argument_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:94: TypeError"}, "teardown": {"duration": 0.00013687298633158207, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 95, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011987204197794199, "outcome": "passed"}, "call": {"duration": 0.00015125505160540342, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 98, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 98, "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:98: Exception"}, "teardown": {"duration": 0.0001395100262016058, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 99, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011762091889977455, "outcome": "passed"}, "call": {"duration": 0.00014992000069469213, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 102, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 102, "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:102: CustomError"}, "teardown": {"duration": 0.00014043308328837156, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 103, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011660601012408733, "outcome": "passed"}, "call": {"duration": 0.00016116106417030096, "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:106: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7fdb01a579d0>\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.000258235028013587, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 107, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00015019194688647985, "outcome": "passed"}, "call": {"duration": 0.00017729192040860653, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:110: GeneratorExit"}, "teardown": {"duration": 0.00017807807307690382, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 111, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00014478899538516998, "outcome": "passed"}, "call": {"duration": 0.0001708929194137454, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 114, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 114, "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:114: SyntaxError"}, "teardown": {"duration": 0.00014391203876584768, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 115, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001273480011150241, "outcome": "passed"}, "call": {"duration": 0.00015354505740106106, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 118, "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:118: SystemExit"}, "teardown": {"duration": 0.00014865200500935316, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 119, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001348049845546484, "outcome": "passed"}, "call": {"duration": 0.00015437998808920383, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 123, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 124, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 123, "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:124: \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:123: TypeError"}, "teardown": {"duration": 0.00014334497973322868, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error", "lineno": 125, "outcome": "failed", "keywords": ["test_import_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011948402971029282, "outcome": "passed"}, "call": {"duration": 0.00015272502787411213, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 127, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 127, "message": "ImportError"}], "longrepr": "def test_import_error():\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:127: ImportError"}, "teardown": {"duration": 0.00014150398783385754, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 128, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013749906793236732, "outcome": "passed"}, "call": {"duration": 0.00047824601642787457, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "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:131: \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.00018416706006973982, "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.00014625908806920052, "outcome": "passed"}, "call": {"duration": 0.00016049493569880724, "outcome": "passed"}, "teardown": {"duration": 0.0001153420889750123, "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.00011064601130783558, "outcome": "passed"}, "call": {"duration": 0.00014822103548794985, "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.000154276960529387, "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.00012491701636463404, "outcome": "passed"}, "call": {"duration": 0.00016191403847187757, "outcome": "passed"}, "teardown": {"duration": 0.0001015540910884738, "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.00011618109419941902, "outcome": "passed"}, "call": {"duration": 0.00014418596401810646, "outcome": "passed"}, "teardown": {"duration": 9.905407205224037e-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.00010616402141749859, "outcome": "passed"}, "call": {"duration": 0.00014916097279638052, "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.00014133495278656483, "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.00012393307406455278, "outcome": "passed"}, "call": {"duration": 0.0001598680391907692, "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.000154213048517704, "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.00012483098544180393, "outcome": "passed"}, "call": {"duration": 0.00014194101095199585, "outcome": "passed"}, "teardown": {"duration": 0.00011175102554261684, "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.00011832499876618385, "outcome": "passed"}, "call": {"duration": 0.0006411919603124261, "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.00014206802006810904, "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.00011830998118966818, "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 diff --git a/ci-reports/markdown/raw-test-output.log b/ci-reports/markdown/raw-test-output.log index 3391ee88..beb5afa7 100644 --- a/ci-reports/markdown/raw-test-output.log +++ b/ci-reports/markdown/raw-test-output.log @@ -1,7 +1,7 @@ ============================= test session starts ============================== platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 rootdir: /workspace/tligui_y/slic -plugins: html-4.1.1, allure-pytest-2.13.5, metadata-3.1.1, cov-5.0.0, json-report-1.5.0, md-report-0.6.2 +plugins: metadata-3.1.1, cov-5.0.0, allure-pytest-2.13.5, html-4.1.1, json-report-1.5.0, md-report-0.6.2 collected 49 items / 2 errors tests/test_io_utils.py ..FFFFFF.F @@ -76,7 +76,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 0x7efe54b05400> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb01545310> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -100,7 +100,7 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError _____________________________ test_mock_open_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe54af1640> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb015d3f10> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -117,7 +117,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): @@ -143,7 +143,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 0x7efe54beca90> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb01545310> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -311,7 +311,7 @@ tests/test_math_utils.py:106: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7efe523819d0> +func = . at 0x7fdb01a579d0> when = 'call' reraise = (, ) @@ -440,7 +440,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -533,4 +533,4 @@ 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) -======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.80s ========= +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s =========