From 4acea4b68aeabda5b260219b84db0adb717848df Mon Sep 17 00:00:00 2001 From: ci-bot Date: Wed, 16 Jul 2025 11:42:33 +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, 2446 insertions(+), 171 deletions(-) diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 74a19688..f17119a2 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.74s ========= +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.76s ========= ``` @@ -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: 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 +plugins: html-4.1.1, allure-pytest-2.13.5, metadata-3.1.1, cov-5.0.0, md-report-0.6.2, json-report-1.5.0 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 0x7fdb01545310> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc4d859d0> 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 0x7fdb015d3f10> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc5351b20> 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 0x7fdb01545310> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc4d69e80> 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 0x7fdb01a579d0> +func = . at 0x7f9bc2a804c0> 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.74s ========= +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.76s ========= ``` --- # ๐Ÿงช Test Report -*Generated on 2025-07-16 11:40:20* +*Generated on 2025-07-16 11:42:32* ## ๐Ÿงพ General Info -- **duration**: 0.7439579963684082 +- **duration**: 0.7564995288848877 - **root**: /workspace/tligui_y/slic - **environment**: @@ -636,7 +636,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -0.003421813016757369 +0.0034996189642697573 ``` @@ -659,7 +659,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00047769094817340374 +0.0004465020028874278 ``` @@ -682,7 +682,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002498800167813897 +0.0002633390249684453 ``` @@ -721,7 +721,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0005426090210676193 +0.0005016049835830927 ``` @@ -744,7 +744,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00029082794208079576 +0.0002970169298350811 ``` @@ -767,7 +767,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015079998411238194 +0.00014374498277902603 ``` @@ -806,7 +806,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0006398269906640053 +0.000681956997141242 ``` @@ -829,7 +829,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0009878079872578382 +0.000908680958673358 ``` @@ -852,7 +852,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015609804540872574 +0.00014365301467478275 ``` @@ -900,7 +900,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003416499821469188 +0.0003144800430163741 ``` @@ -923,7 +923,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001670928904786706 +0.0001576970098540187 ``` @@ -946,7 +946,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016383395995944738 +0.0001431250711902976 ``` @@ -978,7 +978,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00027710001450031996 +0.0002613500691950321 ``` @@ -1001,7 +1001,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001483020605519414 +0.00013321603182703257 ``` @@ -1024,7 +1024,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001514679752290249 +0.00014503102283924818 ``` @@ -1056,7 +1056,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002633329713717103 +0.00024852599017322063 ``` @@ -1079,7 +1079,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014294497668743134 +0.0001319770235568285 ``` @@ -1102,7 +1102,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014784501399844885 +0.00015035399701446295 ``` @@ -1134,7 +1134,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00026178895495831966 +0.0002447540173307061 ``` @@ -1157,7 +1157,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014221691526472569 +0.00014939997345209122 ``` @@ -1180,7 +1180,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001557819778099656 +0.00014809495769441128 ``` @@ -1212,7 +1212,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002726790262386203 +0.0002376120537519455 ``` @@ -1235,7 +1235,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014452601317316294 +0.00014451995957642794 ``` @@ -1258,7 +1258,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015047704800963402 +0.0001361119793727994 ``` @@ -1298,7 +1298,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002624619519338012 +0.00025898998137563467 ``` @@ -1321,7 +1321,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014759099576622248 +0.00014870602171868086 ``` @@ -1344,7 +1344,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001506740227341652 +0.00015795696526765823 ``` @@ -1376,7 +1376,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00027446099556982517 +0.0002534879604354501 ``` @@ -1399,7 +1399,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015195400919765234 +0.0001301789889112115 ``` @@ -1422,7 +1422,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014610798098146915 +0.00014091609045863152 ``` @@ -1454,7 +1454,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002612069947645068 +0.0002539850538596511 ``` @@ -1477,7 +1477,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001336029963567853 +0.00014054798521101475 ``` @@ -1500,7 +1500,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001347229117527604 +0.00013929500710219145 ``` @@ -1547,7 +1547,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014625908806920052 +0.0001279859570786357 ``` @@ -1570,7 +1570,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016049493569880724 +0.0001506239641457796 ``` @@ -1593,7 +1593,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001153420889750123 +0.00010129797738045454 ``` @@ -1632,7 +1632,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012491701636463404 +0.00013188004959374666 ``` @@ -1655,7 +1655,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016191403847187757 +0.00014289095997810364 ``` @@ -1678,7 +1678,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001015540910884738 +0.00010107492562383413 ``` @@ -1717,7 +1717,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011618109419941902 +0.00010789197403937578 ``` @@ -1740,7 +1740,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014418596401810646 +0.00016508495900779963 ``` @@ -1763,7 +1763,7 @@ passed ๐Ÿ“Œ Duration ``` -9.905407205224037e-05 +0.0001012010034173727 ``` @@ -1802,7 +1802,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012483098544180393 +0.00011576898396015167 ``` @@ -1825,7 +1825,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014194101095199585 +0.00013714295346289873 ``` @@ -1848,7 +1848,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011175102554261684 +0.00010981096420437098 ``` @@ -1887,7 +1887,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011830998118966818 +0.00011772103607654572 ``` @@ -1942,7 +1942,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011848006397485733 +0.00013016804587095976 ``` @@ -1965,7 +1965,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016052392311394215 +0.00015844707377254963 ``` @@ -2036,7 +2036,7 @@ functions/io_utils.py:10: OSError ๐Ÿ“Œ Duration ``` -0.00015661900397390127 +0.00014176999684423208 ``` @@ -2075,7 +2075,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001250719651579857 +0.00012119102757424116 ``` @@ -2098,7 +2098,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001944450195878744 +0.00018798792734742165 ``` @@ -2171,7 +2171,7 @@ functions/io_utils.py:2: FileNotFoundError ๐Ÿ“Œ Duration ``` -0.00015192502178251743 +0.0001390510005876422 ``` @@ -2210,7 +2210,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00022828509099781513 +0.00022861699108034372 ``` @@ -2233,7 +2233,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018486508633941412 +0.00019002507906407118 ``` @@ -2283,7 +2283,7 @@ message: PermissionError ๐Ÿ“Œ Longrepr ``` -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb01545310> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc4d859d0> 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.00018560304306447506 +0.00018045492470264435 ``` @@ -2356,7 +2356,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00021422002464532852 +0.0002070789923891425 ``` @@ -2379,7 +2379,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0033865150762721896 +0.003430059994570911 ``` @@ -2432,7 +2432,7 @@ message: OSError ๐Ÿ“Œ Longrepr ``` -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb015d3f10> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc5351b20> 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.00031950301490724087 +0.00031715899240225554 ``` @@ -2514,7 +2514,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014761299826204777 +0.00015721097588539124 ``` @@ -2537,7 +2537,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019145500846207142 +0.00019381195306777954 ``` @@ -2601,7 +2601,7 @@ tests/test_io_utils.py:50: ValueError ๐Ÿ“Œ Duration ``` -0.00016803492326289415 +0.00018892402295023203 ``` @@ -2640,7 +2640,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002463290002197027 +0.0002611519303172827 ``` @@ -2663,7 +2663,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018573994748294353 +0.00019262905698269606 ``` @@ -2710,7 +2710,7 @@ message: OSError ๐Ÿ“Œ Longrepr ``` -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fdb01545310> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc4d69e80> 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.00016885297372937202 +0.00018757604993879795 ``` @@ -2780,7 +2780,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012088997755199671 +0.00011371099390089512 ``` @@ -2803,7 +2803,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001701550791040063 +0.00017988693434745073 ``` @@ -2865,7 +2865,7 @@ tests/test_io_utils.py:69: FileNotFoundError ๐Ÿ“Œ Duration ``` -0.00014134100638329983 +0.0001392900012433529 ``` @@ -2912,7 +2912,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013269903138279915 +0.00014320597983896732 ``` @@ -2935,7 +2935,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017226499039679766 +0.00016761990264058113 ``` @@ -2997,7 +2997,7 @@ tests/test_math_utils.py:16: NameError ๐Ÿ“Œ Duration ``` -0.0001397330779582262 +0.000139937037602067 ``` @@ -3036,7 +3036,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012284505646675825 +0.00012157193850725889 ``` @@ -3059,7 +3059,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015551492106169462 +0.0001650420017540455 ``` @@ -3121,7 +3121,7 @@ tests/test_math_utils.py:20: AttributeError ๐Ÿ“Œ Duration ``` -0.00015165098011493683 +0.00013533595483750105 ``` @@ -3160,7 +3160,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011142098810523748 +0.00010325200855731964 ``` @@ -3183,7 +3183,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0005046470323577523 +0.00047957198694348335 ``` @@ -3247,7 +3247,7 @@ tests/test_math_utils.py:51: AssertionError ๐Ÿ“Œ Duration ``` -0.00015419407282024622 +0.00013817904982715845 ``` @@ -3286,7 +3286,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013032800052314997 +0.00011567806359380484 ``` @@ -3309,7 +3309,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016202195547521114 +0.00016884098295122385 ``` @@ -3382,7 +3382,7 @@ functions/math_utils.py:5: ZeroDivisionError ๐Ÿ“Œ Duration ``` -0.0001432179706171155 +0.00015309592708945274 ``` @@ -3421,7 +3421,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001243710285052657 +0.00013535097241401672 ``` @@ -3444,7 +3444,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015352899208664894 +0.00015241210348904133 ``` @@ -3506,7 +3506,7 @@ tests/test_math_utils.py:64: RuntimeError ๐Ÿ“Œ Duration ``` -0.00014881789684295654 +0.00016000797040760517 ``` @@ -3545,7 +3545,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011922395788133144 +0.00014077499508857727 ``` @@ -3568,7 +3568,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016351800877600908 +0.00015477801207453012 ``` @@ -3630,7 +3630,7 @@ tests/test_math_utils.py:68: MemoryError ๐Ÿ“Œ Duration ``` -0.00013663002755492926 +0.00013956893235445023 ``` @@ -3669,7 +3669,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011715700384229422 +0.00011847703717648983 ``` @@ -3692,7 +3692,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015962100587785244 +0.00016089703422039747 ``` @@ -3754,7 +3754,7 @@ tests/test_math_utils.py:72: TimeoutError ๐Ÿ“Œ Duration ``` -0.00013702409341931343 +0.0001378749730065465 ``` @@ -3793,7 +3793,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011944305151700974 +0.00013129005674272776 ``` @@ -3816,7 +3816,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0008027420844882727 +0.0008338519837707281 ``` @@ -3892,7 +3892,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -0.0001437889877706766 +0.00021256401669234037 ``` @@ -3931,7 +3931,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001232990762218833 +0.00013443699572235346 ``` @@ -3954,7 +3954,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015187193639576435 +0.00017030700109899044 ``` @@ -4016,7 +4016,7 @@ tests/test_math_utils.py:82: FloatingPointError ๐Ÿ“Œ Duration ``` -0.00014345406088978052 +0.0001680610002949834 ``` @@ -4055,7 +4055,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012077100109308958 +0.00013028096873313189 ``` @@ -4078,7 +4078,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017223809845745564 +0.00016714190132915974 ``` @@ -4140,7 +4140,7 @@ tests/test_math_utils.py:86: OverflowError ๐Ÿ“Œ Duration ``` -0.00014229805674403906 +0.0001453259028494358 ``` @@ -4179,7 +4179,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001312500098720193 +0.00012290908489376307 ``` @@ -4202,7 +4202,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015651702415198088 +0.00017527199815958738 ``` @@ -4264,7 +4264,7 @@ tests/test_math_utils.py:90: ValueError ๐Ÿ“Œ Duration ``` -0.00014790508430451155 +0.00013934005983173847 ``` @@ -4303,7 +4303,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012326007708907127 +0.00012007798068225384 ``` @@ -4326,7 +4326,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015528209041804075 +0.0001523039536550641 ``` @@ -4388,7 +4388,7 @@ tests/test_math_utils.py:94: TypeError ๐Ÿ“Œ Duration ``` -0.00013687298633158207 +0.00013804796617478132 ``` @@ -4427,7 +4427,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011987204197794199 +0.00013716891407966614 ``` @@ -4450,7 +4450,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015125505160540342 +0.00015285203699022532 ``` @@ -4512,7 +4512,7 @@ tests/test_math_utils.py:98: Exception ๐Ÿ“Œ Duration ``` -0.0001395100262016058 +0.00015772203914821148 ``` @@ -4551,7 +4551,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011762091889977455 +0.00012086797505617142 ``` @@ -4574,7 +4574,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014992000069469213 +0.00015292095486074686 ``` @@ -4636,7 +4636,7 @@ tests/test_math_utils.py:102: CustomError ๐Ÿ“Œ Duration ``` -0.00014043308328837156 +0.00013434700667858124 ``` @@ -4675,7 +4675,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011660601012408733 +0.00012077006977051497 ``` @@ -4698,7 +4698,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00016116106417030096 +0.0001623419811949134 ``` @@ -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 0x7fdb01a579d0> +func = . at 0x7f9bc2a804c0> when = 'call' reraise = (, ) @@ -4854,7 +4854,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -0.000258235028013587 +0.00024842703714966774 ``` @@ -4893,7 +4893,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015019194688647985 +0.00016476598102599382 ``` @@ -4916,7 +4916,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017729192040860653 +0.00017592404037714005 ``` @@ -4978,7 +4978,7 @@ tests/test_math_utils.py:110: GeneratorExit ๐Ÿ“Œ Duration ``` -0.00017807807307690382 +0.00015404797159135342 ``` @@ -5017,7 +5017,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014478899538516998 +0.00012592296116054058 ``` @@ -5040,7 +5040,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001708929194137454 +0.0001739530125632882 ``` @@ -5108,7 +5108,7 @@ tests/test_math_utils.py:114: SyntaxError ๐Ÿ“Œ Duration ``` -0.00014391203876584768 +0.00013698800466954708 ``` @@ -5147,7 +5147,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001273480011150241 +0.00011855096090584993 ``` @@ -5170,7 +5170,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015354505740106106 +0.00015964300837367773 ``` @@ -5232,7 +5232,7 @@ tests/test_math_utils.py:118: SystemExit ๐Ÿ“Œ Duration ``` -0.00014865200500935316 +0.00013611093163490295 ``` @@ -5271,7 +5271,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001348049845546484 +0.0001162471016868949 ``` @@ -5294,7 +5294,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015437998808920383 +0.00015029404312372208 ``` @@ -5369,7 +5369,7 @@ tests/test_math_utils.py:123: TypeError ๐Ÿ“Œ Duration ``` -0.00014334497973322868 +0.00013836496509611607 ``` @@ -5408,7 +5408,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011948402971029282 +0.0001185910077765584 ``` @@ -5431,7 +5431,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00015272502787411213 +0.00015378498937934637 ``` @@ -5492,7 +5492,7 @@ tests/test_math_utils.py:127: ImportError ๐Ÿ“Œ Duration ``` -0.00014150398783385754 +0.00013715005479753017 ``` @@ -5531,7 +5531,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013749906793236732 +0.00012010300997644663 ``` @@ -5554,7 +5554,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00047824601642787457 +0.0005040389951318502 ``` @@ -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.00018416706006973982 +0.00014399003703147173 ``` @@ -5690,7 +5690,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011064601130783558 +0.00010491698049008846 ``` @@ -5713,7 +5713,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014822103548794985 +0.00015646603424102068 ``` @@ -5787,7 +5787,7 @@ functions/string_utils.py:3: TypeError ๐Ÿ“Œ Duration ``` -0.000154276960529387 +0.00014146999455988407 ``` @@ -5826,7 +5826,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00010616402141749859 +0.00010823202319443226 ``` @@ -5849,7 +5849,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00014916097279638052 +0.00015088601503521204 ``` @@ -5911,7 +5911,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError ๐Ÿ“Œ Duration ``` -0.00014133495278656483 +0.00013239507097750902 ``` @@ -5950,7 +5950,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00012393307406455278 +0.00011754699517041445 ``` @@ -5973,7 +5973,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001598680391907692 +0.00015124899800866842 ``` @@ -6035,7 +6035,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError ๐Ÿ“Œ Duration ``` -0.000154213048517704 +0.00013584003318101168 ``` @@ -6090,7 +6090,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00013849406968802214 +0.00014469691086560488 ``` @@ -6113,7 +6113,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002718609757721424 +0.00031301099807024 ``` @@ -6178,7 +6178,7 @@ tests/test_math_utils.py:60: AssertionError ๐Ÿ“Œ Duration ``` -0.0001384200295433402 +0.00014246301725506783 ``` @@ -6225,7 +6225,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00011832499876618385 +0.00011701392941176891 ``` @@ -6248,7 +6248,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0006411919603124261 +0.0006209920393303037 ``` @@ -6319,7 +6319,7 @@ tests/test_string_utils.py:39: AssertionError ๐Ÿ“Œ Duration ``` -0.00014206802006810904 +0.00014634709805250168 ``` diff --git a/ci-reports/markdown/json-tree-view.txt b/ci-reports/markdown/json-tree-view.txt index e69de29b..7f3bcd38 100644 --- a/ci-reports/markdown/json-tree-view.txt +++ b/ci-reports/markdown/json-tree-view.txt @@ -0,0 +1,2275 @@ +๐Ÿ“ ci-reports/markdown/pytest-report.json +โ”œโ”€โ”€ created: 1752666152.6074862 +โ”œโ”€โ”€ duration: 0.7564995288848877 +โ”œโ”€โ”€ 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.0034996189642697573 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004465020028874278 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002633390249684453 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0005016049835830927 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002970169298350811 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014374498277902603 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00013016804587095976 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015844707377254963 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00014176999684423208 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00012119102757424116 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018798792734742165 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.0001390510005876422 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00022861699108034372 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019002507906407118 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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 0x7f9bc4d859d0> +โ”‚ โ”‚ โ”‚ +โ”‚ โ”‚ โ”‚ 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.00018045492470264435 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0002070789923891425 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.003430059994570911 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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 0x7f9bc5351b20> +โ”‚ โ”‚ โ”‚ +โ”‚ โ”‚ โ”‚ 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.00031715899240225554 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00015721097588539124 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019381195306777954 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00018892402295023203 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0002611519303172827 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019262905698269606 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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 0x7f9bc4d69e80> +โ”‚ โ”‚ โ”‚ +โ”‚ โ”‚ โ”‚ 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.00018757604993879795 +โ”‚ โ”‚ โ””โ”€โ”€ 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.000681956997141242 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000908680958673358 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014365301467478275 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00011371099390089512 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017988693434745073 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.0001392900012433529 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00014320597983896732 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016761990264058113 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.000139937037602067 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00012157193850725889 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001650420017540455 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013533595483750105 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0003144800430163741 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001576970098540187 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001431250711902976 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0002613500691950321 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013321603182703257 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014503102283924818 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00024852599017322063 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001319770235568285 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015035399701446295 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0002447540173307061 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014939997345209122 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014809495769441128 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0002376120537519455 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014451995957642794 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001361119793727994 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00025898998137563467 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014870602171868086 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015795696526765823 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0002534879604354501 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001301789889112115 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014091609045863152 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0002539850538596511 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014054798521101475 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013929500710219145 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00010325200855731964 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00047957198694348335 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013817904982715845 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00011567806359380484 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016884098295122385 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00015309592708945274 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00014469691086560488 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00031301099807024 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00014246301725506783 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00013535097241401672 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015241210348904133 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00016000797040760517 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00014077499508857727 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015477801207453012 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013956893235445023 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00011847703717648983 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016089703422039747 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.0001378749730065465 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00013129005674272776 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0008338519837707281 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00021256401669234037 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00013443699572235346 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017030700109899044 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.0001680610002949834 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00013028096873313189 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016714190132915974 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.0001453259028494358 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00012290908489376307 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017527199815958738 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013934005983173847 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00012007798068225384 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001523039536550641 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013804796617478132 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00013716891407966614 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015285203699022532 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00015772203914821148 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00012086797505617142 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015292095486074686 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013434700667858124 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00012077006977051497 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001623419811949134 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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 +โ”‚ โ”‚ โ”‚ 0x7f9bc2a804c0> +โ”‚ โ”‚ โ”‚ 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.00024842703714966774 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00016476598102599382 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017592404037714005 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00015404797159135342 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00012592296116054058 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001739530125632882 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013698800466954708 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00011855096090584993 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015964300837367773 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013611093163490295 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0001162471016868949 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015029404312372208 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013836496509611607 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0001185910077765584 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015378498937934637 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013715005479753017 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00012010300997644663 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0005040389951318502 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00014399003703147173 +โ”‚ โ”‚ โ””โ”€โ”€ 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.0001279859570786357 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001506239641457796 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010129797738045454 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00010491698049008846 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015646603424102068 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00014146999455988407 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00013188004959374666 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014289095997810364 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010107492562383413 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00010789197403937578 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016508495900779963 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001012010034173727 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00010823202319443226 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015088601503521204 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013239507097750902 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00011754699517041445 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015124899800866842 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00013584003318101168 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00011576898396015167 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013714295346289873 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ””โ”€โ”€ teardown +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010981096420437098 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00011701392941176891 +โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed +โ”‚ โ”‚ โ”œโ”€โ”€ call +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0006209920393303037 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ 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.00014634709805250168 +โ”‚ โ”‚ โ””โ”€โ”€ 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.00011772103607654572 +โ”‚ โ””โ”€โ”€ 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 138c24cd..792c0f74 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"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 +{"created": 1752666152.6074862, "duration": 0.7564995288848877, "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.0034996189642697573, "outcome": "passed"}, "call": {"duration": 0.0004465020028874278, "outcome": "passed"}, "teardown": {"duration": 0.0002633390249684453, "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.0005016049835830927, "outcome": "passed"}, "call": {"duration": 0.0002970169298350811, "outcome": "passed"}, "teardown": {"duration": 0.00014374498277902603, "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.00013016804587095976, "outcome": "passed"}, "call": {"duration": 0.00015844707377254963, "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.00014176999684423208, "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.00012119102757424116, "outcome": "passed"}, "call": {"duration": 0.00018798792734742165, "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.0001390510005876422, "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.00022861699108034372, "outcome": "passed"}, "call": {"duration": 0.00019002507906407118, "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 0x7f9bc4d859d0>\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.00018045492470264435, "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.0002070789923891425, "outcome": "passed"}, "call": {"duration": 0.003430059994570911, "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 0x7f9bc5351b20>\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.00031715899240225554, "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.00015721097588539124, "outcome": "passed"}, "call": {"duration": 0.00019381195306777954, "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.00018892402295023203, "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.0002611519303172827, "outcome": "passed"}, "call": {"duration": 0.00019262905698269606, "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 0x7f9bc4d69e80>\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.00018757604993879795, "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.000681956997141242, "outcome": "passed"}, "call": {"duration": 0.000908680958673358, "outcome": "passed"}, "teardown": {"duration": 0.00014365301467478275, "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.00011371099390089512, "outcome": "passed"}, "call": {"duration": 0.00017988693434745073, "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.0001392900012433529, "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.00014320597983896732, "outcome": "passed"}, "call": {"duration": 0.00016761990264058113, "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.000139937037602067, "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.00012157193850725889, "outcome": "passed"}, "call": {"duration": 0.0001650420017540455, "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.00013533595483750105, "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.0003144800430163741, "outcome": "passed"}, "call": {"duration": 0.0001576970098540187, "outcome": "passed"}, "teardown": {"duration": 0.0001431250711902976, "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.0002613500691950321, "outcome": "passed"}, "call": {"duration": 0.00013321603182703257, "outcome": "passed"}, "teardown": {"duration": 0.00014503102283924818, "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.00024852599017322063, "outcome": "passed"}, "call": {"duration": 0.0001319770235568285, "outcome": "passed"}, "teardown": {"duration": 0.00015035399701446295, "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.0002447540173307061, "outcome": "passed"}, "call": {"duration": 0.00014939997345209122, "outcome": "passed"}, "teardown": {"duration": 0.00014809495769441128, "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.0002376120537519455, "outcome": "passed"}, "call": {"duration": 0.00014451995957642794, "outcome": "passed"}, "teardown": {"duration": 0.0001361119793727994, "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.00025898998137563467, "outcome": "passed"}, "call": {"duration": 0.00014870602171868086, "outcome": "passed"}, "teardown": {"duration": 0.00015795696526765823, "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.0002534879604354501, "outcome": "passed"}, "call": {"duration": 0.0001301789889112115, "outcome": "passed"}, "teardown": {"duration": 0.00014091609045863152, "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.0002539850538596511, "outcome": "passed"}, "call": {"duration": 0.00014054798521101475, "outcome": "passed"}, "teardown": {"duration": 0.00013929500710219145, "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.00010325200855731964, "outcome": "passed"}, "call": {"duration": 0.00047957198694348335, "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.00013817904982715845, "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.00011567806359380484, "outcome": "passed"}, "call": {"duration": 0.00016884098295122385, "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.00015309592708945274, "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.00014469691086560488, "outcome": "passed"}, "call": {"duration": 0.00031301099807024, "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.00014246301725506783, "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.00013535097241401672, "outcome": "passed"}, "call": {"duration": 0.00015241210348904133, "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.00016000797040760517, "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.00014077499508857727, "outcome": "passed"}, "call": {"duration": 0.00015477801207453012, "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.00013956893235445023, "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.00011847703717648983, "outcome": "passed"}, "call": {"duration": 0.00016089703422039747, "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.0001378749730065465, "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.00013129005674272776, "outcome": "passed"}, "call": {"duration": 0.0008338519837707281, "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.00021256401669234037, "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.00013443699572235346, "outcome": "passed"}, "call": {"duration": 0.00017030700109899044, "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.0001680610002949834, "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.00013028096873313189, "outcome": "passed"}, "call": {"duration": 0.00016714190132915974, "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.0001453259028494358, "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.00012290908489376307, "outcome": "passed"}, "call": {"duration": 0.00017527199815958738, "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.00013934005983173847, "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.00012007798068225384, "outcome": "passed"}, "call": {"duration": 0.0001523039536550641, "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.00013804796617478132, "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.00013716891407966614, "outcome": "passed"}, "call": {"duration": 0.00015285203699022532, "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.00015772203914821148, "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.00012086797505617142, "outcome": "passed"}, "call": {"duration": 0.00015292095486074686, "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.00013434700667858124, "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.00012077006977051497, "outcome": "passed"}, "call": {"duration": 0.0001623419811949134, "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 0x7f9bc2a804c0>\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.00024842703714966774, "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.00016476598102599382, "outcome": "passed"}, "call": {"duration": 0.00017592404037714005, "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.00015404797159135342, "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.00012592296116054058, "outcome": "passed"}, "call": {"duration": 0.0001739530125632882, "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.00013698800466954708, "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.00011855096090584993, "outcome": "passed"}, "call": {"duration": 0.00015964300837367773, "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.00013611093163490295, "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.0001162471016868949, "outcome": "passed"}, "call": {"duration": 0.00015029404312372208, "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.00013836496509611607, "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.0001185910077765584, "outcome": "passed"}, "call": {"duration": 0.00015378498937934637, "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.00013715005479753017, "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.00012010300997644663, "outcome": "passed"}, "call": {"duration": 0.0005040389951318502, "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.00014399003703147173, "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.0001279859570786357, "outcome": "passed"}, "call": {"duration": 0.0001506239641457796, "outcome": "passed"}, "teardown": {"duration": 0.00010129797738045454, "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.00010491698049008846, "outcome": "passed"}, "call": {"duration": 0.00015646603424102068, "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.00014146999455988407, "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.00013188004959374666, "outcome": "passed"}, "call": {"duration": 0.00014289095997810364, "outcome": "passed"}, "teardown": {"duration": 0.00010107492562383413, "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.00010789197403937578, "outcome": "passed"}, "call": {"duration": 0.00016508495900779963, "outcome": "passed"}, "teardown": {"duration": 0.0001012010034173727, "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.00010823202319443226, "outcome": "passed"}, "call": {"duration": 0.00015088601503521204, "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.00013239507097750902, "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.00011754699517041445, "outcome": "passed"}, "call": {"duration": 0.00015124899800866842, "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.00013584003318101168, "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.00011576898396015167, "outcome": "passed"}, "call": {"duration": 0.00013714295346289873, "outcome": "passed"}, "teardown": {"duration": 0.00010981096420437098, "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.00011701392941176891, "outcome": "passed"}, "call": {"duration": 0.0006209920393303037, "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.00014634709805250168, "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.00011772103607654572, "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 beb5afa7..04fff19c 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: 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 +plugins: html-4.1.1, allure-pytest-2.13.5, metadata-3.1.1, cov-5.0.0, md-report-0.6.2, json-report-1.5.0 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 0x7fdb01545310> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc4d859d0> 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 0x7fdb015d3f10> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc5351b20> 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 0x7fdb01545310> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f9bc4d69e80> 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 0x7fdb01a579d0> +func = . at 0x7f9bc2a804c0> 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.74s ========= +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.76s =========