diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 6978caf93..d36aafe36 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -1,5 +1,5 @@ # ๐Ÿงช Test Report -*Generated on 2025-07-15 13:34:34* +*Generated on 2025-07-15 13:39:47* ## ๐Ÿ“‹ Summary - **Passed**: `16` @@ -7,7 +7,7 @@ - **Xfailed**: `2` - **Total**: `50` - **Collected**: `50` -- **Total Duration**: `0.733`s +- **Total Duration**: `0.738`s ## ๐Ÿ”Ž Tests
@@ -27,7 +27,7 @@ โœ… #1 - **Status:** โœ… `passed` -- **Duration:** `0.000437` s +- **Duration:** `0.000490` s ### ๐Ÿ”ง Setup Phase @@ -36,7 +36,7 @@ ๐Ÿ“Œ Duration ``` -`0.003137713996693492` +`0.0034593839664012194` ``` @@ -61,7 +61,7 @@ ๐Ÿ“Œ Duration ``` -`0.000436843023635447` +`0.0004899170016869903` ``` @@ -86,7 +86,7 @@ ๐Ÿ“Œ Duration ``` -`0.0002585089532658458` +`0.00024983007460832596` ``` @@ -120,7 +120,7 @@ โœ… #2 - **Status:** โœ… `passed` -- **Duration:** `0.000275` s +- **Duration:** `0.000277` s ### ๐Ÿ”ง Setup Phase @@ -129,7 +129,7 @@ ๐Ÿ“Œ Duration ``` -`0.0004594039637595415` +`0.00046310899779200554` ``` @@ -154,7 +154,7 @@ ๐Ÿ“Œ Duration ``` -`0.00027534004766494036` +`0.0002771139843389392` ``` @@ -179,7 +179,7 @@ ๐Ÿ“Œ Duration ``` -`0.000152299995534122` +`0.0001375629799440503` ``` @@ -213,7 +213,7 @@ โœ… #9 - **Status:** โœ… `passed` -- **Duration:** `0.001046` s +- **Duration:** `0.001588` s ### ๐Ÿ”ง Setup Phase @@ -222,7 +222,7 @@ ๐Ÿ“Œ Duration ``` -`0.00065567996352911` +`0.0006330390460789204` ``` @@ -247,7 +247,7 @@ ๐Ÿ“Œ Duration ``` -`0.0010459478944540024` +`0.0015877229161560535` ``` @@ -272,7 +272,7 @@ ๐Ÿ“Œ Duration ``` -`0.00014320400077849627` +`0.00014293391723185778` ``` @@ -314,7 +314,7 @@ โœ… #13 parameters: [2-2-4] - **Status:** โœ… `passed` -- **Duration:** `0.000148` s +- **Duration:** `0.000146` s - **Parameters:** `2-2-4` ### ๐Ÿ”ง Setup Phase @@ -324,7 +324,7 @@ ๐Ÿ“Œ Duration ``` -`0.00029685895424336195` +`0.00030271802097558975` ``` @@ -349,7 +349,7 @@ ๐Ÿ“Œ Duration ``` -`0.00014839100185781717` +`0.00014608795754611492` ``` @@ -374,7 +374,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001548479776829481` +`0.0001422459026798606` ``` @@ -400,7 +400,7 @@ โœ… #14 parameters: [1-5-6] - **Status:** โœ… `passed` -- **Duration:** `0.000135` s +- **Duration:** `0.000136` s - **Parameters:** `1-5-6` ### ๐Ÿ”ง Setup Phase @@ -410,7 +410,7 @@ ๐Ÿ“Œ Duration ``` -`0.00025513500440865755` +`0.00027716695331037045` ``` @@ -435,7 +435,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001350059174001217` +`0.0001361339818686247` ``` @@ -460,7 +460,7 @@ ๐Ÿ“Œ Duration ``` -`0.00013731303624808788` +`0.0001355570275336504` ``` @@ -486,7 +486,7 @@ โœ… #15 parameters: [3-4-7] - **Status:** โœ… `passed` -- **Duration:** `0.000126` s +- **Duration:** `0.000133` s - **Parameters:** `3-4-7` ### ๐Ÿ”ง Setup Phase @@ -496,7 +496,7 @@ ๐Ÿ“Œ Duration ``` -`0.0002395380288362503` +`0.0002540500136092305` ``` @@ -521,7 +521,7 @@ ๐Ÿ“Œ Duration ``` -`0.00012629490811377764` +`0.00013314001262187958` ``` @@ -546,7 +546,7 @@ ๐Ÿ“Œ Duration ``` -`0.00014197698328644037` +`0.00013383105397224426` ``` @@ -572,7 +572,7 @@ โœ… #16 parameters: [3-5-8] - **Status:** โœ… `passed` -- **Duration:** `0.000127` s +- **Duration:** `0.000133` s - **Parameters:** `3-5-8` ### ๐Ÿ”ง Setup Phase @@ -582,7 +582,7 @@ ๐Ÿ“Œ Duration ``` -`0.0002430579625070095` +`0.0002404589904472232` ``` @@ -607,7 +607,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001270860666409135` +`0.00013298401609063148` ``` @@ -632,7 +632,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001422329805791378` +`0.00013184198178350925` ``` @@ -658,7 +658,7 @@ โœ… #17 parameters: [3-6-9] - **Status:** โœ… `passed` -- **Duration:** `0.000129` s +- **Duration:** `0.000130` s - **Parameters:** `3-6-9` ### ๐Ÿ”ง Setup Phase @@ -668,7 +668,7 @@ ๐Ÿ“Œ Duration ``` -`0.00023576489184051752` +`0.00024849502369761467` ``` @@ -693,7 +693,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001294680405408144` +`0.0001302309101447463` ``` @@ -718,7 +718,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001413309946656227` +`0.0001333329128101468` ``` @@ -752,7 +752,7 @@ โœ… #18 parameters: [a=2,b=2,expected=4] - **Status:** โœ… `passed` -- **Duration:** `0.000132` s +- **Duration:** `0.000135` s - **Parameters:** `a=2,b=2,expected=4` ### ๐Ÿ”ง Setup Phase @@ -762,7 +762,7 @@ ๐Ÿ“Œ Duration ``` -`0.00024380104150623083` +`0.00024118309374898672` ``` @@ -787,7 +787,7 @@ ๐Ÿ“Œ Duration ``` -`0.00013239204417914152` +`0.0001346709905192256` ``` @@ -812,7 +812,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001465620007365942` +`0.00013406493235379457` ``` @@ -838,7 +838,7 @@ โœ… #19 parameters: [a=1,b=5,expected=6] - **Status:** โœ… `passed` -- **Duration:** `0.000128` s +- **Duration:** `0.000125` s - **Parameters:** `a=1,b=5,expected=6` ### ๐Ÿ”ง Setup Phase @@ -848,7 +848,7 @@ ๐Ÿ“Œ Duration ``` -`0.00023469608277082443` +`0.00024457299150526524` ``` @@ -873,7 +873,7 @@ ๐Ÿ“Œ Duration ``` -`0.00012843299191445112` +`0.00012467196211218834` ``` @@ -898,7 +898,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001447099493816495` +`0.0001376679865643382` ``` @@ -924,7 +924,7 @@ โœ… #20 parameters: [a=3,b=4,expected=7] - **Status:** โœ… `passed` -- **Duration:** `0.000123` s +- **Duration:** `0.000128` s - **Parameters:** `a=3,b=4,expected=7` ### ๐Ÿ”ง Setup Phase @@ -934,7 +934,7 @@ ๐Ÿ“Œ Duration ``` -`0.00023874198086559772` +`0.0002481710398569703` ``` @@ -959,7 +959,7 @@ ๐Ÿ“Œ Duration ``` -`0.00012299302034080029` +`0.0001275719841942191` ``` @@ -984,7 +984,7 @@ ๐Ÿ“Œ Duration ``` -`0.00014138699043542147` +`0.00012986292131245136` ``` @@ -1026,7 +1026,7 @@ โœ… #42 - **Status:** โœ… `passed` -- **Duration:** `0.000143` s +- **Duration:** `0.000151` s ### ๐Ÿ”ง Setup Phase @@ -1035,7 +1035,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001268950290977955` +`0.0001220629783347249` ``` @@ -1060,7 +1060,7 @@ ๐Ÿ“Œ Duration ``` -`0.000142762903124094` +`0.00015117996372282505` ``` @@ -1085,7 +1085,7 @@ ๐Ÿ“Œ Duration ``` -`0.00010115408804267645` +`0.00010012101847678423` ``` @@ -1119,7 +1119,7 @@ โœ… #44 - **Status:** โœ… `passed` -- **Duration:** `0.000138` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -1128,7 +1128,7 @@ ๐Ÿ“Œ Duration ``` -`0.00012156099546700716` +`0.00011640193406492472` ``` @@ -1153,7 +1153,7 @@ ๐Ÿ“Œ Duration ``` -`0.00013769208453595638` +`0.00014802406076341867` ``` @@ -1178,7 +1178,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001017269678413868` +`0.00010069995187222958` ``` @@ -1212,7 +1212,7 @@ โœ… #45 - **Status:** โœ… `passed` -- **Duration:** `0.000145` s +- **Duration:** `0.000141` s ### ๐Ÿ”ง Setup Phase @@ -1221,7 +1221,7 @@ ๐Ÿ“Œ Duration ``` -`0.00010604190174490213` +`0.00011357804760336876` ``` @@ -1246,7 +1246,7 @@ ๐Ÿ“Œ Duration ``` -`0.0001449360279366374` +`0.00014134298544377089` ``` @@ -1271,7 +1271,7 @@ ๐Ÿ“Œ Duration ``` -`9.684311226010323e-05` +`9.584601502865553e-05` ``` @@ -1305,7 +1305,7 @@ โœ… #48 - **Status:** โœ… `passed` -- **Duration:** `0.000134` s +- **Duration:** `0.000136` s ### ๐Ÿ”ง Setup Phase @@ -1314,7 +1314,7 @@ ๐Ÿ“Œ Duration ``` -`0.00011525501031428576` +`0.00011801801156252623` ``` @@ -1339,7 +1339,7 @@ ๐Ÿ“Œ Duration ``` -`0.00013414293061941862` +`0.00013622594997286797` ``` @@ -1364,7 +1364,7 @@ ๐Ÿ“Œ Duration ``` -`0.00010607508011162281` +`9.89340478554368e-05` ``` @@ -1407,7 +1407,7 @@ ๐Ÿ“Œ Duration ``` -`0.00011585198808461428` +`0.00011296395678073168` ``` @@ -1457,7 +1457,7 @@ โŒ #3 - **Status:** โŒ `failed` -- **Duration:** `0.000161` s +- **Duration:** `0.000157` s ### ๐Ÿ”ง Setup Phase @@ -1466,7 +1466,7 @@ ๐Ÿ“Œ Duration ``` -`0.00011231994722038507` +`0.0001153870252892375` ``` @@ -1491,7 +1491,7 @@ ๐Ÿ“Œ Duration ``` -`0.00016063102521002293` +`0.00015720899682492018` ``` @@ -1560,7 +1560,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.00014260795433074236` +`0.00013898999895900488` ``` @@ -1594,7 +1594,7 @@ functions/io_utils.py:10: OSError` โŒ #4 - **Status:** โŒ `failed` -- **Duration:** `0.000171` s +- **Duration:** `0.000180` s ### ๐Ÿ”ง Setup Phase @@ -1603,7 +1603,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.00011706689838320017` +`0.00011659495066851377` ``` @@ -1628,7 +1628,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.0001712619559839368` +`0.00018040998838841915` ``` @@ -1699,7 +1699,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00014766096137464046` +`0.00013626902364194393` ``` @@ -1733,7 +1733,7 @@ functions/io_utils.py:2: FileNotFoundError` โŒ #5 - **Status:** โŒ `failed` -- **Duration:** `0.000170` s +- **Duration:** `0.000176` s ### ๐Ÿ”ง Setup Phase @@ -1742,7 +1742,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00019254605285823345` +`0.00019610300660133362` ``` @@ -1767,7 +1767,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00017032504547387362` +`0.00017558701802045107` ``` @@ -1811,7 +1811,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f91ef4d41c0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f26a43d6460> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -1846,7 +1846,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.00016412802506238222` +`0.00017856108024716377` ``` @@ -1880,7 +1880,7 @@ tests/test_io_utils.py:34: PermissionError` โŒ #6 - **Status:** โŒ `failed` -- **Duration:** `0.003233` s +- **Duration:** `0.003317` s ### ๐Ÿ”ง Setup Phase @@ -1889,7 +1889,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.00019947299733757973` +`0.00019461405463516712` ``` @@ -1914,7 +1914,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.0032327809603884816` +`0.003317325026728213` ``` @@ -1958,7 +1958,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f91f1bfda30> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f26a4349160> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -1975,7 +1975,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): @@ -2002,7 +2002,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.0003268399741500616` +`0.0003149450058117509` ``` @@ -2036,7 +2036,7 @@ E OSError: Mocked IOError โŒ #7 - **Status:** โŒ `failed` -- **Duration:** `0.000198` s +- **Duration:** `0.000193` s ### ๐Ÿ”ง Setup Phase @@ -2045,7 +2045,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.00014190399087965488` +`0.00014207104686647654` ``` @@ -2070,7 +2070,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.00019798893481492996` +`0.00019283092115074396` ``` @@ -2135,7 +2135,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00018712296150624752` +`0.0002019209787249565` ``` @@ -2169,7 +2169,7 @@ tests/test_io_utils.py:50: ValueError` โŒ #8 - **Status:** โŒ `failed` -- **Duration:** `0.000198` s +- **Duration:** `0.000203` s ### ๐Ÿ”ง Setup Phase @@ -2178,7 +2178,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.0002491619670763612` +`0.00026243901811540127` ``` @@ -2203,7 +2203,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00019822001922875643` +`0.00020251399837434292` ``` @@ -2247,7 +2247,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f91ef75fbe0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f26a8319070> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -2279,7 +2279,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.0001831690315157175` +`0.0001750079682096839` ``` @@ -2313,7 +2313,7 @@ tests/test_io_utils.py:55: OSError` โŒ #10 - **Status:** โŒ `failed` -- **Duration:** `0.000175` s +- **Duration:** `0.000174` s ### ๐Ÿ”ง Setup Phase @@ -2322,7 +2322,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00011425698176026344` +`0.00014447898138314486` ``` @@ -2347,7 +2347,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00017505499999970198` +`0.0001744050532579422` ``` @@ -2410,7 +2410,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00014044297859072685` +`0.00013648101594299078` ``` @@ -2452,7 +2452,7 @@ tests/test_io_utils.py:69: FileNotFoundError` โŒ #11 - **Status:** โŒ `failed` -- **Duration:** `0.000173` s +- **Duration:** `0.000151` s ### ๐Ÿ”ง Setup Phase @@ -2461,7 +2461,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00012597593013197184` +`0.00012446101754903793` ``` @@ -2486,7 +2486,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.0001732800155878067` +`0.00015113502740859985` ``` @@ -2549,7 +2549,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00014510005712509155` +`0.00013916089665144682` ``` @@ -2583,7 +2583,7 @@ tests/test_math_utils.py:16: NameError` โŒ #12 - **Status:** โŒ `failed` -- **Duration:** `0.000153` s +- **Duration:** `0.000154` s ### ๐Ÿ”ง Setup Phase @@ -2592,7 +2592,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00011765898671001196` +`0.00011882302351295948` ``` @@ -2617,7 +2617,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.000153454951941967` +`0.00015424995217472315` ``` @@ -2680,7 +2680,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00013869500253349543` +`0.0001412540441378951` ``` @@ -2714,7 +2714,7 @@ tests/test_math_utils.py:20: AttributeError` โŒ #21 - **Status:** โŒ `failed` -- **Duration:** `0.000454` s +- **Duration:** `0.000437` s ### ๐Ÿ”ง Setup Phase @@ -2723,7 +2723,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00010626704897731543` +`0.00010900897905230522` ``` @@ -2748,7 +2748,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00045352696906775236` +`0.000436950009316206` ``` @@ -2813,7 +2813,7 @@ tests/test_math_utils.py:48: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00014997797552496195` +`0.0001363198971375823` ``` @@ -2847,7 +2847,7 @@ tests/test_math_utils.py:48: AssertionError` โŒ #22 - **Status:** โŒ `failed` -- **Duration:** `0.000155` s +- **Duration:** `0.000152` s ### ๐Ÿ”ง Setup Phase @@ -2856,7 +2856,7 @@ tests/test_math_utils.py:48: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00011672393884509802` +`0.00011752103455364704` ``` @@ -2881,7 +2881,7 @@ tests/test_math_utils.py:48: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00015537708532065153` +`0.0001517710043117404` ``` @@ -2952,7 +2952,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00013609894085675478` +`0.00015670608263462782` ``` @@ -2986,7 +2986,7 @@ functions/math_utils.py:5: ZeroDivisionError` โŒ #24 - **Status:** โŒ `failed` -- **Duration:** `0.000147` s +- **Duration:** `0.000145` s ### ๐Ÿ”ง Setup Phase @@ -2995,7 +2995,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00011395302135497332` +`0.00011576502583920956` ``` @@ -3020,7 +3020,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.0001467560650780797` +`0.00014517793897539377` ``` @@ -3083,7 +3083,7 @@ tests/test_math_utils.py:61: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.00013670301996171474` +`0.00013555795885622501` ``` @@ -3117,7 +3117,7 @@ tests/test_math_utils.py:61: RuntimeError` โŒ #25 - **Status:** โŒ `failed` -- **Duration:** `0.000149` s +- **Duration:** `0.000147` s ### ๐Ÿ”ง Setup Phase @@ -3126,7 +3126,7 @@ tests/test_math_utils.py:61: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.00011920696124434471` +`0.00011536607053130865` ``` @@ -3151,7 +3151,7 @@ tests/test_math_utils.py:61: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.00014883594121783972` +`0.00014711800031363964` ``` @@ -3214,7 +3214,7 @@ tests/test_math_utils.py:65: MemoryError` ๐Ÿ“Œ Duration ``` -`0.00013706600293517113` +`0.00013725599274039268` ``` @@ -3248,7 +3248,7 @@ tests/test_math_utils.py:65: MemoryError` โŒ #26 - **Status:** โŒ `failed` -- **Duration:** `0.000148` s +- **Duration:** `0.000149` s ### ๐Ÿ”ง Setup Phase @@ -3257,7 +3257,7 @@ tests/test_math_utils.py:65: MemoryError` ๐Ÿ“Œ Duration ``` -`0.00012946897186338902` +`0.00012817897368222475` ``` @@ -3282,7 +3282,7 @@ tests/test_math_utils.py:65: MemoryError` ๐Ÿ“Œ Duration ``` -`0.00014803593512624502` +`0.00014853395987302065` ``` @@ -3345,7 +3345,7 @@ tests/test_math_utils.py:69: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.00013795704580843449` +`0.00013677298557013273` ``` @@ -3379,7 +3379,7 @@ tests/test_math_utils.py:69: TimeoutError` โŒ #27 - **Status:** โŒ `failed` -- **Duration:** `0.000768` s +- **Duration:** `0.000766` s ### ๐Ÿ”ง Setup Phase @@ -3388,7 +3388,7 @@ tests/test_math_utils.py:69: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.00012100604362785816` +`0.00011945993173867464` ``` @@ -3413,7 +3413,7 @@ tests/test_math_utils.py:69: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.0007684410084038973` +`0.0007662429707124829` ``` @@ -3484,7 +3484,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00017659692093729973` +`0.0001464890083298087` ``` @@ -3518,7 +3518,7 @@ E RecursionError: maximum recursion depth exceeded โŒ #28 - **Status:** โŒ `failed` -- **Duration:** `0.000174` s +- **Duration:** `0.000158` s ### ๐Ÿ”ง Setup Phase @@ -3527,7 +3527,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00013043498620390892` +`0.00011966004967689514` ``` @@ -3552,7 +3552,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00017396197654306889` +`0.0001579619711264968` ``` @@ -3615,7 +3615,7 @@ tests/test_math_utils.py:79: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00014903501141816378` +`0.00015232397709041834` ``` @@ -3649,7 +3649,7 @@ tests/test_math_utils.py:79: FloatingPointError` โŒ #29 - **Status:** โŒ `failed` -- **Duration:** `0.000166` s +- **Duration:** `0.000157` s ### ๐Ÿ”ง Setup Phase @@ -3658,7 +3658,7 @@ tests/test_math_utils.py:79: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00012214796151965857` +`0.00011908798478543758` ``` @@ -3683,7 +3683,7 @@ tests/test_math_utils.py:79: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.0001661709975451231` +`0.0001566489227116108` ``` @@ -3746,7 +3746,7 @@ tests/test_math_utils.py:83: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00014276301953941584` +`0.00013843609485775232` ``` @@ -3780,7 +3780,7 @@ tests/test_math_utils.py:83: OverflowError` โŒ #30 - **Status:** โŒ `failed` -- **Duration:** `0.000163` s +- **Duration:** `0.000156` s ### ๐Ÿ”ง Setup Phase @@ -3789,7 +3789,7 @@ tests/test_math_utils.py:83: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00012148299720138311` +`0.00012460595462471247` ``` @@ -3814,7 +3814,7 @@ tests/test_math_utils.py:83: OverflowError` ๐Ÿ“Œ Duration ``` -`0.0001632150961086154` +`0.00015566905494779348` ``` @@ -3877,7 +3877,7 @@ tests/test_math_utils.py:87: ValueError` ๐Ÿ“Œ Duration ``` -`0.00014069199096411467` +`0.00013345503248274326` ``` @@ -3911,7 +3911,7 @@ tests/test_math_utils.py:87: ValueError` โŒ #31 - **Status:** โŒ `failed` -- **Duration:** `0.000152` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -3920,7 +3920,7 @@ tests/test_math_utils.py:87: ValueError` ๐Ÿ“Œ Duration ``` -`0.00013569998554885387` +`0.00011793302837759256` ``` @@ -3945,7 +3945,7 @@ tests/test_math_utils.py:87: ValueError` ๐Ÿ“Œ Duration ``` -`0.00015197996981441975` +`0.00014847202692180872` ``` @@ -4008,7 +4008,7 @@ tests/test_math_utils.py:91: TypeError` ๐Ÿ“Œ Duration ``` -`0.0001402850029990077` +`0.00013765995390713215` ``` @@ -4042,7 +4042,7 @@ tests/test_math_utils.py:91: TypeError` โŒ #32 - **Status:** โŒ `failed` -- **Duration:** `0.000160` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -4051,7 +4051,7 @@ tests/test_math_utils.py:91: TypeError` ๐Ÿ“Œ Duration ``` -`0.00012246298138052225` +`0.00012044806499034166` ``` @@ -4076,7 +4076,7 @@ tests/test_math_utils.py:91: TypeError` ๐Ÿ“Œ Duration ``` -`0.0001599190291017294` +`0.00014784198720008135` ``` @@ -4139,7 +4139,7 @@ tests/test_math_utils.py:95: Exception` ๐Ÿ“Œ Duration ``` -`0.00014846096746623516` +`0.00013869698159396648` ``` @@ -4173,7 +4173,7 @@ tests/test_math_utils.py:95: Exception` โŒ #33 - **Status:** โŒ `failed` -- **Duration:** `0.000153` s +- **Duration:** `0.000150` s ### ๐Ÿ”ง Setup Phase @@ -4182,7 +4182,7 @@ tests/test_math_utils.py:95: Exception` ๐Ÿ“Œ Duration ``` -`0.00012132199481129646` +`0.00011756399180740118` ``` @@ -4207,7 +4207,7 @@ tests/test_math_utils.py:95: Exception` ๐Ÿ“Œ Duration ``` -`0.0001527720596641302` +`0.0001499060308560729` ``` @@ -4270,7 +4270,7 @@ tests/test_math_utils.py:99: CustomError` ๐Ÿ“Œ Duration ``` -`0.00015674310270696878` +`0.0001379830064252019` ``` @@ -4304,7 +4304,7 @@ tests/test_math_utils.py:99: CustomError` โŒ #34 - **Status:** โŒ `failed` -- **Duration:** `0.000152` s +- **Duration:** `0.000149` s ### ๐Ÿ”ง Setup Phase @@ -4313,7 +4313,7 @@ tests/test_math_utils.py:99: CustomError` ๐Ÿ“Œ Duration ``` -`0.00012126693036407232` +`0.00011907308362424374` ``` @@ -4338,7 +4338,7 @@ tests/test_math_utils.py:99: CustomError` ๐Ÿ“Œ Duration ``` -`0.00015248695854097605` +`0.00014885806012898684` ``` @@ -4392,7 +4392,7 @@ tests/test_math_utils.py:103: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f91ef9ae9d0> +func = . at 0x7f26a4b1d9d0> when = 'call' reraise = (, ) @@ -4465,7 +4465,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00027189101092517376` +`0.0002507200697436929` ``` @@ -4499,7 +4499,7 @@ E RuntimeError: generator raised StopIteration โŒ #35 - **Status:** โŒ `failed` -- **Duration:** `0.000183` s +- **Duration:** `0.000179` s ### ๐Ÿ”ง Setup Phase @@ -4508,7 +4508,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00014866702258586884` +`0.00014777109026908875` ``` @@ -4533,7 +4533,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00018335494678467512` +`0.000179130001924932` ``` @@ -4596,7 +4596,7 @@ tests/test_math_utils.py:107: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.0001800640020519495` +`0.000163655960932374` ``` @@ -4639,7 +4639,7 @@ tests/test_math_utils.py:107: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.00012264796532690525` +`0.00012791797053068876` ``` @@ -4664,7 +4664,7 @@ tests/test_math_utils.py:107: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.00016306701581925154` +`0.0001625110162422061` ``` @@ -4728,7 +4728,7 @@ tests/test_math_utils.py:112: RecursionError` ๐Ÿ“Œ Duration ``` -`0.00014721101615577936` +`0.0001385729992762208` ``` @@ -4762,7 +4762,7 @@ tests/test_math_utils.py:112: RecursionError` โŒ #37 - **Status:** โŒ `failed` -- **Duration:** `0.000156` s +- **Duration:** `0.000176` s ### ๐Ÿ”ง Setup Phase @@ -4771,7 +4771,7 @@ tests/test_math_utils.py:112: RecursionError` ๐Ÿ“Œ Duration ``` -`0.00012337404768913984` +`0.00011552206706255674` ``` @@ -4796,7 +4796,7 @@ tests/test_math_utils.py:112: RecursionError` ๐Ÿ“Œ Duration ``` -`0.00015646906103938818` +`0.00017575593665242195` ``` @@ -4865,7 +4865,7 @@ tests/test_math_utils.py:122: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00013616797514259815` +`0.00013670593034476042` ``` @@ -4899,7 +4899,7 @@ tests/test_math_utils.py:122: SyntaxError` โŒ #38 - **Status:** โŒ `failed` -- **Duration:** `0.000151` s +- **Duration:** `0.000147` s ### ๐Ÿ”ง Setup Phase @@ -4908,7 +4908,7 @@ tests/test_math_utils.py:122: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00012017204426229` +`0.00011548795737326145` ``` @@ -4933,7 +4933,7 @@ tests/test_math_utils.py:122: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00015138497110456228` +`0.00014662696048617363` ``` @@ -4996,7 +4996,7 @@ tests/test_math_utils.py:126: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00013464991934597492` +`0.00013774598482996225` ``` @@ -5030,7 +5030,7 @@ tests/test_math_utils.py:126: SystemExit` โŒ #39 - **Status:** โŒ `failed` -- **Duration:** `0.000158` s +- **Duration:** `0.000151` s ### ๐Ÿ”ง Setup Phase @@ -5039,7 +5039,7 @@ tests/test_math_utils.py:126: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00011495803482830524` +`0.00011506001465022564` ``` @@ -5064,7 +5064,7 @@ tests/test_math_utils.py:126: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00015838502440601587` +`0.00015111698303371668` ``` @@ -5137,7 +5137,7 @@ tests/test_math_utils.py:131: TypeError` ๐Ÿ“Œ Duration ``` -`0.00013800500892102718` +`0.00013897300232201815` ``` @@ -5171,7 +5171,7 @@ tests/test_math_utils.py:131: TypeError` โŒ #40 - **Status:** โŒ `failed` -- **Duration:** `0.000153` s +- **Duration:** `0.000155` s ### ๐Ÿ”ง Setup Phase @@ -5180,7 +5180,7 @@ tests/test_math_utils.py:131: TypeError` ๐Ÿ“Œ Duration ``` -`0.00011768599506467581` +`0.00011729507241398096` ``` @@ -5205,7 +5205,7 @@ tests/test_math_utils.py:131: TypeError` ๐Ÿ“Œ Duration ``` -`0.00015319010708481073` +`0.00015506893396377563` ``` @@ -5285,7 +5285,7 @@ tests/test_math_utils.py:139: ImportError` ๐Ÿ“Œ Duration ``` -`0.00015053607057780027` +`0.00014043296687304974` ``` @@ -5319,7 +5319,7 @@ tests/test_math_utils.py:139: ImportError` โŒ #41 - **Status:** โŒ `failed` -- **Duration:** `0.000485` s +- **Duration:** `0.000479` s ### ๐Ÿ”ง Setup Phase @@ -5328,7 +5328,7 @@ tests/test_math_utils.py:139: ImportError` ๐Ÿ“Œ Duration ``` -`0.00011897995136678219` +`0.00012843997683376074` ``` @@ -5353,7 +5353,7 @@ tests/test_math_utils.py:139: ImportError` ๐Ÿ“Œ Duration ``` -`0.00048460299149155617` +`0.00047858001198619604` ``` @@ -5412,7 +5412,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -5431,7 +5431,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00013959198258817196` +`0.0001406930387020111` ``` @@ -5482,7 +5482,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00011838902719318867` +`0.00011179991997778416` ``` @@ -5507,7 +5507,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00014364998787641525` +`0.00014412100426852703` ``` @@ -5579,7 +5579,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00013551802840083838` +`0.00013717508409172297` ``` @@ -5613,7 +5613,7 @@ functions/string_utils.py:3: TypeError` โŒ #46 - **Status:** โŒ `failed` -- **Duration:** `0.000145` s +- **Duration:** `0.000142` s ### ๐Ÿ”ง Setup Phase @@ -5622,7 +5622,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00011381600052118301` +`0.00010150391608476639` ``` @@ -5647,7 +5647,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00014517095405608416` +`0.00014175998512655497` ``` @@ -5710,7 +5710,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00013370905071496964` +`0.00012651202268898487` ``` @@ -5744,7 +5744,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` โŒ #47 - **Status:** โŒ `failed` -- **Duration:** `0.000160` s +- **Duration:** `0.000150` s ### ๐Ÿ”ง Setup Phase @@ -5753,7 +5753,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.000116697046905756` +`0.00011916295625269413` ``` @@ -5778,7 +5778,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00015972403343766928` +`0.00015014596283435822` ``` @@ -5841,7 +5841,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00014296802692115307` +`0.00014509004540741444` ``` @@ -5891,7 +5891,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` โŒ #23 - **Status:** โŒ `xfailed` -- **Duration:** `0.000289` s +- **Duration:** `0.000258` s ### ๐Ÿ”ง Setup Phase @@ -5900,7 +5900,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00013279099948704243` +`0.00013176200445741415` ``` @@ -5925,7 +5925,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.000289362040348351` +`0.00025842897593975067` ``` @@ -5991,7 +5991,7 @@ tests/test_math_utils.py:57: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00013681198470294476` +`0.00013813900295644999` ``` @@ -6033,7 +6033,7 @@ tests/test_math_utils.py:57: AssertionError` โŒ #49 - **Status:** โŒ `xfailed` -- **Duration:** `0.000623` s +- **Duration:** `0.000600` s ### ๐Ÿ”ง Setup Phase @@ -6042,7 +6042,7 @@ tests/test_math_utils.py:57: AssertionError` ๐Ÿ“Œ Duration ``` -`0.0001275879330933094` +`0.0001142109977081418` ``` @@ -6067,7 +6067,7 @@ tests/test_math_utils.py:57: AssertionError` ๐Ÿ“Œ Duration ``` -`0.0006231790175661445` +`0.0006002080626785755` ``` @@ -6139,7 +6139,7 @@ tests/test_string_utils.py:39: AssertionError` ๐Ÿ“Œ Duration ``` -`0.0001451020361855626` +`0.00013518496416509151` ``` diff --git a/ci-reports/markdown/coverage-error.log b/ci-reports/markdown/coverage-error.log new file mode 100644 index 000000000..e69de29bb diff --git a/ci-reports/markdown/md-report.log b/ci-reports/markdown/md-report.log new file mode 100644 index 000000000..2d9daf525 --- /dev/null +++ b/ci-reports/markdown/md-report.log @@ -0,0 +1 @@ +โœ… Report generated at ci-reports/markdown/TEST-REPORT.md diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index f036f9509..f745745db 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752586474.120156, "duration": 0.733452320098877, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 32, "xfailed": 2, "total": 50, "collected": 50}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 66}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 53}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 62}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 70}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 80}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 84}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 88}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 92}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 96}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 104}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 108}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 123}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 127}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 147}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 15}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 23}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 31}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 40}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.003137713996693492, "outcome": "passed"}, "call": {"duration": 0.000436843023635447, "outcome": "passed"}, "teardown": {"duration": 0.0002585089532658458, "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.0004594039637595415, "outcome": "passed"}, "call": {"duration": 0.00027534004766494036, "outcome": "passed"}, "teardown": {"duration": 0.000152299995534122, "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.00011231994722038507, "outcome": "passed"}, "call": {"duration": 0.00016063102521002293, "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.00014260795433074236, "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.00011706689838320017, "outcome": "passed"}, "call": {"duration": 0.0001712619559839368, "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.00014766096137464046, "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.00019254605285823345, "outcome": "passed"}, "call": {"duration": 0.00017032504547387362, "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 0x7f91ef4d41c0>\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.00016412802506238222, "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.00019947299733757973, "outcome": "passed"}, "call": {"duration": 0.0032327809603884816, "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 0x7f91f1bfda30>\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.0003268399741500616, "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.00014190399087965488, "outcome": "passed"}, "call": {"duration": 0.00019798893481492996, "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.00018712296150624752, "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.0002491619670763612, "outcome": "passed"}, "call": {"duration": 0.00019822001922875643, "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 0x7f91ef75fbe0>\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.0001831690315157175, "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.00065567996352911, "outcome": "passed"}, "call": {"duration": 0.0010459478944540024, "outcome": "passed"}, "teardown": {"duration": 0.00014320400077849627, "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.00011425698176026344, "outcome": "passed"}, "call": {"duration": 0.00017505499999970198, "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.00014044297859072685, "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.00012597593013197184, "outcome": "passed"}, "call": {"duration": 0.0001732800155878067, "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.00014510005712509155, "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.00011765898671001196, "outcome": "passed"}, "call": {"duration": 0.000153454951941967, "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.00013869500253349543, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00029685895424336195, "outcome": "passed"}, "call": {"duration": 0.00014839100185781717, "outcome": "passed"}, "teardown": {"duration": 0.0001548479776829481, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00025513500440865755, "outcome": "passed"}, "call": {"duration": 0.0001350059174001217, "outcome": "passed"}, "teardown": {"duration": 0.00013731303624808788, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002395380288362503, "outcome": "passed"}, "call": {"duration": 0.00012629490811377764, "outcome": "passed"}, "teardown": {"duration": 0.00014197698328644037, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002430579625070095, "outcome": "passed"}, "call": {"duration": 0.0001270860666409135, "outcome": "passed"}, "teardown": {"duration": 0.0001422329805791378, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023576489184051752, "outcome": "passed"}, "call": {"duration": 0.0001294680405408144, "outcome": "passed"}, "teardown": {"duration": 0.0001413309946656227, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=2,b=2,expected=4]", "parametrize", "pytestmark", "a=2,b=2,expected=4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024380104150623083, "outcome": "passed"}, "call": {"duration": 0.00013239204417914152, "outcome": "passed"}, "teardown": {"duration": 0.0001465620007365942, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=1,b=5,expected=6]", "parametrize", "pytestmark", "a=1,b=5,expected=6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023469608277082443, "outcome": "passed"}, "call": {"duration": 0.00012843299191445112, "outcome": "passed"}, "teardown": {"duration": 0.0001447099493816495, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=3,b=4,expected=7]", "parametrize", "pytestmark", "a=3,b=4,expected=7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023874198086559772, "outcome": "passed"}, "call": {"duration": 0.00012299302034080029, "outcome": "passed"}, "teardown": {"duration": 0.00014138699043542147, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 45, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010626704897731543, "outcome": "passed"}, "call": {"duration": 0.00045352696906775236, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 48, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 48, "message": "AssertionError"}], "longrepr": "def test_addition_fail():\n # Assertion failure: expected incorrect result\n> assert addition(2, 2) == 5\nE assert 4 == 5\nE + where 4 = addition(2, 2)\n\ntests/test_math_utils.py:48: AssertionError"}, "teardown": {"duration": 0.00014997797552496195, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 49, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011672393884509802, "outcome": "passed"}, "call": {"duration": 0.00015537708532065153, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError: division by zero"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 52, "message": ""}, {"path": "functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError"}], "longrepr": "def test_division_zero():\n # Will raise ZeroDivisionError if not handled in division\n> division(1, 0)\n\ntests/test_math_utils.py:52: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\na = 1, b = 0\n\n def division(a, b):\n> return a / b\nE ZeroDivisionError: division by zero\n\nfunctions/math_utils.py:5: ZeroDivisionError"}, "teardown": {"duration": 0.00013609894085675478, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 53, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013279099948704243, "outcome": "passed"}, "call": {"duration": 0.000289362040348351, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 57, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 57, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure\")\n def test_multiply_xfail():\n # Expected fail test (xfail): incorrect expected multiply result\n> assert multiply(2, 2) == 5\nE assert 4 == 5\nE + where 4 = multiply(2, 2)\n\ntests/test_math_utils.py:57: AssertionError"}, "teardown": {"duration": 0.00013681198470294476, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 58, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011395302135497332, "outcome": "passed"}, "call": {"duration": 0.0001467560650780797, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 61, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 61, "message": "RuntimeError"}], "longrepr": "def test_runtime_error():\n # Test raises an uncaught RuntimeError\n> raise RuntimeError(\"Forced runtime error\")\nE RuntimeError: Forced runtime error\n\ntests/test_math_utils.py:61: RuntimeError"}, "teardown": {"duration": 0.00013670301996171474, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 62, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011920696124434471, "outcome": "passed"}, "call": {"duration": 0.00014883594121783972, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 65, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 65, "message": "MemoryError"}], "longrepr": "def test_memory_error():\n # Manually raise MemoryError to simulate out-of-memory condition\n> raise MemoryError(\"Simulated memory error\")\nE MemoryError: Simulated memory error\n\ntests/test_math_utils.py:65: MemoryError"}, "teardown": {"duration": 0.00013706600293517113, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 66, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012946897186338902, "outcome": "passed"}, "call": {"duration": 0.00014803593512624502, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 69, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 69, "message": "TimeoutError"}], "longrepr": "def test_timeout_error():\n # Manually raise TimeoutError simulating timeout conditions\n> raise TimeoutError(\"Simulated timeout error\")\nE TimeoutError: Simulated timeout error\n\ntests/test_math_utils.py:69: TimeoutError"}, "teardown": {"duration": 0.00013795704580843449, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 70, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012100604362785816, "outcome": "passed"}, "call": {"duration": 0.0007684410084038973, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 74, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 75, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 74, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 74, "message": "in recursive"}], "longrepr": "def test_recursion_error():\n # Infinite recursion triggers RecursionError\n def recursive():\n return recursive()\n> recursive()\n\ntests/test_math_utils.py:75: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:74: in recursive\n return recursive()\ntests/test_math_utils.py:74: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.00017659692093729973, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 76, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013043498620390892, "outcome": "passed"}, "call": {"duration": 0.00017396197654306889, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 79, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 79, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError (rare in practice)\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:79: FloatingPointError"}, "teardown": {"duration": 0.00014903501141816378, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 80, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012214796151965857, "outcome": "passed"}, "call": {"duration": 0.0001661709975451231, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 83, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 83, "message": "OverflowError"}], "longrepr": "def test_floating_point_overflow():\n # Exponential overflow triggers OverflowError\n> math.exp(1000)\nE OverflowError: math range error\n\ntests/test_math_utils.py:83: OverflowError"}, "teardown": {"duration": 0.00014276301953941584, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 84, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012148299720138311, "outcome": "passed"}, "call": {"duration": 0.0001632150961086154, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 87, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 87, "message": "ValueError"}], "longrepr": "def test_value_error():\n # ValueError on invalid integer conversion\n> int(\"invalid\")\nE ValueError: invalid literal for int() with base 10: 'invalid'\n\ntests/test_math_utils.py:87: ValueError"}, "teardown": {"duration": 0.00014069199096411467, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 88, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013569998554885387, "outcome": "passed"}, "call": {"duration": 0.00015197996981441975, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 91, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 91, "message": "TypeError"}], "longrepr": "def test_type_error():\n # TypeError when passing wrong argument type to sum\n> sum(5)\nE TypeError: 'int' object is not iterable\n\ntests/test_math_utils.py:91: TypeError"}, "teardown": {"duration": 0.0001402850029990077, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 92, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012246298138052225, "outcome": "passed"}, "call": {"duration": 0.0001599190291017294, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 95, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 95, "message": "Exception"}], "longrepr": "def test_unhandled_exception():\n # Raises generic unhandled Exception\n> raise Exception(\"Generic unhandled exception\")\nE Exception: Generic unhandled exception\n\ntests/test_math_utils.py:95: Exception"}, "teardown": {"duration": 0.00014846096746623516, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 96, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012132199481129646, "outcome": "passed"}, "call": {"duration": 0.0001527720596641302, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 99, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 99, "message": "CustomError"}], "longrepr": "def test_custom_error():\n # Raises user-defined CustomError exception\n> raise CustomError(\"Custom error simulation\")\nE test_math_utils.CustomError: Custom error simulation\n\ntests/test_math_utils.py:99: CustomError"}, "teardown": {"duration": 0.00015674310270696878, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 100, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012126693036407232, "outcome": "passed"}, "call": {"duration": 0.00015248695854097605, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError: generator raised StopIteration"}, "traceback": [{"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 341, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 242, "message": "in "}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py", "lineno": 513, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py", "lineno": 120, "message": "in _hookexec"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py", "lineno": 92, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py", "lineno": 68, "message": "in thread_exception_runtest_hook"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py", "lineno": 95, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py", "lineno": 70, "message": "in unraisable_exception_runtest_hook"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py", "lineno": 846, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py", "lineno": 829, "message": "in _runtest_for"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError"}], "longrepr": "def test_stop_iteration_direct():\n # Directly raise StopIteration exception\n> raise StopIteration()\nE StopIteration\n\ntests/test_math_utils.py:103: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f91ef9ae9d0>\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.00027189101092517376, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 104, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00014866702258586884, "outcome": "passed"}, "call": {"duration": 0.00018335494678467512, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 107, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 107, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:107: GeneratorExit"}, "teardown": {"duration": 0.0001800640020519495, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 108, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012264796532690525, "outcome": "passed"}, "call": {"duration": 0.00016306701581925154, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 112, "message": "RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 112, "message": "RecursionError"}], "longrepr": "def test_recursion_limit():\n # Lower recursion limit to force RecursionError on deep recursion\n original_limit = sys.getrecursionlimit()\n> sys.setrecursionlimit(50)\nE RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low\n\ntests/test_math_utils.py:112: RecursionError"}, "teardown": {"duration": 0.00014721101615577936, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 119, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012337404768913984, "outcome": "passed"}, "call": {"duration": 0.00015646906103938818, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 122, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 122, "message": "SyntaxError"}], "longrepr": "def test_malformed_code():\n # SyntaxError when executing malformed Python code\n> exec(\"def bad(:\\n pass\")\nE File \"\", line 1\nE def bad(:\nE ^\nE SyntaxError: invalid syntax\n\ntests/test_math_utils.py:122: SyntaxError"}, "teardown": {"duration": 0.00013616797514259815, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 123, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012017204426229, "outcome": "passed"}, "call": {"duration": 0.00015138497110456228, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 126, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 126, "message": "SystemExit"}], "longrepr": "def test_sys_exit():\n # Simulate SystemExit via sys.exit\n> sys.exit(1)\nE SystemExit: 1\n\ntests/test_math_utils.py:126: SystemExit"}, "teardown": {"duration": 0.00013464991934597492, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 127, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011495803482830524, "outcome": "passed"}, "call": {"duration": 0.00015838502440601587, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 131, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 132, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 131, "message": "TypeError"}], "longrepr": "def test_broken_function():\n # Simulate broken function raising TypeError\n def broken_func(*args, **kwargs):\n raise TypeError(\"Broken function\")\n> broken_func()\n\ntests/test_math_utils.py:132: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = (), kwargs = {}\n\n def broken_func(*args, **kwargs):\n> raise TypeError(\"Broken function\")\nE TypeError: Broken function\n\ntests/test_math_utils.py:131: TypeError"}, "teardown": {"duration": 0.00013800500892102718, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 133, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011768599506467581, "outcome": "passed"}, "call": {"duration": 0.00015319010708481073, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 139, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 144, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 139, "message": "ImportError"}], "longrepr": "def test_import_error_patch():\n # Patch import to simulate ImportError on specific module\n original_import = __import__\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n raise ImportError(\"Simulated ImportError\")\n return original_import(name, *args, **kwargs)\n import builtins\n builtins.__import__, old_import = fake_import, builtins.__import__\n try:\n> __import__(\"fake_module\")\n\ntests/test_math_utils.py:144: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'fake_module', args = (), kwargs = {}\n\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:139: ImportError"}, "teardown": {"duration": 0.00015053607057780027, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 147, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011897995136678219, "outcome": "passed"}, "call": {"duration": 0.00048460299149155617, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 150, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/importlib/__init__.py", "lineno": 127, "message": "in import_module"}, {"path": "", "lineno": 1014, "message": "in _gcd_import"}, {"path": "", "lineno": 991, "message": "in _find_and_load"}, {"path": "", "lineno": 973, "message": "ModuleNotFoundError"}], "longrepr": "def test_module_not_found_error():\n # Raises ModuleNotFoundError (subclass of ImportError) for missing module\n> importlib.import_module(\"non_existent_module_xyz\")\n\ntests/test_math_utils.py:150: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'non_existent_module_xyz'\nimport_ = \n\n> ???\nE ModuleNotFoundError: No module named 'non_existent_module_xyz'\n\n:973: ModuleNotFoundError"}, "teardown": {"duration": 0.00013959198258817196, "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.0001268950290977955, "outcome": "passed"}, "call": {"duration": 0.000142762903124094, "outcome": "passed"}, "teardown": {"duration": 0.00010115408804267645, "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.00011838902719318867, "outcome": "passed"}, "call": {"duration": 0.00014364998787641525, "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.00013551802840083838, "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.00012156099546700716, "outcome": "passed"}, "call": {"duration": 0.00013769208453595638, "outcome": "passed"}, "teardown": {"duration": 0.0001017269678413868, "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.00010604190174490213, "outcome": "passed"}, "call": {"duration": 0.0001449360279366374, "outcome": "passed"}, "teardown": {"duration": 9.684311226010323e-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.00011381600052118301, "outcome": "passed"}, "call": {"duration": 0.00014517095405608416, "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.00013370905071496964, "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.000116697046905756, "outcome": "passed"}, "call": {"duration": 0.00015972403343766928, "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.00014296802692115307, "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.00011525501031428576, "outcome": "passed"}, "call": {"duration": 0.00013414293061941862, "outcome": "passed"}, "teardown": {"duration": 0.00010607508011162281, "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.0001275879330933094, "outcome": "passed"}, "call": {"duration": 0.0006231790175661445, "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.0001451020361855626, "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.00011585198808461428, "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": 1752586786.781434, "duration": 0.7375295162200928, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 32, "xfailed": 2, "total": 50, "collected": 50}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 66}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 53}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 62}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 70}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 80}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 84}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 88}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 92}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 96}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 104}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 108}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 123}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 127}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 147}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 15}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 23}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 31}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 40}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0034593839664012194, "outcome": "passed"}, "call": {"duration": 0.0004899170016869903, "outcome": "passed"}, "teardown": {"duration": 0.00024983007460832596, "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.00046310899779200554, "outcome": "passed"}, "call": {"duration": 0.0002771139843389392, "outcome": "passed"}, "teardown": {"duration": 0.0001375629799440503, "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.0001153870252892375, "outcome": "passed"}, "call": {"duration": 0.00015720899682492018, "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.00013898999895900488, "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.00011659495066851377, "outcome": "passed"}, "call": {"duration": 0.00018040998838841915, "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.00013626902364194393, "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.00019610300660133362, "outcome": "passed"}, "call": {"duration": 0.00017558701802045107, "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 0x7f26a43d6460>\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.00017856108024716377, "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.00019461405463516712, "outcome": "passed"}, "call": {"duration": 0.003317325026728213, "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 0x7f26a4349160>\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.0003149450058117509, "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.00014207104686647654, "outcome": "passed"}, "call": {"duration": 0.00019283092115074396, "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.0002019209787249565, "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.00026243901811540127, "outcome": "passed"}, "call": {"duration": 0.00020251399837434292, "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 0x7f26a8319070>\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.0001750079682096839, "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.0006330390460789204, "outcome": "passed"}, "call": {"duration": 0.0015877229161560535, "outcome": "passed"}, "teardown": {"duration": 0.00014293391723185778, "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.00014447898138314486, "outcome": "passed"}, "call": {"duration": 0.0001744050532579422, "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.00013648101594299078, "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.00012446101754903793, "outcome": "passed"}, "call": {"duration": 0.00015113502740859985, "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.00013916089665144682, "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.00011882302351295948, "outcome": "passed"}, "call": {"duration": 0.00015424995217472315, "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.0001412540441378951, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00030271802097558975, "outcome": "passed"}, "call": {"duration": 0.00014608795754611492, "outcome": "passed"}, "teardown": {"duration": 0.0001422459026798606, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00027716695331037045, "outcome": "passed"}, "call": {"duration": 0.0001361339818686247, "outcome": "passed"}, "teardown": {"duration": 0.0001355570275336504, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002540500136092305, "outcome": "passed"}, "call": {"duration": 0.00013314001262187958, "outcome": "passed"}, "teardown": {"duration": 0.00013383105397224426, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002404589904472232, "outcome": "passed"}, "call": {"duration": 0.00013298401609063148, "outcome": "passed"}, "teardown": {"duration": 0.00013184198178350925, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024849502369761467, "outcome": "passed"}, "call": {"duration": 0.0001302309101447463, "outcome": "passed"}, "teardown": {"duration": 0.0001333329128101468, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=2,b=2,expected=4]", "parametrize", "pytestmark", "a=2,b=2,expected=4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024118309374898672, "outcome": "passed"}, "call": {"duration": 0.0001346709905192256, "outcome": "passed"}, "teardown": {"duration": 0.00013406493235379457, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=1,b=5,expected=6]", "parametrize", "pytestmark", "a=1,b=5,expected=6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024457299150526524, "outcome": "passed"}, "call": {"duration": 0.00012467196211218834, "outcome": "passed"}, "teardown": {"duration": 0.0001376679865643382, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 34, "outcome": "passed", "keywords": ["test_addition_pass_id[a=3,b=4,expected=7]", "parametrize", "pytestmark", "a=3,b=4,expected=7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002481710398569703, "outcome": "passed"}, "call": {"duration": 0.0001275719841942191, "outcome": "passed"}, "teardown": {"duration": 0.00012986292131245136, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 45, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010900897905230522, "outcome": "passed"}, "call": {"duration": 0.000436950009316206, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 48, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 48, "message": "AssertionError"}], "longrepr": "def test_addition_fail():\n # Assertion failure: expected incorrect result\n> assert addition(2, 2) == 5\nE assert 4 == 5\nE + where 4 = addition(2, 2)\n\ntests/test_math_utils.py:48: AssertionError"}, "teardown": {"duration": 0.0001363198971375823, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 49, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011752103455364704, "outcome": "passed"}, "call": {"duration": 0.0001517710043117404, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError: division by zero"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 52, "message": ""}, {"path": "functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError"}], "longrepr": "def test_division_zero():\n # Will raise ZeroDivisionError if not handled in division\n> division(1, 0)\n\ntests/test_math_utils.py:52: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\na = 1, b = 0\n\n def division(a, b):\n> return a / b\nE ZeroDivisionError: division by zero\n\nfunctions/math_utils.py:5: ZeroDivisionError"}, "teardown": {"duration": 0.00015670608263462782, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 53, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013176200445741415, "outcome": "passed"}, "call": {"duration": 0.00025842897593975067, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 57, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 57, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure\")\n def test_multiply_xfail():\n # Expected fail test (xfail): incorrect expected multiply result\n> assert multiply(2, 2) == 5\nE assert 4 == 5\nE + where 4 = multiply(2, 2)\n\ntests/test_math_utils.py:57: AssertionError"}, "teardown": {"duration": 0.00013813900295644999, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 58, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011576502583920956, "outcome": "passed"}, "call": {"duration": 0.00014517793897539377, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 61, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 61, "message": "RuntimeError"}], "longrepr": "def test_runtime_error():\n # Test raises an uncaught RuntimeError\n> raise RuntimeError(\"Forced runtime error\")\nE RuntimeError: Forced runtime error\n\ntests/test_math_utils.py:61: RuntimeError"}, "teardown": {"duration": 0.00013555795885622501, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 62, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011536607053130865, "outcome": "passed"}, "call": {"duration": 0.00014711800031363964, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 65, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 65, "message": "MemoryError"}], "longrepr": "def test_memory_error():\n # Manually raise MemoryError to simulate out-of-memory condition\n> raise MemoryError(\"Simulated memory error\")\nE MemoryError: Simulated memory error\n\ntests/test_math_utils.py:65: MemoryError"}, "teardown": {"duration": 0.00013725599274039268, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 66, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012817897368222475, "outcome": "passed"}, "call": {"duration": 0.00014853395987302065, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 69, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 69, "message": "TimeoutError"}], "longrepr": "def test_timeout_error():\n # Manually raise TimeoutError simulating timeout conditions\n> raise TimeoutError(\"Simulated timeout error\")\nE TimeoutError: Simulated timeout error\n\ntests/test_math_utils.py:69: TimeoutError"}, "teardown": {"duration": 0.00013677298557013273, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 70, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011945993173867464, "outcome": "passed"}, "call": {"duration": 0.0007662429707124829, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 74, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 75, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 74, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 74, "message": "in recursive"}], "longrepr": "def test_recursion_error():\n # Infinite recursion triggers RecursionError\n def recursive():\n return recursive()\n> recursive()\n\ntests/test_math_utils.py:75: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:74: in recursive\n return recursive()\ntests/test_math_utils.py:74: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.0001464890083298087, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 76, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011966004967689514, "outcome": "passed"}, "call": {"duration": 0.0001579619711264968, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 79, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 79, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError (rare in practice)\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:79: FloatingPointError"}, "teardown": {"duration": 0.00015232397709041834, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 80, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011908798478543758, "outcome": "passed"}, "call": {"duration": 0.0001566489227116108, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 83, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 83, "message": "OverflowError"}], "longrepr": "def test_floating_point_overflow():\n # Exponential overflow triggers OverflowError\n> math.exp(1000)\nE OverflowError: math range error\n\ntests/test_math_utils.py:83: OverflowError"}, "teardown": {"duration": 0.00013843609485775232, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 84, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012460595462471247, "outcome": "passed"}, "call": {"duration": 0.00015566905494779348, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 87, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 87, "message": "ValueError"}], "longrepr": "def test_value_error():\n # ValueError on invalid integer conversion\n> int(\"invalid\")\nE ValueError: invalid literal for int() with base 10: 'invalid'\n\ntests/test_math_utils.py:87: ValueError"}, "teardown": {"duration": 0.00013345503248274326, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 88, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011793302837759256, "outcome": "passed"}, "call": {"duration": 0.00014847202692180872, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 91, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 91, "message": "TypeError"}], "longrepr": "def test_type_error():\n # TypeError when passing wrong argument type to sum\n> sum(5)\nE TypeError: 'int' object is not iterable\n\ntests/test_math_utils.py:91: TypeError"}, "teardown": {"duration": 0.00013765995390713215, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 92, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012044806499034166, "outcome": "passed"}, "call": {"duration": 0.00014784198720008135, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 95, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 95, "message": "Exception"}], "longrepr": "def test_unhandled_exception():\n # Raises generic unhandled Exception\n> raise Exception(\"Generic unhandled exception\")\nE Exception: Generic unhandled exception\n\ntests/test_math_utils.py:95: Exception"}, "teardown": {"duration": 0.00013869698159396648, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 96, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011756399180740118, "outcome": "passed"}, "call": {"duration": 0.0001499060308560729, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 99, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 99, "message": "CustomError"}], "longrepr": "def test_custom_error():\n # Raises user-defined CustomError exception\n> raise CustomError(\"Custom error simulation\")\nE test_math_utils.CustomError: Custom error simulation\n\ntests/test_math_utils.py:99: CustomError"}, "teardown": {"duration": 0.0001379830064252019, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 100, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011907308362424374, "outcome": "passed"}, "call": {"duration": 0.00014885806012898684, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError: generator raised StopIteration"}, "traceback": [{"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 341, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 242, "message": "in "}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py", "lineno": 513, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py", "lineno": 120, "message": "in _hookexec"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py", "lineno": 92, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py", "lineno": 68, "message": "in thread_exception_runtest_hook"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py", "lineno": 95, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py", "lineno": 70, "message": "in unraisable_exception_runtest_hook"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py", "lineno": 846, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py", "lineno": 829, "message": "in _runtest_for"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError"}], "longrepr": "def test_stop_iteration_direct():\n # Directly raise StopIteration exception\n> raise StopIteration()\nE StopIteration\n\ntests/test_math_utils.py:103: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f26a4b1d9d0>\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.0002507200697436929, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 104, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00014777109026908875, "outcome": "passed"}, "call": {"duration": 0.000179130001924932, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 107, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 107, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:107: GeneratorExit"}, "teardown": {"duration": 0.000163655960932374, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 108, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012791797053068876, "outcome": "passed"}, "call": {"duration": 0.0001625110162422061, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 112, "message": "RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 112, "message": "RecursionError"}], "longrepr": "def test_recursion_limit():\n # Lower recursion limit to force RecursionError on deep recursion\n original_limit = sys.getrecursionlimit()\n> sys.setrecursionlimit(50)\nE RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low\n\ntests/test_math_utils.py:112: RecursionError"}, "teardown": {"duration": 0.0001385729992762208, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 119, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011552206706255674, "outcome": "passed"}, "call": {"duration": 0.00017575593665242195, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 122, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 122, "message": "SyntaxError"}], "longrepr": "def test_malformed_code():\n # SyntaxError when executing malformed Python code\n> exec(\"def bad(:\\n pass\")\nE File \"\", line 1\nE def bad(:\nE ^\nE SyntaxError: invalid syntax\n\ntests/test_math_utils.py:122: SyntaxError"}, "teardown": {"duration": 0.00013670593034476042, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 123, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011548795737326145, "outcome": "passed"}, "call": {"duration": 0.00014662696048617363, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 126, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 126, "message": "SystemExit"}], "longrepr": "def test_sys_exit():\n # Simulate SystemExit via sys.exit\n> sys.exit(1)\nE SystemExit: 1\n\ntests/test_math_utils.py:126: SystemExit"}, "teardown": {"duration": 0.00013774598482996225, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 127, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011506001465022564, "outcome": "passed"}, "call": {"duration": 0.00015111698303371668, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 131, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 132, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 131, "message": "TypeError"}], "longrepr": "def test_broken_function():\n # Simulate broken function raising TypeError\n def broken_func(*args, **kwargs):\n raise TypeError(\"Broken function\")\n> broken_func()\n\ntests/test_math_utils.py:132: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = (), kwargs = {}\n\n def broken_func(*args, **kwargs):\n> raise TypeError(\"Broken function\")\nE TypeError: Broken function\n\ntests/test_math_utils.py:131: TypeError"}, "teardown": {"duration": 0.00013897300232201815, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 133, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011729507241398096, "outcome": "passed"}, "call": {"duration": 0.00015506893396377563, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 139, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 144, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 139, "message": "ImportError"}], "longrepr": "def test_import_error_patch():\n # Patch import to simulate ImportError on specific module\n original_import = __import__\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n raise ImportError(\"Simulated ImportError\")\n return original_import(name, *args, **kwargs)\n import builtins\n builtins.__import__, old_import = fake_import, builtins.__import__\n try:\n> __import__(\"fake_module\")\n\ntests/test_math_utils.py:144: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'fake_module', args = (), kwargs = {}\n\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:139: ImportError"}, "teardown": {"duration": 0.00014043296687304974, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 147, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012843997683376074, "outcome": "passed"}, "call": {"duration": 0.00047858001198619604, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 150, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/importlib/__init__.py", "lineno": 127, "message": "in import_module"}, {"path": "", "lineno": 1014, "message": "in _gcd_import"}, {"path": "", "lineno": 991, "message": "in _find_and_load"}, {"path": "", "lineno": 973, "message": "ModuleNotFoundError"}], "longrepr": "def test_module_not_found_error():\n # Raises ModuleNotFoundError (subclass of ImportError) for missing module\n> importlib.import_module(\"non_existent_module_xyz\")\n\ntests/test_math_utils.py:150: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'non_existent_module_xyz'\nimport_ = \n\n> ???\nE ModuleNotFoundError: No module named 'non_existent_module_xyz'\n\n:973: ModuleNotFoundError"}, "teardown": {"duration": 0.0001406930387020111, "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.0001220629783347249, "outcome": "passed"}, "call": {"duration": 0.00015117996372282505, "outcome": "passed"}, "teardown": {"duration": 0.00010012101847678423, "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.00011179991997778416, "outcome": "passed"}, "call": {"duration": 0.00014412100426852703, "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.00013717508409172297, "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.00011640193406492472, "outcome": "passed"}, "call": {"duration": 0.00014802406076341867, "outcome": "passed"}, "teardown": {"duration": 0.00010069995187222958, "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.00011357804760336876, "outcome": "passed"}, "call": {"duration": 0.00014134298544377089, "outcome": "passed"}, "teardown": {"duration": 9.584601502865553e-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.00010150391608476639, "outcome": "passed"}, "call": {"duration": 0.00014175998512655497, "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.00012651202268898487, "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.00011916295625269413, "outcome": "passed"}, "call": {"duration": 0.00015014596283435822, "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.00014509004540741444, "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.00011801801156252623, "outcome": "passed"}, "call": {"duration": 0.00013622594997286797, "outcome": "passed"}, "teardown": {"duration": 9.89340478554368e-05, "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.0001142109977081418, "outcome": "passed"}, "call": {"duration": 0.0006002080626785755, "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.00013518496416509151, "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.00011296395678073168, "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 c780c6864..48340abfe 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, html-4.1.1, allure-pytest-2.13.5, json-report-1.5.0, md-report-0.6.2 +plugins: cov-5.0.0, allure-pytest-2.13.5, metadata-3.1.1, html-4.1.1, json-report-1.5.0, md-report-0.6.2 collected 50 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 0x7f91ef4d41c0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f26a43d6460> 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 0x7f91f1bfda30> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f26a4349160> 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 0x7f91ef75fbe0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f26a8319070> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -311,7 +311,7 @@ tests/test_math_utils.py:103: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f91ef9ae9d0> +func = . at 0x7f26a4b1d9d0> when = 'call' reraise = (, ) @@ -467,7 +467,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -561,4 +561,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) -======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.73s ========= +======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s =========