diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 4c77e615..aa381aff 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-14 11:29:39* +*Generated on 2025-07-14 11:38:14* ## ๐Ÿ“‹ Summary - **Passed**: `21` @@ -7,7 +7,7 @@ - **Xfailed**: `1` - **Total**: `29` - **Collected**: `44` -- **Total Duration**: `0.553`s +- **Total Duration**: `0.517`s ## ๐Ÿ”Ž Tests
@@ -23,7 +23,7 @@ โœ… #1 - **Status:** โœ… `passed` -- **Duration:** `0.000529` s +- **Duration:** `0.000598` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -32,7 +32,7 @@ ๐Ÿ“Œ Duration ``` -0.0043267098953947425 +0.0036806020652875304 ```
@@ -51,7 +51,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0005285430233925581 +0.0005977649707347155 ``` @@ -70,7 +70,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0016795319970697165 +0.0014920169487595558 ``` @@ -93,7 +93,7 @@ passed โœ… #2 - **Status:** โœ… `passed` -- **Duration:** `0.000360` s +- **Duration:** `0.000330` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -102,7 +102,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0007773049874231219 +0.0007249109912663698 ``` @@ -121,7 +121,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00036039401311427355 +0.0003299410454928875 ``` @@ -140,7 +140,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0006943049374967813 +0.0006609800038859248 ``` @@ -163,7 +163,7 @@ passed โœ… #3 - **Status:** โœ… `passed` -- **Duration:** `0.000340` s +- **Duration:** `0.000354` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -172,7 +172,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018865102902054787 +0.00018553889822214842 ``` @@ -191,7 +191,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003403659211471677 +0.00035362900234758854 ``` @@ -210,7 +210,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00021628697868436575 +0.00021249603014439344 ``` @@ -233,7 +233,7 @@ passed โœ… #4 - **Status:** โœ… `passed` -- **Duration:** `0.000200` s +- **Duration:** `0.000196` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -242,7 +242,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002052800264209509 +0.00017795804888010025 ``` @@ -261,7 +261,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001997939543798566 +0.0001957990461960435 ``` @@ -280,7 +280,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002022900152951479 +0.00020550796762108803 ``` @@ -303,7 +303,7 @@ passed โœ… #5 - **Status:** โœ… `passed` -- **Duration:** `0.000231` s +- **Duration:** `0.000271` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -312,7 +312,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003505710046738386 +0.0003604989033192396 ``` @@ -331,7 +331,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002311120042577386 +0.00027111696545034647 ``` @@ -350,7 +350,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0006616850150749087 +0.0006797489477321506 ``` @@ -373,7 +373,7 @@ passed โœ… #6 - **Status:** โœ… `passed` -- **Duration:** `0.003526` s +- **Duration:** `0.003382` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -382,7 +382,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00036152603570371866 +0.00035927502904087305 ``` @@ -401,7 +401,7 @@ passed ๐Ÿ“Œ Duration ``` -0.003525982960127294 +0.003381539019756019 ``` @@ -420,7 +420,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0007560590747743845 +0.0006750429747626185 ``` @@ -443,7 +443,7 @@ passed โœ… #7 - **Status:** โœ… `passed` -- **Duration:** `0.000190` s +- **Duration:** `0.000200` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -452,7 +452,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019258097745478153 +0.0001827160594984889 ``` @@ -471,7 +471,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001897680340334773 +0.0001997780054807663 ``` @@ -490,7 +490,7 @@ passed ๐Ÿ“Œ Duration ``` -0.000197026995010674 +0.00021635100711137056 ``` @@ -513,7 +513,7 @@ passed โœ… #8 - **Status:** โœ… `passed` -- **Duration:** `0.000216` s +- **Duration:** `0.000210` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -522,7 +522,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0004044340457767248 +0.00036947301123291254 ``` @@ -541,7 +541,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002157819690182805 +0.00020978401880711317 ``` @@ -560,7 +560,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0006307240109890699 +0.0006664759712293744 ``` @@ -583,7 +583,7 @@ passed โœ… #10 - **Status:** โœ… `passed` -- **Duration:** `0.000219` s +- **Duration:** `0.000200` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -592,7 +592,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018586707301437855 +0.00018206692766398191 ``` @@ -611,7 +611,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002190659288316965 +0.00020008394494652748 ``` @@ -630,7 +630,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00020917796064168215 +0.0002171719679608941 ``` @@ -658,7 +658,7 @@ passed โœ… #12 - **Status:** โœ… `passed` -- **Duration:** `0.000188` s +- **Duration:** `0.000182` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -667,7 +667,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018492992967367172 +0.00018347695004194975 ``` @@ -686,7 +686,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018758291844278574 +0.0001818620366975665 ``` @@ -705,7 +705,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00020886899437755346 +0.00020259700249880552 ``` @@ -737,7 +737,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001719389110803604 +0.0001901820069178939 ``` @@ -756,7 +756,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001532980240881443 +0.00015343294944614172 ``` @@ -775,7 +775,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018823309801518917 +0.00018581596668809652 ``` @@ -798,7 +798,7 @@ passed โœ… #15 - **Status:** โœ… `passed` -- **Duration:** `0.000182` s +- **Duration:** `0.000183` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -807,7 +807,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017933000344783068 +0.00018794508650898933 ``` @@ -826,7 +826,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018181209452450275 +0.0001834880094975233 ``` @@ -845,7 +845,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019393698312342167 +0.0001980750821530819 ``` @@ -868,7 +868,7 @@ passed โœ… #18 - **Status:** โœ… `passed` -- **Duration:** `0.000186` s +- **Duration:** `0.000176` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -877,7 +877,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018494296818971634 +0.00018165993969887495 ``` @@ -896,7 +896,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018597091548144817 +0.00017625698819756508 ``` @@ -915,7 +915,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00020637898705899715 +0.0002011879114434123 ``` @@ -938,7 +938,7 @@ passed โœ… #19 - **Status:** โœ… `passed` -- **Duration:** `0.000179` s +- **Duration:** `0.000180` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -947,7 +947,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018519896548241377 +0.00018233596347272396 ``` @@ -966,7 +966,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001792730763554573 +0.00018031499348580837 ``` @@ -985,7 +985,7 @@ passed ๐Ÿ“Œ Duration ``` -0.000193851999938488 +0.00019269704353064299 ``` @@ -1008,7 +1008,7 @@ passed โœ… #20 - **Status:** โœ… `passed` -- **Duration:** `0.001432` s +- **Duration:** `0.001245` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1017,7 +1017,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001679370179772377 +0.00018527999054640532 ``` @@ -1036,7 +1036,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0014318060129880905 +0.0012450930662453175 ``` @@ -1055,7 +1055,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00023526407312601805 +0.00021843798458576202 ``` @@ -1078,7 +1078,7 @@ passed โœ… #21 - **Status:** โœ… `passed` -- **Duration:** `0.000191` s +- **Duration:** `0.000183` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1087,7 +1087,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019647309090942144 +0.00019745691679418087 ``` @@ -1106,7 +1106,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019070296548306942 +0.00018318695947527885 ``` @@ -1125,7 +1125,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00022353394888341427 +0.00019343697931617498 ``` @@ -1148,7 +1148,7 @@ passed โœ… #22 - **Status:** โœ… `passed` -- **Duration:** `0.000189` s +- **Duration:** `0.000174` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1157,7 +1157,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001842339988797903 +0.00016973901074379683 ``` @@ -1176,7 +1176,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018873705994337797 +0.00017350097186863422 ``` @@ -1195,7 +1195,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00020722299814224243 +0.00020064995624125004 ``` @@ -1218,7 +1218,7 @@ passed โœ… #23 - **Status:** โœ… `passed` -- **Duration:** `0.000196` s +- **Duration:** `0.000178` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1227,7 +1227,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001822189660742879 +0.0001918819034472108 ``` @@ -1246,7 +1246,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019560393411666155 +0.00017789797857403755 ``` @@ -1265,7 +1265,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019736005924642086 +0.00019262102432549 ``` @@ -1288,7 +1288,7 @@ passed โœ… #24 - **Status:** โœ… `passed` -- **Duration:** `0.000172` s +- **Duration:** `0.000169` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1297,7 +1297,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017713999841362238 +0.00017145497258752584 ``` @@ -1316,7 +1316,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017243705224245787 +0.00016871304251253605 ``` @@ -1335,7 +1335,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00020841998048126698 +0.00019856297876685858 ``` @@ -1358,7 +1358,7 @@ passed โœ… #26 - **Status:** โœ… `passed` -- **Duration:** `0.000189` s +- **Duration:** `0.000198` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1367,7 +1367,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017945608124136925 +0.00018170801922678947 ``` @@ -1386,7 +1386,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018936709966510534 +0.0001984359696507454 ``` @@ -1405,7 +1405,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019387505017220974 +0.0002007760340347886 ``` @@ -1437,7 +1437,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001884259982034564 +0.00019612209871411324 ``` @@ -1470,7 +1470,7 @@ passed โŒ #9 - **Status:** โŒ `failed` -- **Duration:** `0.001095` s +- **Duration:** `0.000997` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1479,7 +1479,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0007673959480598569 +0.0007111530285328627 ``` @@ -1498,7 +1498,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0010945230023935437 +0.0009965709177777171 ``` @@ -1557,7 +1557,7 @@ tests/test_io_utils.py:72: Failed ๐Ÿ“Œ Duration ``` -0.0007293210364878178 +0.0006777470698580146 ``` @@ -1585,7 +1585,7 @@ passed โŒ #11 - **Status:** โŒ `failed` -- **Duration:** `0.000174` s +- **Duration:** `0.000178` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1594,7 +1594,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001833890564739704 +0.0001782820327207446 ``` @@ -1613,7 +1613,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017388700507581234 +0.00017804407980293036 ``` @@ -1665,7 +1665,7 @@ tests/test_math_utils.py:16: NameError ๐Ÿ“Œ Duration ``` -0.00024230405688285828 +0.00023554498329758644 ``` @@ -1688,7 +1688,7 @@ passed โŒ #14 - **Status:** โŒ `failed` -- **Duration:** `0.000454` s +- **Duration:** `0.000417` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1697,7 +1697,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018400698900222778 +0.00018432794604450464 ``` @@ -1716,7 +1716,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00045424699783325195 +0.0004173360066488385 ``` @@ -1770,7 +1770,7 @@ tests/test_math_utils.py:29: AssertionError ๐Ÿ“Œ Duration ``` -0.00023972196504473686 +0.00023476302158087492 ``` @@ -1793,7 +1793,7 @@ passed โŒ #17 - **Status:** โŒ `failed` -- **Duration:** `0.000176` s +- **Duration:** `0.000179` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1802,7 +1802,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017991499044001102 +0.00018421898130327463 ``` @@ -1821,7 +1821,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001758619910106063 +0.00017917202785611153 ``` @@ -1873,7 +1873,7 @@ tests/test_math_utils.py:43: RuntimeError ๐Ÿ“Œ Duration ``` -0.00023746199440211058 +0.0002352759474888444 ``` @@ -1896,7 +1896,7 @@ passed โŒ #25 - **Status:** โŒ `failed` -- **Duration:** `0.000184` s +- **Duration:** `0.000172` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1905,7 +1905,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017958797980099916 +0.00020418502390384674 ``` @@ -1924,7 +1924,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018355005886405706 +0.0001721610315144062 ``` @@ -1976,7 +1976,7 @@ tests/test_math_utils.py:84: Exception ๐Ÿ“Œ Duration ``` -0.0002444849815219641 +0.00023775093723088503 ``` @@ -1999,7 +1999,7 @@ passed โŒ #27 - **Status:** โŒ `failed` -- **Duration:** `0.000171` s +- **Duration:** `0.000170` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2008,7 +2008,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018506997730582952 +0.00017708900850266218 ``` @@ -2027,7 +2027,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00017134204972535372 +0.00016954203601926565 ``` @@ -2103,7 +2103,7 @@ tests/test_math_utils.py:93: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f6293f79430> +func = . at 0x7f5a0b2ce430> when = 'call' reraise = (, ) @@ -2173,7 +2173,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -0.00044733902905136347 +0.00036008504685014486 ``` @@ -2196,7 +2196,7 @@ passed โŒ #28 - **Status:** โŒ `failed` -- **Duration:** `0.000199` s +- **Duration:** `0.000212` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2205,7 +2205,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00025568995624780655 +0.00024051195941865444 ``` @@ -2224,7 +2224,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001990640303120017 +0.00021165597718209028 ``` @@ -2276,7 +2276,7 @@ tests/test_math_utils.py:97: GeneratorExit ๐Ÿ“Œ Duration ``` -0.0002814879408106208 +0.0002644580090418458 ``` @@ -2309,7 +2309,7 @@ passed โŒ #16 - **Status:** โŒ `xfailed` -- **Duration:** `0.000287` s +- **Duration:** `0.000268` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2318,7 +2318,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002108309417963028 +0.00020332401618361473 ``` @@ -2337,7 +2337,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002865979913622141 +0.00026754289865493774 ``` @@ -2392,7 +2392,7 @@ tests/test_math_utils.py:39: AssertionError ๐Ÿ“Œ Duration ``` -0.00027139903977513313 +0.00025110901333391666 ``` diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index 86e24d74..cd28e5cb 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752492578.1377587, "duration": 0.5533432960510254, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 21, "failed": 7, "xfailed": 1, "total": 29, "collected": 44}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n: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": 27}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 32}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 64}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 73}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_math_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 102}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 117}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 144}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_string_utils.py::test_unicode_encode_error", "type": "Function", "lineno": 24}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 29}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 39}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 46}]}, {"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": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Dir"}, {"nodeid": "tests", "type": "Package"}]}], "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.0043267098953947425, "outcome": "passed"}, "call": {"duration": 0.0005285430233925581, "outcome": "passed"}, "teardown": {"duration": 0.0016795319970697165, "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.0007773049874231219, "outcome": "passed"}, "call": {"duration": 0.00036039401311427355, "outcome": "passed"}, "teardown": {"duration": 0.0006943049374967813, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "lineno": 22, "outcome": "passed", "keywords": ["test_cause_io_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018865102902054787, "outcome": "passed"}, "call": {"duration": 0.0003403659211471677, "outcome": "passed"}, "teardown": {"duration": 0.00021628697868436575, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "lineno": 27, "outcome": "passed", "keywords": ["test_file_not_found", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002052800264209509, "outcome": "passed"}, "call": {"duration": 0.0001997939543798566, "outcome": "passed"}, "teardown": {"duration": 0.0002022900152951479, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "lineno": 32, "outcome": "passed", "keywords": ["test_permission_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0003505710046738386, "outcome": "passed"}, "call": {"duration": 0.0002311120042577386, "outcome": "passed"}, "teardown": {"duration": 0.0006616850150749087, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "lineno": 40, "outcome": "passed", "keywords": ["test_mock_open_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00036152603570371866, "outcome": "passed"}, "call": {"duration": 0.003525982960127294, "outcome": "passed"}, "teardown": {"duration": 0.0007560590747743845, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "lineno": 49, "outcome": "passed", "keywords": ["test_file_handle_closed_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019258097745478153, "outcome": "passed"}, "call": {"duration": 0.0001897680340334773, "outcome": "passed"}, "teardown": {"duration": 0.000197026995010674, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_os_error", "lineno": 56, "outcome": "passed", "keywords": ["test_os_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0004044340457767248, "outcome": "passed"}, "call": {"duration": 0.0002157819690182805, "outcome": "passed"}, "teardown": {"duration": 0.0006307240109890699, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "lineno": 64, "outcome": "failed", "keywords": ["test_write_file_readonly", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0007673959480598569, "outcome": "passed"}, "call": {"duration": 0.0010945230023935437, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 72, "message": "Failed: DID NOT RAISE "}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 72, "message": "Failed"}], "longrepr": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_write_file_readonly0')\n\n def test_write_file_readonly(tmp_path):\n # Writing to read-only file raises PermissionError\n file = tmp_path / \"readonly.txt\"\n file.write_text(\"data\")\n os.chmod(file, 0o444)\n with pytest.raises(PermissionError):\n with open(file, \"w\") as f:\n> f.write(\"new content\")\nE Failed: DID NOT RAISE \n\ntests/test_io_utils.py:72: Failed"}, "teardown": {"duration": 0.0007293210364878178, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "lineno": 73, "outcome": "passed", "keywords": ["test_file_not_found_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018586707301437855, "outcome": "passed"}, "call": {"duration": 0.0002190659288316965, "outcome": "passed"}, "teardown": {"duration": 0.00020917796064168215, "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.0001833890564739704, "outcome": "passed"}, "call": {"duration": 0.00017388700507581234, "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.00024230405688285828, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "lineno": 17, "outcome": "passed", "keywords": ["test_call_missing_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018492992967367172, "outcome": "passed"}, "call": {"duration": 0.00018758291844278574, "outcome": "passed"}, "teardown": {"duration": 0.00020886899437755346, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001719389110803604, "outcome": "passed"}, "call": {"duration": 0.0001532980240881443, "outcome": "passed"}, "teardown": {"duration": 0.00018823309801518917, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 26, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018400698900222778, "outcome": "passed"}, "call": {"duration": 0.00045424699783325195, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 29, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 29, "message": "AssertionError"}], "longrepr": "def test_addition_fail():\n # Assertion failure: expected incorrect result\n> assert addition(2, 2) == 5\nE assert 4 == 5\nE + where 4 = addition(2, 2)\n\ntests/test_math_utils.py:29: AssertionError"}, "teardown": {"duration": 0.00023972196504473686, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 30, "outcome": "passed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017933000344783068, "outcome": "passed"}, "call": {"duration": 0.00018181209452450275, "outcome": "passed"}, "teardown": {"duration": 0.00019393698312342167, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 35, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002108309417963028, "outcome": "passed"}, "call": {"duration": 0.0002865979913622141, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 39, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure\")\n def test_multiply_xfail():\n # Expected fail test (xfail): incorrect expected multiply result\n> assert multiply(2, 2) == 5\nE assert 4 == 5\nE + where 4 = multiply(2, 2)\n\ntests/test_math_utils.py:39: AssertionError"}, "teardown": {"duration": 0.00027139903977513313, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 40, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017991499044001102, "outcome": "passed"}, "call": {"duration": 0.0001758619910106063, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 43, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 43, "message": "RuntimeError"}], "longrepr": "def test_runtime_error():\n # Test raises an uncaught RuntimeError\n> raise RuntimeError(\"Forced runtime error\")\nE RuntimeError: Forced runtime error\n\ntests/test_math_utils.py:43: RuntimeError"}, "teardown": {"duration": 0.00023746199440211058, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 44, "outcome": "passed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018494296818971634, "outcome": "passed"}, "call": {"duration": 0.00018597091548144817, "outcome": "passed"}, "teardown": {"duration": 0.00020637898705899715, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 49, "outcome": "passed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018519896548241377, "outcome": "passed"}, "call": {"duration": 0.0001792730763554573, "outcome": "passed"}, "teardown": {"duration": 0.000193851999938488, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 54, "outcome": "passed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001679370179772377, "outcome": "passed"}, "call": {"duration": 0.0014318060129880905, "outcome": "passed"}, "teardown": {"duration": 0.00023526407312601805, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 61, "outcome": "passed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019647309090942144, "outcome": "passed"}, "call": {"duration": 0.00019070296548306942, "outcome": "passed"}, "teardown": {"duration": 0.00022353394888341427, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 66, "outcome": "passed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001842339988797903, "outcome": "passed"}, "call": {"duration": 0.00018873705994337797, "outcome": "passed"}, "teardown": {"duration": 0.00020722299814224243, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 71, "outcome": "passed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001822189660742879, "outcome": "passed"}, "call": {"duration": 0.00019560393411666155, "outcome": "passed"}, "teardown": {"duration": 0.00019736005924642086, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 76, "outcome": "passed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017713999841362238, "outcome": "passed"}, "call": {"duration": 0.00017243705224245787, "outcome": "passed"}, "teardown": {"duration": 0.00020841998048126698, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 81, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017958797980099916, "outcome": "passed"}, "call": {"duration": 0.00018355005886405706, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 84, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 84, "message": "Exception"}], "longrepr": "def test_unhandled_exception():\n # Raises generic unhandled Exception\n> raise Exception(\"Generic unhandled exception\")\nE Exception: Generic unhandled exception\n\ntests/test_math_utils.py:84: Exception"}, "teardown": {"duration": 0.0002444849815219641, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 85, "outcome": "passed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017945608124136925, "outcome": "passed"}, "call": {"duration": 0.00018936709966510534, "outcome": "passed"}, "teardown": {"duration": 0.00019387505017220974, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 90, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018506997730582952, "outcome": "passed"}, "call": {"duration": 0.00017134204972535372, "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:93: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f6293f79430>\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.00044733902905136347, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 94, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00025568995624780655, "outcome": "passed"}, "call": {"duration": 0.0001990640303120017, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 97, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 97, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:97: GeneratorExit"}, "teardown": {"duration": 0.0002814879408106208, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_keyboard_interrupt_direct", "lineno": 98, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001884259982034564, "outcome": "passed"}}], "warnings": [{"message": "invalid escape sequence \\u", "category": "DeprecationWarning", "when": "collect", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 28}]} \ No newline at end of file +{"created": 1752493092.7024918, "duration": 0.5170154571533203, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 21, "failed": 7, "xfailed": 1, "total": 29, "collected": 44}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n: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": 27}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 32}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 64}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 73}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_math_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 102}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 117}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 144}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_string_utils.py::test_unicode_encode_error", "type": "Function", "lineno": 24}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 29}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 34}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 39}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 46}]}, {"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": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Dir"}, {"nodeid": "tests", "type": "Package"}]}], "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.0036806020652875304, "outcome": "passed"}, "call": {"duration": 0.0005977649707347155, "outcome": "passed"}, "teardown": {"duration": 0.0014920169487595558, "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.0007249109912663698, "outcome": "passed"}, "call": {"duration": 0.0003299410454928875, "outcome": "passed"}, "teardown": {"duration": 0.0006609800038859248, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "lineno": 22, "outcome": "passed", "keywords": ["test_cause_io_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018553889822214842, "outcome": "passed"}, "call": {"duration": 0.00035362900234758854, "outcome": "passed"}, "teardown": {"duration": 0.00021249603014439344, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "lineno": 27, "outcome": "passed", "keywords": ["test_file_not_found", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017795804888010025, "outcome": "passed"}, "call": {"duration": 0.0001957990461960435, "outcome": "passed"}, "teardown": {"duration": 0.00020550796762108803, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "lineno": 32, "outcome": "passed", "keywords": ["test_permission_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0003604989033192396, "outcome": "passed"}, "call": {"duration": 0.00027111696545034647, "outcome": "passed"}, "teardown": {"duration": 0.0006797489477321506, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "lineno": 40, "outcome": "passed", "keywords": ["test_mock_open_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00035927502904087305, "outcome": "passed"}, "call": {"duration": 0.003381539019756019, "outcome": "passed"}, "teardown": {"duration": 0.0006750429747626185, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "lineno": 49, "outcome": "passed", "keywords": ["test_file_handle_closed_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001827160594984889, "outcome": "passed"}, "call": {"duration": 0.0001997780054807663, "outcome": "passed"}, "teardown": {"duration": 0.00021635100711137056, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_os_error", "lineno": 56, "outcome": "passed", "keywords": ["test_os_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00036947301123291254, "outcome": "passed"}, "call": {"duration": 0.00020978401880711317, "outcome": "passed"}, "teardown": {"duration": 0.0006664759712293744, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "lineno": 64, "outcome": "failed", "keywords": ["test_write_file_readonly", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0007111530285328627, "outcome": "passed"}, "call": {"duration": 0.0009965709177777171, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 72, "message": "Failed: DID NOT RAISE "}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 72, "message": "Failed"}], "longrepr": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_write_file_readonly0')\n\n def test_write_file_readonly(tmp_path):\n # Writing to read-only file raises PermissionError\n file = tmp_path / \"readonly.txt\"\n file.write_text(\"data\")\n os.chmod(file, 0o444)\n with pytest.raises(PermissionError):\n with open(file, \"w\") as f:\n> f.write(\"new content\")\nE Failed: DID NOT RAISE \n\ntests/test_io_utils.py:72: Failed"}, "teardown": {"duration": 0.0006777470698580146, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "lineno": 73, "outcome": "passed", "keywords": ["test_file_not_found_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018206692766398191, "outcome": "passed"}, "call": {"duration": 0.00020008394494652748, "outcome": "passed"}, "teardown": {"duration": 0.0002171719679608941, "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.0001782820327207446, "outcome": "passed"}, "call": {"duration": 0.00017804407980293036, "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.00023554498329758644, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "lineno": 17, "outcome": "passed", "keywords": ["test_call_missing_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018347695004194975, "outcome": "passed"}, "call": {"duration": 0.0001818620366975665, "outcome": "passed"}, "teardown": {"duration": 0.00020259700249880552, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001901820069178939, "outcome": "passed"}, "call": {"duration": 0.00015343294944614172, "outcome": "passed"}, "teardown": {"duration": 0.00018581596668809652, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 26, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018432794604450464, "outcome": "passed"}, "call": {"duration": 0.0004173360066488385, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 29, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 29, "message": "AssertionError"}], "longrepr": "def test_addition_fail():\n # Assertion failure: expected incorrect result\n> assert addition(2, 2) == 5\nE assert 4 == 5\nE + where 4 = addition(2, 2)\n\ntests/test_math_utils.py:29: AssertionError"}, "teardown": {"duration": 0.00023476302158087492, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 30, "outcome": "passed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018794508650898933, "outcome": "passed"}, "call": {"duration": 0.0001834880094975233, "outcome": "passed"}, "teardown": {"duration": 0.0001980750821530819, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 35, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020332401618361473, "outcome": "passed"}, "call": {"duration": 0.00026754289865493774, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 39, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure\")\n def test_multiply_xfail():\n # Expected fail test (xfail): incorrect expected multiply result\n> assert multiply(2, 2) == 5\nE assert 4 == 5\nE + where 4 = multiply(2, 2)\n\ntests/test_math_utils.py:39: AssertionError"}, "teardown": {"duration": 0.00025110901333391666, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 40, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018421898130327463, "outcome": "passed"}, "call": {"duration": 0.00017917202785611153, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 43, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 43, "message": "RuntimeError"}], "longrepr": "def test_runtime_error():\n # Test raises an uncaught RuntimeError\n> raise RuntimeError(\"Forced runtime error\")\nE RuntimeError: Forced runtime error\n\ntests/test_math_utils.py:43: RuntimeError"}, "teardown": {"duration": 0.0002352759474888444, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 44, "outcome": "passed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018165993969887495, "outcome": "passed"}, "call": {"duration": 0.00017625698819756508, "outcome": "passed"}, "teardown": {"duration": 0.0002011879114434123, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 49, "outcome": "passed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018233596347272396, "outcome": "passed"}, "call": {"duration": 0.00018031499348580837, "outcome": "passed"}, "teardown": {"duration": 0.00019269704353064299, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 54, "outcome": "passed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018527999054640532, "outcome": "passed"}, "call": {"duration": 0.0012450930662453175, "outcome": "passed"}, "teardown": {"duration": 0.00021843798458576202, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 61, "outcome": "passed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019745691679418087, "outcome": "passed"}, "call": {"duration": 0.00018318695947527885, "outcome": "passed"}, "teardown": {"duration": 0.00019343697931617498, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 66, "outcome": "passed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00016973901074379683, "outcome": "passed"}, "call": {"duration": 0.00017350097186863422, "outcome": "passed"}, "teardown": {"duration": 0.00020064995624125004, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 71, "outcome": "passed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001918819034472108, "outcome": "passed"}, "call": {"duration": 0.00017789797857403755, "outcome": "passed"}, "teardown": {"duration": 0.00019262102432549, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 76, "outcome": "passed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017145497258752584, "outcome": "passed"}, "call": {"duration": 0.00016871304251253605, "outcome": "passed"}, "teardown": {"duration": 0.00019856297876685858, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 81, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020418502390384674, "outcome": "passed"}, "call": {"duration": 0.0001721610315144062, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 84, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 84, "message": "Exception"}], "longrepr": "def test_unhandled_exception():\n # Raises generic unhandled Exception\n> raise Exception(\"Generic unhandled exception\")\nE Exception: Generic unhandled exception\n\ntests/test_math_utils.py:84: Exception"}, "teardown": {"duration": 0.00023775093723088503, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 85, "outcome": "passed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018170801922678947, "outcome": "passed"}, "call": {"duration": 0.0001984359696507454, "outcome": "passed"}, "teardown": {"duration": 0.0002007760340347886, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 90, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017708900850266218, "outcome": "passed"}, "call": {"duration": 0.00016954203601926565, "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:93: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f5a0b2ce430>\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.00036008504685014486, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 94, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024051195941865444, "outcome": "passed"}, "call": {"duration": 0.00021165597718209028, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 97, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 97, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:97: GeneratorExit"}, "teardown": {"duration": 0.0002644580090418458, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_keyboard_interrupt_direct", "lineno": 98, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019612209871411324, "outcome": "passed"}}], "warnings": [{"message": "invalid escape sequence \\u", "category": "DeprecationWarning", "when": "collect", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 28}]} \ No newline at end of file