diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 73720677f..933aae371 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -48,7 +48,7 @@ ERROR tests/test_collector_error.py !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! /workspace/tligui_y/slic/tests/test_string_utils.py:43: KeyboardInterrupt (to show a full traceback on KeyboardInterrupt use --full-trace) -========= 32 failed, 8 passed, 2 xfailed, 1 warning, 2 errors in 0.72s ========= +======== 32 failed, 10 passed, 2 xfailed, 1 warning, 2 errors in 0.78s ========= ``` @@ -59,11 +59,11 @@ ERROR tests/test_collector_error.py ============================= test session starts ============================== platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 rootdir: /workspace/tligui_y/slic -plugins: cov-5.0.0, allure-pytest-2.13.5, html-4.1.1, metadata-3.1.1, json-report-1.5.0, md-report-0.6.2 -collected 43 items / 2 errors +plugins: allure-pytest-2.13.5, cov-5.0.0, metadata-3.1.1, html-4.1.1, json-report-1.5.0, md-report-0.6.2 +collected 45 items / 2 errors tests/test_io_utils.py ..FFFFFF.F -tests/test_math_utils.py FF.FFxFFFFFFFFFFFFFFFFFF +tests/test_math_utils.py FF...FFxFFFFFFFFFFFFFFFFFF tests/test_string_utils.py .F..FF.x ==================================== ERRORS ==================================== @@ -134,7 +134,7 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.fil functions/io_utils.py:2: FileNotFoundError ____________________________ test_permission_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc299458f10> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c74e9940> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -158,7 +158,7 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError _____________________________ test_mock_open_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc299bbd340> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c77aec10> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -175,7 +175,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ return self._execute_mock_call(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError') def _execute_mock_call(self, /, *args, **kwargs): @@ -201,7 +201,7 @@ E ValueError: I/O operation on closed file tests/test_io_utils.py:50: ValueError ________________________________ test_os_error _________________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc2994fea30> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c75d4280> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -252,14 +252,14 @@ ______________________________ test_addition_fail ______________________________ E assert 4 == 5 E + where 4 = addition(2, 2) -tests/test_math_utils.py:28: AssertionError +tests/test_math_utils.py:35: AssertionError ______________________________ test_division_zero ______________________________ def test_division_zero(): # Will raise ZeroDivisionError if not handled in division > division(1, 0) -tests/test_math_utils.py:32: +tests/test_math_utils.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = 1, b = 0 @@ -276,7 +276,7 @@ ______________________________ test_runtime_error ______________________________ > raise RuntimeError("Forced runtime error") E RuntimeError: Forced runtime error -tests/test_math_utils.py:41: RuntimeError +tests/test_math_utils.py:48: RuntimeError ______________________________ test_memory_error _______________________________ def test_memory_error(): @@ -284,7 +284,7 @@ ______________________________ test_memory_error _______________________________ > raise MemoryError("Simulated memory error") E MemoryError: Simulated memory error -tests/test_math_utils.py:45: MemoryError +tests/test_math_utils.py:52: MemoryError ______________________________ test_timeout_error ______________________________ def test_timeout_error(): @@ -292,7 +292,7 @@ ______________________________ test_timeout_error ______________________________ > raise TimeoutError("Simulated timeout error") E TimeoutError: Simulated timeout error -tests/test_math_utils.py:49: TimeoutError +tests/test_math_utils.py:56: TimeoutError _____________________________ test_recursion_error _____________________________ def test_recursion_error(): @@ -301,11 +301,11 @@ _____________________________ test_recursion_error _____________________________ return recursive() > recursive() -tests/test_math_utils.py:55: +tests/test_math_utils.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -tests/test_math_utils.py:54: in recursive +tests/test_math_utils.py:61: in recursive return recursive() -tests/test_math_utils.py:54: in recursive +tests/test_math_utils.py:61: in recursive return recursive() E RecursionError: maximum recursion depth exceeded !!! Recursion detected (same locals & position) @@ -316,7 +316,7 @@ __________________________ test_floating_point_error ___________________________ > raise FloatingPointError("Simulated floating point error") E FloatingPointError: Simulated floating point error -tests/test_math_utils.py:59: FloatingPointError +tests/test_math_utils.py:66: FloatingPointError _________________________ test_floating_point_overflow _________________________ def test_floating_point_overflow(): @@ -324,7 +324,7 @@ _________________________ test_floating_point_overflow _________________________ > math.exp(1000) E OverflowError: math range error -tests/test_math_utils.py:63: OverflowError +tests/test_math_utils.py:70: OverflowError _______________________________ test_value_error _______________________________ def test_value_error(): @@ -332,7 +332,7 @@ _______________________________ test_value_error _______________________________ > int("invalid") E ValueError: invalid literal for int() with base 10: 'invalid' -tests/test_math_utils.py:67: ValueError +tests/test_math_utils.py:74: ValueError _______________________________ test_type_error ________________________________ def test_type_error(): @@ -340,7 +340,7 @@ _______________________________ test_type_error ________________________________ > sum(5) E TypeError: 'int' object is not iterable -tests/test_math_utils.py:71: TypeError +tests/test_math_utils.py:78: TypeError ___________________________ test_unhandled_exception ___________________________ def test_unhandled_exception(): @@ -348,7 +348,7 @@ ___________________________ test_unhandled_exception ___________________________ > raise Exception("Generic unhandled exception") E Exception: Generic unhandled exception -tests/test_math_utils.py:75: Exception +tests/test_math_utils.py:82: Exception ______________________________ test_custom_error _______________________________ def test_custom_error(): @@ -356,7 +356,7 @@ ______________________________ test_custom_error _______________________________ > raise CustomError("Custom error simulation") E test_math_utils.CustomError: Custom error simulation -tests/test_math_utils.py:79: CustomError +tests/test_math_utils.py:86: CustomError __________________________ test_stop_iteration_direct __________________________ def test_stop_iteration_direct(): @@ -364,12 +364,12 @@ __________________________ test_stop_iteration_direct __________________________ > raise StopIteration() E StopIteration -tests/test_math_utils.py:83: StopIteration +tests/test_math_utils.py:90: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7fc29968ea60> +func = . at 0x7f43c77a1c10> when = 'call' reraise = (, ) @@ -436,7 +436,7 @@ __________________________ test_generator_exit_direct __________________________ > raise GeneratorExit() E GeneratorExit -tests/test_math_utils.py:87: GeneratorExit +tests/test_math_utils.py:94: GeneratorExit _____________________________ test_recursion_limit _____________________________ def test_recursion_limit(): @@ -445,7 +445,7 @@ _____________________________ test_recursion_limit _____________________________ > sys.setrecursionlimit(50) E RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low -tests/test_math_utils.py:92: RecursionError +tests/test_math_utils.py:99: RecursionError _____________________________ test_malformed_code ______________________________ def test_malformed_code(): @@ -456,7 +456,7 @@ E def bad(: E ^ E SyntaxError: invalid syntax -tests/test_math_utils.py:102: SyntaxError +tests/test_math_utils.py:109: SyntaxError ________________________________ test_sys_exit _________________________________ def test_sys_exit(): @@ -464,7 +464,7 @@ ________________________________ test_sys_exit _________________________________ > sys.exit(1) E SystemExit: 1 -tests/test_math_utils.py:106: SystemExit +tests/test_math_utils.py:113: SystemExit _____________________________ test_broken_function _____________________________ def test_broken_function(): @@ -473,7 +473,7 @@ _____________________________ test_broken_function _____________________________ raise TypeError("Broken function") > broken_func() -tests/test_math_utils.py:112: +tests/test_math_utils.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (), kwargs = {} @@ -482,7 +482,7 @@ args = (), kwargs = {} > raise TypeError("Broken function") E TypeError: Broken function -tests/test_math_utils.py:111: TypeError +tests/test_math_utils.py:118: TypeError ___________________________ test_import_error_patch ____________________________ def test_import_error_patch(): @@ -497,7 +497,7 @@ ___________________________ test_import_error_patch ____________________________ try: > __import__("fake_module") -tests/test_math_utils.py:124: +tests/test_math_utils.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'fake_module', args = (), kwargs = {} @@ -507,14 +507,14 @@ name = 'fake_module', args = (), kwargs = {} > raise ImportError("Simulated ImportError") E ImportError: Simulated ImportError -tests/test_math_utils.py:119: ImportError +tests/test_math_utils.py:126: ImportError _________________________ test_module_not_found_error __________________________ def test_module_not_found_error(): # Raises ModuleNotFoundError (subclass of ImportError) for missing module > importlib.import_module("non_existent_module_xyz") -tests/test_math_utils.py:130: +tests/test_math_utils.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) @@ -525,7 +525,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -619,27 +619,27 @@ 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, 8 passed, 2 xfailed, 1 warning, 2 errors in 0.72s ========= +======== 32 failed, 10 passed, 2 xfailed, 1 warning, 2 errors in 0.78s ========= ``` --- # ๐Ÿงช Test Report -*Generated on 2025-07-15 09:56:26* +*Generated on 2025-07-15 11:11:01* ## ๐Ÿ“‹ Summary -- **Passed**: `9` +- **Passed**: `11` - **Failed**: `32` - **Xfailed**: `2` -- **Total**: `43` -- **Collected**: `43` -- **Total Duration**: `0.722`s +- **Total**: `45` +- **Collected**: `45` +- **Total Duration**: `0.780`s ## ๐Ÿ”Ž Tests
-โœ… Passed (9) +โœ… Passed (11)
@@ -654,7 +654,7 @@ ERROR tests/test_collector_error.py โœ… #1 - **Status:** โœ… `passed` -- **Duration:** `0.000478` s +- **Duration:** `0.000544` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -664,7 +664,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0037629989674314857` +`0.004506391007453203` ```
@@ -689,7 +689,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0004779800074175` +`0.0005441459361463785` ```
@@ -714,7 +714,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0014996760291978717` +`0.0017403290839865804` ``` @@ -748,7 +748,7 @@ ERROR tests/test_collector_error.py โœ… #2 - **Status:** โœ… `passed` -- **Duration:** `0.000335` s +- **Duration:** `0.000368` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -758,7 +758,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0006581129273399711` +`0.0007578879594802856` ``` @@ -783,7 +783,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00033526308834552765` +`0.00036801095120608807` ``` @@ -808,7 +808,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0015804000431671739` +`0.0007254750235006213` ``` @@ -842,7 +842,7 @@ ERROR tests/test_collector_error.py โœ… #9 - **Status:** โœ… `passed` -- **Duration:** `0.000899` s +- **Duration:** `0.001218` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -852,7 +852,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0007511059520766139` +`0.0008416379569098353` ``` @@ -877,7 +877,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0008986209286376834` +`0.0012182740028947592` ``` @@ -902,7 +902,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0006337929517030716` +`0.0007255329983308911` ``` @@ -944,7 +944,12 @@ ERROR tests/test_collector_error.py โœ… #13 - **Status:** โœ… `passed` -- **Duration:** `0.000167` s +- **Duration:** `0.000224` s +- **Parameters (Allure):** + - `a` = `2` + - `b` = `2` + - `expected` = `4` + - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -954,7 +959,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00018974998965859413` +`0.0016042559873312712` ``` @@ -979,7 +984,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00016710103955119848` +`0.00022420205641537905` ``` @@ -1004,7 +1009,189 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00019946997053921223` +`0.0009944828925654292` +``` + + +
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + + + + +
+
+โœ… #14 + +- **Status:** โœ… `passed` +- **Duration:** `0.000194` s +- **Parameters (Allure):** + - `a` = `2` + - `b` = `2` + - `expected` = `4` + +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.0005949789192527533` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00019372603856027126` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.0009457810083404183` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +
+
+ +
+
+โœ… #15 + +- **Status:** โœ… `passed` +- **Duration:** `0.000191` s +- **Parameters (Allure):** + - `a` = `2` + - `b` = `2` + - `expected` = `4` + +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.0005542120197787881` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00019125291146337986` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.000869528972543776` ```
@@ -1043,10 +1230,10 @@ ERROR tests/test_collector_error.py
-โœ… #35 +โœ… #37 - **Status:** โœ… `passed` -- **Duration:** `0.000169` s +- **Duration:** `0.000219` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1056,7 +1243,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00019204302225261927` +`0.000240510911680758` ```
@@ -1081,7 +1268,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001693719532340765` +`0.0002189819933846593` ```
@@ -1106,7 +1293,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00019725703168660402` +`0.00020951498299837112` ``` @@ -1137,10 +1324,10 @@ ERROR tests/test_collector_error.py
-โœ… #37 +โœ… #39 - **Status:** โœ… `passed` -- **Duration:** `0.000166` s +- **Duration:** `0.000170` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1150,7 +1337,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00018292805179953575` +`0.00019066594541072845` ```
@@ -1175,7 +1362,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001660629641264677` +`0.00017019198276102543` ``` @@ -1200,7 +1387,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00019309495110064745` +`0.00020808703266084194` ``` @@ -1231,10 +1418,10 @@ ERROR tests/test_collector_error.py
-โœ… #38 +โœ… #40 - **Status:** โœ… `passed` -- **Duration:** `0.000174` s +- **Duration:** `0.000184` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1244,7 +1431,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00017245393246412277` +`0.00017246196512132883` ```
@@ -1269,7 +1456,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00017427699640393257` +`0.0001842110650613904` ``` @@ -1294,7 +1481,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00020399701315909624` +`0.0001949489815160632` ``` @@ -1325,10 +1512,10 @@ ERROR tests/test_collector_error.py
-โœ… #41 +โœ… #43 - **Status:** โœ… `passed` -- **Duration:** `0.000176` s +- **Duration:** `0.000167` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1338,7 +1525,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00018159300088882446` +`0.000186647055670619` ```
@@ -1363,7 +1550,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001756770070642233` +`0.0001671529607847333` ``` @@ -1388,7 +1575,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00019328901544213295` +`0.0002057109959423542` ``` @@ -1419,7 +1606,7 @@ ERROR tests/test_collector_error.py
-โœ… #43 +โœ… #45 - **Status:** โœ… `passed` - **Duration:** `None` @@ -1432,7 +1619,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00018480210565030575` +`0.00018300896044820547` ```
@@ -1482,7 +1669,7 @@ ERROR tests/test_collector_error.py โŒ #3 - **Status:** โŒ `failed` -- **Duration:** `0.000185` s +- **Duration:** `0.000210` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1492,7 +1679,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00019590696319937706` +`0.00019392999820411205` ``` @@ -1517,7 +1704,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001849479740485549` +`0.00021005398593842983` ``` @@ -1586,7 +1773,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.0002500959672033787` +`0.00031253090128302574` ``` @@ -1620,7 +1807,7 @@ functions/io_utils.py:10: OSError` โŒ #4 - **Status:** โŒ `failed` -- **Duration:** `0.000204` s +- **Duration:** `0.000237` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1630,7 +1817,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.00018036097753793` +`0.00023122900165617466` ``` @@ -1655,7 +1842,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.00020445394329726696` +`0.00023698399309068918` ``` @@ -1726,7 +1913,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00023383600637316704` +`0.0002910649636760354` ``` @@ -1760,7 +1947,7 @@ functions/io_utils.py:2: FileNotFoundError` โŒ #5 - **Status:** โŒ `failed` -- **Duration:** `0.000220` s +- **Duration:** `0.000260` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1770,7 +1957,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00035416800528764725` +`0.00048126408364623785` ``` @@ -1795,7 +1982,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.0002201900351792574` +`0.0002600300358608365` ``` @@ -1839,7 +2026,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc299458f10> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c74e9940> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -1874,7 +2061,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.0006618089973926544` +`0.0009406610624864697` ``` @@ -1908,7 +2095,7 @@ tests/test_io_utils.py:34: PermissionError` โŒ #6 - **Status:** โŒ `failed` -- **Duration:** `0.003273` s +- **Duration:** `0.003549` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1918,7 +2105,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.0003483230248093605` +`0.0004419619217514992` ``` @@ -1943,7 +2130,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.003272575093433261` +`0.003549445071257651` ``` @@ -1987,7 +2174,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc299bbd340> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c77aec10> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -2004,7 +2191,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): @@ -2031,7 +2218,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.0011758340988308191` +`0.0012472099624574184` ``` @@ -2065,7 +2252,7 @@ E OSError: Mocked IOError โŒ #7 - **Status:** โŒ `failed` -- **Duration:** `0.000206` s +- **Duration:** `0.000220` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2075,7 +2262,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.0002455250360071659` +`0.00025869300588965416` ``` @@ -2100,7 +2287,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.00020633405074477196` +`0.0002198460279032588` ``` @@ -2165,7 +2352,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.0002566359471529722` +`0.0002962290309369564` ``` @@ -2199,7 +2386,7 @@ tests/test_io_utils.py:50: ValueError` โŒ #8 - **Status:** โŒ `failed` -- **Duration:** `0.000223` s +- **Duration:** `0.000242` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2209,7 +2396,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00041592703200876713` +`0.00047241803258657455` ``` @@ -2234,7 +2421,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00022289901971817017` +`0.0002423529513180256` ``` @@ -2278,7 +2465,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fc2994fea30> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c75d4280> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -2310,7 +2497,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.0007254349766299129` +`0.0008173950482159853` ``` @@ -2344,7 +2531,7 @@ tests/test_io_utils.py:55: OSError` โŒ #10 - **Status:** โŒ `failed` -- **Duration:** `0.000205` s +- **Duration:** `0.000216` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2354,7 +2541,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.0001774940174072981` +`0.00019915506709367037` ``` @@ -2379,7 +2566,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00020464498084038496` +`0.00021600292529910803` ``` @@ -2442,7 +2629,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.0002345970133319497` +`0.00025011005345731974` ``` @@ -2484,7 +2671,7 @@ tests/test_io_utils.py:69: FileNotFoundError` โŒ #11 - **Status:** โŒ `failed` -- **Duration:** `0.000178` s +- **Duration:** `0.000183` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2494,7 +2681,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00018494902178645134` +`0.00019270996563136578` ``` @@ -2519,7 +2706,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00017810892313718796` +`0.0001827090745791793` ``` @@ -2582,7 +2769,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.0002371820155531168` +`0.0002627200447022915` ``` @@ -2616,7 +2803,7 @@ tests/test_math_utils.py:16: NameError` โŒ #12 - **Status:** โŒ `failed` -- **Duration:** `0.000191` s +- **Duration:** `0.000184` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2626,7 +2813,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00018016702961176634` +`0.00020303402561694384` ``` @@ -2651,7 +2838,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00019100902136415243` +`0.00018441700376570225` ``` @@ -2714,7 +2901,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00024932099040597677` +`0.0002553409431129694` ``` @@ -2745,10 +2932,10 @@ tests/test_math_utils.py:20: AttributeError`
-โŒ #14 +โŒ #16 - **Status:** โŒ `failed` -- **Duration:** `0.000478` s +- **Duration:** `0.000568` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2758,7 +2945,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.0001834559952840209` +`0.00019694899674504995` ```
@@ -2783,7 +2970,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00047823996283113956` +`0.0005684029310941696` ``` @@ -2805,7 +2992,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `28``, `message: `assert 4 == 5 +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `35``, `message: `assert 4 == 5 + where 4 = addition(2, 2)`` ``` @@ -2817,7 +3004,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `28``, `message: `AssertionError`` +`path: `tests/test_math_utils.py``, `lineno: `35``, `message: `AssertionError`` ``` @@ -2834,7 +3021,7 @@ tests/test_math_utils.py:20: AttributeError` E assert 4 == 5 E + where 4 = addition(2, 2) -tests/test_math_utils.py:28: AssertionError` +tests/test_math_utils.py:35: AssertionError` ``` @@ -2848,7 +3035,7 @@ tests/test_math_utils.py:28: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00024403200950473547` +`0.0002523289294913411` ``` @@ -2879,10 +3066,10 @@ tests/test_math_utils.py:28: AssertionError`
-โŒ #15 +โŒ #17 - **Status:** โŒ `failed` -- **Duration:** `0.000178` s +- **Duration:** `0.000188` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -2892,7 +3079,7 @@ tests/test_math_utils.py:28: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00017660600133240223` +`0.00019968603737652302` ```
@@ -2917,7 +3104,7 @@ tests/test_math_utils.py:28: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00017802603542804718` +`0.00018753891345113516` ``` @@ -2950,7 +3137,7 @@ tests/test_math_utils.py:28: AssertionError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `32``, `message: `None``, `path: `functions/math_utils.py``, `lineno: `5``, `message: `ZeroDivisionError`` +`path: `tests/test_math_utils.py``, `lineno: `39``, `message: `None``, `path: `functions/math_utils.py``, `lineno: `5``, `message: `ZeroDivisionError`` ``` @@ -2965,7 +3152,7 @@ tests/test_math_utils.py:28: AssertionError` # Will raise ZeroDivisionError if not handled in division > division(1, 0) -tests/test_math_utils.py:32: +tests/test_math_utils.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = 1, b = 0 @@ -2988,7 +3175,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00023253506515175104` +`0.00023975293152034283` ``` @@ -3019,10 +3206,10 @@ functions/math_utils.py:5: ZeroDivisionError`
-โŒ #17 +โŒ #19 - **Status:** โŒ `failed` -- **Duration:** `0.000173` s +- **Duration:** `0.000185` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -3032,7 +3219,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00020174204837530851` +`0.0001838579773902893` ```
@@ -3057,7 +3244,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00017251702956855297` +`0.00018510990776121616` ``` @@ -3079,7 +3266,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `41``, `message: `RuntimeError: Forced runtime error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `48``, `message: `RuntimeError: Forced runtime error`` ``` @@ -3090,7 +3277,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `41``, `message: `RuntimeError`` +`path: `tests/test_math_utils.py``, `lineno: `48``, `message: `RuntimeError`` ``` @@ -3106,7 +3293,7 @@ functions/math_utils.py:5: ZeroDivisionError` > raise RuntimeError("Forced runtime error") E RuntimeError: Forced runtime error -tests/test_math_utils.py:41: RuntimeError` +tests/test_math_utils.py:48: RuntimeError` ``` @@ -3120,7 +3307,7 @@ tests/test_math_utils.py:41: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.00023468094877898693` +`0.0002613560063764453` ``` @@ -3151,10 +3338,10 @@ tests/test_math_utils.py:41: RuntimeError`
-โŒ #18 +โŒ #20 - **Status:** โŒ `failed` -- **Duration:** `0.000170` s +- **Duration:** `0.000186` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -3164,7 +3351,7 @@ tests/test_math_utils.py:41: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.00017887400463223457` +`0.00020573008805513382` ```
@@ -3189,7 +3376,7 @@ tests/test_math_utils.py:41: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.0001703569432720542` +`0.0001858919858932495` ``` @@ -3211,7 +3398,7 @@ tests/test_math_utils.py:41: RuntimeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `45``, `message: `MemoryError: Simulated memory error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `52``, `message: `MemoryError: Simulated memory error`` ``` @@ -3222,7 +3409,7 @@ tests/test_math_utils.py:41: RuntimeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `45``, `message: `MemoryError`` +`path: `tests/test_math_utils.py``, `lineno: `52``, `message: `MemoryError`` ``` @@ -3238,7 +3425,7 @@ tests/test_math_utils.py:41: RuntimeError` > raise MemoryError("Simulated memory error") E MemoryError: Simulated memory error -tests/test_math_utils.py:45: MemoryError` +tests/test_math_utils.py:52: MemoryError` ``` @@ -3252,7 +3439,7 @@ tests/test_math_utils.py:45: MemoryError` ๐Ÿ“Œ Duration ``` -`0.00023398897610604763` +`0.00025425897911190987` ``` @@ -3283,10 +3470,10 @@ tests/test_math_utils.py:45: MemoryError`
-โŒ #19 +โŒ #21 - **Status:** โŒ `failed` -- **Duration:** `0.000171` s +- **Duration:** `0.000182` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -3296,7 +3483,7 @@ tests/test_math_utils.py:45: MemoryError` ๐Ÿ“Œ Duration ``` -`0.0001825310755521059` +`0.00019395200069993734` ```
@@ -3321,7 +3508,7 @@ tests/test_math_utils.py:45: MemoryError` ๐Ÿ“Œ Duration ``` -`0.0001705790637061` +`0.00018239393830299377` ``` @@ -3343,7 +3530,7 @@ tests/test_math_utils.py:45: MemoryError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `49``, `message: `TimeoutError: Simulated timeout error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `56``, `message: `TimeoutError: Simulated timeout error`` ``` @@ -3354,7 +3541,7 @@ tests/test_math_utils.py:45: MemoryError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `49``, `message: `TimeoutError`` +`path: `tests/test_math_utils.py``, `lineno: `56``, `message: `TimeoutError`` ``` @@ -3370,7 +3557,7 @@ tests/test_math_utils.py:45: MemoryError` > raise TimeoutError("Simulated timeout error") E TimeoutError: Simulated timeout error -tests/test_math_utils.py:49: TimeoutError` +tests/test_math_utils.py:56: TimeoutError` ``` @@ -3384,7 +3571,7 @@ tests/test_math_utils.py:49: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.00023068394511938095` +`0.0002632379764690995` ``` @@ -3415,10 +3602,10 @@ tests/test_math_utils.py:49: TimeoutError`
-โŒ #20 +โŒ #22 - **Status:** โŒ `failed` -- **Duration:** `0.000803` s +- **Duration:** `0.001218` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -3428,7 +3615,7 @@ tests/test_math_utils.py:49: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.00018111895769834518` +`0.00020272692199796438` ```
@@ -3453,7 +3640,7 @@ tests/test_math_utils.py:49: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.0008025499992072582` +`0.0012184979859739542` ``` @@ -3475,7 +3662,7 @@ tests/test_math_utils.py:49: TimeoutError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `54``, `message: `RecursionError: maximum recursion depth exceeded`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `61``, `message: `RecursionError: maximum recursion depth exceeded`` ``` @@ -3486,7 +3673,7 @@ tests/test_math_utils.py:49: TimeoutError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `55``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `54``, `message: `in recursive``, `path: `tests/test_math_utils.py``, `lineno: `54``, `message: `in recursive`` +`path: `tests/test_math_utils.py``, `lineno: `62``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `61``, `message: `in recursive``, `path: `tests/test_math_utils.py``, `lineno: `61``, `message: `in recursive`` ``` @@ -3503,11 +3690,11 @@ tests/test_math_utils.py:49: TimeoutError` return recursive() > recursive() -tests/test_math_utils.py:55: +tests/test_math_utils.py:62: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -tests/test_math_utils.py:54: in recursive +tests/test_math_utils.py:61: in recursive return recursive() -tests/test_math_utils.py:54: in recursive +tests/test_math_utils.py:61: in recursive return recursive() E RecursionError: maximum recursion depth exceeded !!! Recursion detected (same locals & position)` @@ -3524,7 +3711,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00025466305669397116` +`0.0003474840195849538` ``` @@ -3555,10 +3742,10 @@ E RecursionError: maximum recursion depth exceeded
-โŒ #21 +โŒ #23 - **Status:** โŒ `failed` -- **Duration:** `0.000174` s +- **Duration:** `0.000201` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -3568,7 +3755,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.0002047830494120717` +`0.00023180106654763222` ```
@@ -3593,7 +3780,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00017436605412513018` +`0.00020147801842540503` ``` @@ -3615,7 +3802,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `59``, `message: `FloatingPointError: Simulated floating point error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `66``, `message: `FloatingPointError: Simulated floating point error`` ``` @@ -3626,7 +3813,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `59``, `message: `FloatingPointError`` +`path: `tests/test_math_utils.py``, `lineno: `66``, `message: `FloatingPointError`` ``` @@ -3642,7 +3829,7 @@ E RecursionError: maximum recursion depth exceeded > raise FloatingPointError("Simulated floating point error") E FloatingPointError: Simulated floating point error -tests/test_math_utils.py:59: FloatingPointError` +tests/test_math_utils.py:66: FloatingPointError` ``` @@ -3656,7 +3843,7 @@ tests/test_math_utils.py:59: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00023532507475465536` +`0.0002597910352051258` ``` @@ -3687,10 +3874,10 @@ tests/test_math_utils.py:59: FloatingPointError`
-โŒ #22 +โŒ #24 - **Status:** โŒ `failed` -- **Duration:** `0.000178` s +- **Duration:** `0.000192` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -3700,7 +3887,7 @@ tests/test_math_utils.py:59: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00019133009482175112` +`0.00019929197151213884` ```
@@ -3725,7 +3912,7 @@ tests/test_math_utils.py:59: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00017823697999119759` +`0.00019157095812261105` ``` @@ -3747,7 +3934,7 @@ tests/test_math_utils.py:59: FloatingPointError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `63``, `message: `OverflowError: math range error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `70``, `message: `OverflowError: math range error`` ``` @@ -3758,7 +3945,7 @@ tests/test_math_utils.py:59: FloatingPointError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `63``, `message: `OverflowError`` +`path: `tests/test_math_utils.py``, `lineno: `70``, `message: `OverflowError`` ``` @@ -3774,7 +3961,7 @@ tests/test_math_utils.py:59: FloatingPointError` > math.exp(1000) E OverflowError: math range error -tests/test_math_utils.py:63: OverflowError` +tests/test_math_utils.py:70: OverflowError` ``` @@ -3788,7 +3975,7 @@ tests/test_math_utils.py:63: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00023626897018402815` +`0.0002573220990598202` ``` @@ -3819,10 +4006,10 @@ tests/test_math_utils.py:63: OverflowError`
-โŒ #23 +โŒ #25 - **Status:** โŒ `failed` -- **Duration:** `0.000177` s +- **Duration:** `0.000193` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -3832,7 +4019,7 @@ tests/test_math_utils.py:63: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00017876899801194668` +`0.00019577203784137964` ```
@@ -3857,7 +4044,7 @@ tests/test_math_utils.py:63: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00017667701467871666` +`0.0001927800476551056` ``` @@ -3879,7 +4066,7 @@ tests/test_math_utils.py:63: OverflowError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `67``, `message: `ValueError: invalid literal for int() with base 10: 'invalid'`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `74``, `message: `ValueError: invalid literal for int() with base 10: 'invalid'`` ``` @@ -3890,7 +4077,7 @@ tests/test_math_utils.py:63: OverflowError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `67``, `message: `ValueError`` +`path: `tests/test_math_utils.py``, `lineno: `74``, `message: `ValueError`` ``` @@ -3906,7 +4093,7 @@ tests/test_math_utils.py:63: OverflowError` > int("invalid") E ValueError: invalid literal for int() with base 10: 'invalid' -tests/test_math_utils.py:67: ValueError` +tests/test_math_utils.py:74: ValueError` ``` @@ -3920,7 +4107,7 @@ tests/test_math_utils.py:67: ValueError` ๐Ÿ“Œ Duration ``` -`0.0002338660415261984` +`0.00025621894747018814` ``` @@ -3951,10 +4138,10 @@ tests/test_math_utils.py:67: ValueError`
-โŒ #24 +โŒ #26 - **Status:** โŒ `failed` -- **Duration:** `0.000174` s +- **Duration:** `0.000184` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -3964,7 +4151,7 @@ tests/test_math_utils.py:67: ValueError` ๐Ÿ“Œ Duration ``` -`0.0001813899725675583` +`0.000191971892490983` ```
@@ -3989,7 +4176,7 @@ tests/test_math_utils.py:67: ValueError` ๐Ÿ“Œ Duration ``` -`0.00017397699411958456` +`0.00018392992205917835` ``` @@ -4011,7 +4198,7 @@ tests/test_math_utils.py:67: ValueError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `71``, `message: `TypeError: 'int' object is not iterable`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `78``, `message: `TypeError: 'int' object is not iterable`` ``` @@ -4022,7 +4209,7 @@ tests/test_math_utils.py:67: ValueError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `71``, `message: `TypeError`` +`path: `tests/test_math_utils.py``, `lineno: `78``, `message: `TypeError`` ``` @@ -4038,7 +4225,7 @@ tests/test_math_utils.py:67: ValueError` > sum(5) E TypeError: 'int' object is not iterable -tests/test_math_utils.py:71: TypeError` +tests/test_math_utils.py:78: TypeError` ``` @@ -4052,7 +4239,7 @@ tests/test_math_utils.py:71: TypeError` ๐Ÿ“Œ Duration ``` -`0.0002311210846528411` +`0.0002466929145157337` ``` @@ -4083,10 +4270,10 @@ tests/test_math_utils.py:71: TypeError`
-โŒ #25 +โŒ #27 - **Status:** โŒ `failed` -- **Duration:** `0.000171` s +- **Duration:** `0.000195` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -4096,7 +4283,7 @@ tests/test_math_utils.py:71: TypeError` ๐Ÿ“Œ Duration ``` -`0.00017905805725604296` +`0.0001924140378832817` ```
@@ -4121,7 +4308,7 @@ tests/test_math_utils.py:71: TypeError` ๐Ÿ“Œ Duration ``` -`0.00017142400611191988` +`0.0001952099846675992` ``` @@ -4143,7 +4330,7 @@ tests/test_math_utils.py:71: TypeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `75``, `message: `Exception: Generic unhandled exception`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `82``, `message: `Exception: Generic unhandled exception`` ``` @@ -4154,7 +4341,7 @@ tests/test_math_utils.py:71: TypeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `75``, `message: `Exception`` +`path: `tests/test_math_utils.py``, `lineno: `82``, `message: `Exception`` ``` @@ -4170,7 +4357,7 @@ tests/test_math_utils.py:71: TypeError` > raise Exception("Generic unhandled exception") E Exception: Generic unhandled exception -tests/test_math_utils.py:75: Exception` +tests/test_math_utils.py:82: Exception` ``` @@ -4184,7 +4371,7 @@ tests/test_math_utils.py:75: Exception` ๐Ÿ“Œ Duration ``` -`0.0002351769944652915` +`0.0002456019865348935` ``` @@ -4215,10 +4402,10 @@ tests/test_math_utils.py:75: Exception`
-โŒ #26 +โŒ #28 - **Status:** โŒ `failed` -- **Duration:** `0.000173` s +- **Duration:** `0.000177` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -4228,7 +4415,7 @@ tests/test_math_utils.py:75: Exception` ๐Ÿ“Œ Duration ``` -`0.00017969298642128706` +`0.0001948499120771885` ```
@@ -4253,7 +4440,7 @@ tests/test_math_utils.py:75: Exception` ๐Ÿ“Œ Duration ``` -`0.00017279991880059242` +`0.00017702404875308275` ``` @@ -4275,7 +4462,7 @@ tests/test_math_utils.py:75: Exception` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `79``, `message: `test_math_utils.CustomError: Custom error simulation`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `86``, `message: `test_math_utils.CustomError: Custom error simulation`` ``` @@ -4286,7 +4473,7 @@ tests/test_math_utils.py:75: Exception` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `79``, `message: `CustomError`` +`path: `tests/test_math_utils.py``, `lineno: `86``, `message: `CustomError`` ``` @@ -4302,7 +4489,7 @@ tests/test_math_utils.py:75: Exception` > raise CustomError("Custom error simulation") E test_math_utils.CustomError: Custom error simulation -tests/test_math_utils.py:79: CustomError` +tests/test_math_utils.py:86: CustomError` ``` @@ -4316,7 +4503,7 @@ tests/test_math_utils.py:79: CustomError` ๐Ÿ“Œ Duration ``` -`0.0002436790382489562` +`0.00025283906143158674` ``` @@ -4347,10 +4534,10 @@ tests/test_math_utils.py:79: CustomError`
-โŒ #27 +โŒ #29 - **Status:** โŒ `failed` -- **Duration:** `0.000176` s +- **Duration:** `0.000179` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -4360,7 +4547,7 @@ tests/test_math_utils.py:79: CustomError` ๐Ÿ“Œ Duration ``` -`0.00017891009338200092` +`0.00018330104649066925` ```
@@ -4385,7 +4572,7 @@ tests/test_math_utils.py:79: CustomError` ๐Ÿ“Œ Duration ``` -`0.00017649296205490828` +`0.0001794359413906932` ``` @@ -4434,12 +4621,12 @@ tests/test_math_utils.py:79: CustomError` > raise StopIteration() E StopIteration -tests/test_math_utils.py:83: StopIteration +tests/test_math_utils.py:90: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7fc29968ea60> +func = . at 0x7f43c77a1c10> when = 'call' reraise = (, ) @@ -4512,7 +4699,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00041258696001023054` +`0.00042499194387346506` ``` @@ -4543,10 +4730,10 @@ E RuntimeError: generator raised StopIteration
-โŒ #28 +โŒ #30 - **Status:** โŒ `failed` -- **Duration:** `0.000202` s +- **Duration:** `0.000210` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -4556,7 +4743,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00028741208370774984` +`0.0002670619869604707` ```
@@ -4581,7 +4768,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.0002024550922214985` +`0.0002095879754051566` ``` @@ -4603,7 +4790,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `87``, `message: `GeneratorExit`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `94``, `message: `GeneratorExit`` ``` @@ -4614,7 +4801,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `87``, `message: `GeneratorExit`` +`path: `tests/test_math_utils.py``, `lineno: `94``, `message: `GeneratorExit`` ``` @@ -4630,7 +4817,7 @@ E RuntimeError: generator raised StopIteration > raise GeneratorExit() E GeneratorExit -tests/test_math_utils.py:87: GeneratorExit` +tests/test_math_utils.py:94: GeneratorExit` ``` @@ -4644,7 +4831,7 @@ tests/test_math_utils.py:87: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.000275233993306756` +`0.00030425796285271645` ``` @@ -4675,10 +4862,10 @@ tests/test_math_utils.py:87: GeneratorExit`
-โŒ #29 +โŒ #31 - **Status:** โŒ `failed` -- **Duration:** `0.000182` s +- **Duration:** `0.000191` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -4688,7 +4875,7 @@ tests/test_math_utils.py:87: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.0001855531008914113` +`0.00021403504069894552` ```
@@ -4713,7 +4900,7 @@ tests/test_math_utils.py:87: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.00018185097724199295` +`0.00019100296776741743` ``` @@ -4735,7 +4922,7 @@ tests/test_math_utils.py:87: GeneratorExit` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `92``, `message: `RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `99``, `message: `RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low`` ``` @@ -4746,7 +4933,7 @@ tests/test_math_utils.py:87: GeneratorExit` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `92``, `message: `RecursionError`` +`path: `tests/test_math_utils.py``, `lineno: `99``, `message: `RecursionError`` ``` @@ -4763,7 +4950,7 @@ tests/test_math_utils.py:87: GeneratorExit` > sys.setrecursionlimit(50) E RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low -tests/test_math_utils.py:92: RecursionError` +tests/test_math_utils.py:99: RecursionError` ``` @@ -4777,7 +4964,7 @@ tests/test_math_utils.py:92: RecursionError` ๐Ÿ“Œ Duration ``` -`0.000237341970205307` +`0.00024889304768294096` ``` @@ -4808,10 +4995,10 @@ tests/test_math_utils.py:92: RecursionError`
-โŒ #30 +โŒ #32 - **Status:** โŒ `failed` -- **Duration:** `0.000180` s +- **Duration:** `0.000186` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -4821,7 +5008,7 @@ tests/test_math_utils.py:92: RecursionError` ๐Ÿ“Œ Duration ``` -`0.00018282595556229353` +`0.0001850089756771922` ```
@@ -4846,7 +5033,7 @@ tests/test_math_utils.py:92: RecursionError` ๐Ÿ“Œ Duration ``` -`0.0001799019519239664` +`0.00018619804177433252` ``` @@ -4868,7 +5055,7 @@ tests/test_math_utils.py:92: RecursionError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `102``, `message: ` File "", line 1 +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `109``, `message: ` File "", line 1 def bad(: ^ SyntaxError: invalid syntax`` @@ -4882,7 +5069,7 @@ SyntaxError: invalid syntax`` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `102``, `message: `SyntaxError`` +`path: `tests/test_math_utils.py``, `lineno: `109``, `message: `SyntaxError`` ``` @@ -4901,7 +5088,7 @@ E def bad(: E ^ E SyntaxError: invalid syntax -tests/test_math_utils.py:102: SyntaxError` +tests/test_math_utils.py:109: SyntaxError` ``` @@ -4915,7 +5102,7 @@ tests/test_math_utils.py:102: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00023253809195011854` +`0.00023834698367863894` ``` @@ -4946,10 +5133,10 @@ tests/test_math_utils.py:102: SyntaxError`
-โŒ #31 +โŒ #33 - **Status:** โŒ `failed` -- **Duration:** `0.000185` s +- **Duration:** `0.000187` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -4959,7 +5146,7 @@ tests/test_math_utils.py:102: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00017863011453300714` +`0.0001814790302887559` ```
@@ -4984,7 +5171,7 @@ tests/test_math_utils.py:102: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.0001851619454100728` +`0.00018671201542019844` ``` @@ -5006,7 +5193,7 @@ tests/test_math_utils.py:102: SyntaxError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `106``, `message: `SystemExit: 1`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `113``, `message: `SystemExit: 1`` ``` @@ -5017,7 +5204,7 @@ tests/test_math_utils.py:102: SyntaxError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `106``, `message: `SystemExit`` +`path: `tests/test_math_utils.py``, `lineno: `113``, `message: `SystemExit`` ``` @@ -5033,7 +5220,7 @@ tests/test_math_utils.py:102: SyntaxError` > sys.exit(1) E SystemExit: 1 -tests/test_math_utils.py:106: SystemExit` +tests/test_math_utils.py:113: SystemExit` ``` @@ -5047,7 +5234,7 @@ tests/test_math_utils.py:106: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00024608103558421135` +`0.00025275489315390587` ``` @@ -5078,10 +5265,10 @@ tests/test_math_utils.py:106: SystemExit`
-โŒ #32 +โŒ #34 - **Status:** โŒ `failed` -- **Duration:** `0.000179` s +- **Duration:** `0.000180` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -5091,7 +5278,7 @@ tests/test_math_utils.py:106: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00017770100384950638` +`0.00018218194600194693` ```
@@ -5116,7 +5303,7 @@ tests/test_math_utils.py:106: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00017943396233022213` +`0.00018016702961176634` ``` @@ -5138,7 +5325,7 @@ tests/test_math_utils.py:106: SystemExit` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `111``, `message: `TypeError: Broken function`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `118``, `message: `TypeError: Broken function`` ``` @@ -5149,7 +5336,7 @@ tests/test_math_utils.py:106: SystemExit` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `112``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `111``, `message: `TypeError`` +`path: `tests/test_math_utils.py``, `lineno: `119``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `118``, `message: `TypeError`` ``` @@ -5166,7 +5353,7 @@ tests/test_math_utils.py:106: SystemExit` raise TypeError("Broken function") > broken_func() -tests/test_math_utils.py:112: +tests/test_math_utils.py:119: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (), kwargs = {} @@ -5175,7 +5362,7 @@ args = (), kwargs = {} > raise TypeError("Broken function") E TypeError: Broken function -tests/test_math_utils.py:111: TypeError` +tests/test_math_utils.py:118: TypeError` ``` @@ -5189,7 +5376,7 @@ tests/test_math_utils.py:111: TypeError` ๐Ÿ“Œ Duration ``` -`0.00023728108499199152` +`0.00023476302158087492` ``` @@ -5220,10 +5407,10 @@ tests/test_math_utils.py:111: TypeError`
-โŒ #33 +โŒ #35 - **Status:** โŒ `failed` -- **Duration:** `0.000183` s +- **Duration:** `0.000186` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -5233,7 +5420,7 @@ tests/test_math_utils.py:111: TypeError` ๐Ÿ“Œ Duration ``` -`0.00019066303502768278` +`0.00018643902149051428` ```
@@ -5258,7 +5445,7 @@ tests/test_math_utils.py:111: TypeError` ๐Ÿ“Œ Duration ``` -`0.00018290500156581402` +`0.0001858660252764821` ``` @@ -5280,7 +5467,7 @@ tests/test_math_utils.py:111: TypeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `119``, `message: `ImportError: Simulated ImportError`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `126``, `message: `ImportError: Simulated ImportError`` ``` @@ -5291,7 +5478,7 @@ tests/test_math_utils.py:111: TypeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `124``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `119``, `message: `ImportError`` +`path: `tests/test_math_utils.py``, `lineno: `131``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `126``, `message: `ImportError`` ``` @@ -5314,7 +5501,7 @@ tests/test_math_utils.py:111: TypeError` try: > __import__("fake_module") -tests/test_math_utils.py:124: +tests/test_math_utils.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'fake_module', args = (), kwargs = {} @@ -5324,7 +5511,7 @@ name = 'fake_module', args = (), kwargs = {} > raise ImportError("Simulated ImportError") E ImportError: Simulated ImportError -tests/test_math_utils.py:119: ImportError` +tests/test_math_utils.py:126: ImportError` ``` @@ -5338,7 +5525,7 @@ tests/test_math_utils.py:119: ImportError` ๐Ÿ“Œ Duration ``` -`0.00023204099852591753` +`0.0002515579108148813` ``` @@ -5369,10 +5556,10 @@ tests/test_math_utils.py:119: ImportError`
-โŒ #34 +โŒ #36 - **Status:** โŒ `failed` -- **Duration:** `0.000503` s +- **Duration:** `0.000491` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -5382,7 +5569,7 @@ tests/test_math_utils.py:119: ImportError` ๐Ÿ“Œ Duration ``` -`0.00018279103096574545` +`0.00019419798627495766` ```
@@ -5407,7 +5594,7 @@ tests/test_math_utils.py:119: ImportError` ๐Ÿ“Œ Duration ``` -`0.0005029679741710424` +`0.000491070095449686` ``` @@ -5440,7 +5627,7 @@ tests/test_math_utils.py:119: ImportError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `130``, `message: `None``, `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`` +`path: `tests/test_math_utils.py``, `lineno: `137``, `message: `None``, `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`` ``` @@ -5455,7 +5642,7 @@ tests/test_math_utils.py:119: ImportError` # Raises ModuleNotFoundError (subclass of ImportError) for missing module > importlib.import_module("non_existent_module_xyz") -tests/test_math_utils.py:130: +tests/test_math_utils.py:137: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) @@ -5466,7 +5653,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -5485,7 +5672,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00023711903486400843` +`0.0003281200770288706` ``` @@ -5524,10 +5711,10 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz'
-โŒ #36 +โŒ #38 - **Status:** โŒ `failed` -- **Duration:** `0.000176` s +- **Duration:** `0.000181` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -5537,7 +5724,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00019311404321342707` +`0.00018509197980165482` ```
@@ -5562,7 +5749,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00017554801888763905` +`0.00018063699826598167` ``` @@ -5634,7 +5821,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.0002440480748191476` +`0.00024201301857829094` ``` @@ -5665,10 +5852,10 @@ functions/string_utils.py:3: TypeError`
-โŒ #39 +โŒ #41 - **Status:** โŒ `failed` -- **Duration:** `0.000172` s +- **Duration:** `0.000171` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -5678,7 +5865,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00016691198106855154` +`0.00016880896873772144` ```
@@ -5703,7 +5890,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00017184007447212934` +`0.00017148302868008614` ``` @@ -5766,7 +5953,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00023269897792488337` +`0.0002468100283294916` ``` @@ -5797,10 +5984,10 @@ tests/test_string_utils.py:26: UnicodeDecodeError`
-โŒ #40 +โŒ #42 - **Status:** โŒ `failed` -- **Duration:** `0.000172` s +- **Duration:** `0.000177` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -5810,7 +5997,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.0001800030004233122` +`0.00018249102868139744` ```
@@ -5835,7 +6022,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00017248897347599268` +`0.00017683510668575764` ``` @@ -5898,7 +6085,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00023273809347301722` +`0.0002292250283062458` ``` @@ -5945,7 +6132,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError`
-โŒ #16 +โŒ #18 - **Status:** โŒ `xfailed` - **Duration:** `0.000299` s @@ -5958,7 +6145,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00019816006533801556` +`0.0002140250289812684` ```
@@ -5983,7 +6170,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.0002986609470099211` +`0.00029873300809413195` ``` @@ -6005,7 +6192,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `37``, `message: `assert 4 == 5 +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `44``, `message: `assert 4 == 5 + where 4 = multiply(2, 2)`` ``` @@ -6017,7 +6204,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `37``, `message: `AssertionError`` +`path: `tests/test_math_utils.py``, `lineno: `44``, `message: `AssertionError`` ``` @@ -6035,7 +6222,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` E assert 4 == 5 E + where 4 = multiply(2, 2) -tests/test_math_utils.py:37: AssertionError` +tests/test_math_utils.py:44: AssertionError` ``` @@ -6049,7 +6236,7 @@ tests/test_math_utils.py:37: AssertionError` ๐Ÿ“Œ Duration ``` -`0.0002646399661898613` +`0.0002536880783736706` ``` @@ -6088,10 +6275,10 @@ tests/test_math_utils.py:37: AssertionError`
-โŒ #42 +โŒ #44 - **Status:** โŒ `xfailed` -- **Duration:** `0.000653` s +- **Duration:** `0.000652` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -6101,7 +6288,7 @@ tests/test_math_utils.py:37: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00018898001872003078` +`0.0001909548882395029` ```
@@ -6126,7 +6313,7 @@ tests/test_math_utils.py:37: AssertionError` ๐Ÿ“Œ Duration ``` -`0.000653035007417202` +`0.0006523599149659276` ``` @@ -6198,7 +6385,7 @@ tests/test_string_utils.py:39: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00025101297069340944` +`0.0002673988929018378` ``` @@ -6477,7 +6664,7 @@ result: - **Details:** ``` 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: `21``, `nodeid: `tests/test_math_utils.py::test_addition_fail``, `type: `Function``, `lineno: `25``, `nodeid: `tests/test_math_utils.py::test_division_zero``, `type: `Function``, `lineno: `29``, `nodeid: `tests/test_math_utils.py::test_multiply_xfail``, `type: `Function``, `lineno: `33``, `nodeid: `tests/test_math_utils.py::test_runtime_error``, `type: `Function``, `lineno: `38``, `nodeid: `tests/test_math_utils.py::test_memory_error``, `type: `Function``, `lineno: `42``, `nodeid: `tests/test_math_utils.py::test_timeout_error``, `type: `Function``, `lineno: `46``, `nodeid: `tests/test_math_utils.py::test_recursion_error``, `type: `Function``, `lineno: `50``, `nodeid: `tests/test_math_utils.py::test_floating_point_error``, `type: `Function``, `lineno: `56``, `nodeid: `tests/test_math_utils.py::test_floating_point_overflow``, `type: `Function``, `lineno: `60``, `nodeid: `tests/test_math_utils.py::test_value_error``, `type: `Function``, `lineno: `64``, `nodeid: `tests/test_math_utils.py::test_type_error``, `type: `Function``, `lineno: `68``, `nodeid: `tests/test_math_utils.py::test_unhandled_exception``, `type: `Function``, `lineno: `72``, `nodeid: `tests/test_math_utils.py::test_custom_error``, `type: `Function``, `lineno: `76``, `nodeid: `tests/test_math_utils.py::test_stop_iteration_direct``, `type: `Function``, `lineno: `80``, `nodeid: `tests/test_math_utils.py::test_generator_exit_direct``, `type: `Function``, `lineno: `84``, `nodeid: `tests/test_math_utils.py::test_recursion_limit``, `type: `Function``, `lineno: `88``, `nodeid: `tests/test_math_utils.py::test_malformed_code``, `type: `Function``, `lineno: `99``, `nodeid: `tests/test_math_utils.py::test_sys_exit``, `type: `Function``, `lineno: `103``, `nodeid: `tests/test_math_utils.py::test_broken_function``, `type: `Function``, `lineno: `107``, `nodeid: `tests/test_math_utils.py::test_import_error_patch``, `type: `Function``, `lineno: `113``, `nodeid: `tests/test_math_utils.py::test_module_not_found_error``, `type: `Function``, `lineno: `127`` +`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_fail``, `type: `Function``, `lineno: `32``, `nodeid: `tests/test_math_utils.py::test_division_zero``, `type: `Function``, `lineno: `36``, `nodeid: `tests/test_math_utils.py::test_multiply_xfail``, `type: `Function``, `lineno: `40``, `nodeid: `tests/test_math_utils.py::test_runtime_error``, `type: `Function``, `lineno: `45``, `nodeid: `tests/test_math_utils.py::test_memory_error``, `type: `Function``, `lineno: `49``, `nodeid: `tests/test_math_utils.py::test_timeout_error``, `type: `Function``, `lineno: `53``, `nodeid: `tests/test_math_utils.py::test_recursion_error``, `type: `Function``, `lineno: `57``, `nodeid: `tests/test_math_utils.py::test_floating_point_error``, `type: `Function``, `lineno: `63``, `nodeid: `tests/test_math_utils.py::test_floating_point_overflow``, `type: `Function``, `lineno: `67``, `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: `75``, `nodeid: `tests/test_math_utils.py::test_unhandled_exception``, `type: `Function``, `lineno: `79``, `nodeid: `tests/test_math_utils.py::test_custom_error``, `type: `Function``, `lineno: `83``, `nodeid: `tests/test_math_utils.py::test_stop_iteration_direct``, `type: `Function``, `lineno: `87``, `nodeid: `tests/test_math_utils.py::test_generator_exit_direct``, `type: `Function``, `lineno: `91``, `nodeid: `tests/test_math_utils.py::test_recursion_limit``, `type: `Function``, `lineno: `95``, `nodeid: `tests/test_math_utils.py::test_malformed_code``, `type: `Function``, `lineno: `106``, `nodeid: `tests/test_math_utils.py::test_sys_exit``, `type: `Function``, `lineno: `110``, `nodeid: `tests/test_math_utils.py::test_broken_function``, `type: `Function``, `lineno: `114``, `nodeid: `tests/test_math_utils.py::test_import_error_patch``, `type: `Function``, `lineno: `120``, `nodeid: `tests/test_math_utils.py::test_module_not_found_error``, `type: `Function``, `lineno: `134`` ``` diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index 4221b9457..6b5702e65 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752573384.3728664, "duration": 0.7220261096954346, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 9, "failed": 32, "xfailed": 2, "total": 43, "collected": 43}, "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": 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", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 25}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 29}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 33}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 38}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 42}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 46}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 50}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 60}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 64}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 68}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 72}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 80}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 84}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 88}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 99}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 103}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 107}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 113}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 127}]}, {"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": "allure-results", "type": "Dir"}, {"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.0037629989674314857, "outcome": "passed"}, "call": {"duration": 0.0004779800074175, "outcome": "passed"}, "teardown": {"duration": 0.0014996760291978717, "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.0006581129273399711, "outcome": "passed"}, "call": {"duration": 0.00033526308834552765, "outcome": "passed"}, "teardown": {"duration": 0.0015804000431671739, "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.00019590696319937706, "outcome": "passed"}, "call": {"duration": 0.0001849479740485549, "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.0002500959672033787, "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.00018036097753793, "outcome": "passed"}, "call": {"duration": 0.00020445394329726696, "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.00023383600637316704, "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.00035416800528764725, "outcome": "passed"}, "call": {"duration": 0.0002201900351792574, "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 0x7fc299458f10>\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.0006618089973926544, "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.0003483230248093605, "outcome": "passed"}, "call": {"duration": 0.003272575093433261, "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 0x7fc299bbd340>\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.0011758340988308191, "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.0002455250360071659, "outcome": "passed"}, "call": {"duration": 0.00020633405074477196, "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.0002566359471529722, "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.00041592703200876713, "outcome": "passed"}, "call": {"duration": 0.00022289901971817017, "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 0x7fc2994fea30>\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.0007254349766299129, "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.0007511059520766139, "outcome": "passed"}, "call": {"duration": 0.0008986209286376834, "outcome": "passed"}, "teardown": {"duration": 0.0006337929517030716, "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.0001774940174072981, "outcome": "passed"}, "call": {"duration": 0.00020464498084038496, "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.0002345970133319497, "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.00018494902178645134, "outcome": "passed"}, "call": {"duration": 0.00017810892313718796, "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.0002371820155531168, "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.00018016702961176634, "outcome": "passed"}, "call": {"duration": 0.00019100902136415243, "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.00024932099040597677, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018974998965859413, "outcome": "passed"}, "call": {"duration": 0.00016710103955119848, "outcome": "passed"}, "teardown": {"duration": 0.00019946997053921223, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 25, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001834559952840209, "outcome": "passed"}, "call": {"duration": 0.00047823996283113956, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 28, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 28, "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:28: AssertionError"}, "teardown": {"duration": 0.00024403200950473547, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 29, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017660600133240223, "outcome": "passed"}, "call": {"duration": 0.00017802603542804718, "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": 32, "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:32: \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.00023253506515175104, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 33, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019816006533801556, "outcome": "passed"}, "call": {"duration": 0.0002986609470099211, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 37, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 37, "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:37: AssertionError"}, "teardown": {"duration": 0.0002646399661898613, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 38, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020174204837530851, "outcome": "passed"}, "call": {"duration": 0.00017251702956855297, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 41, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 41, "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:41: RuntimeError"}, "teardown": {"duration": 0.00023468094877898693, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 42, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017887400463223457, "outcome": "passed"}, "call": {"duration": 0.0001703569432720542, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 45, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 45, "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:45: MemoryError"}, "teardown": {"duration": 0.00023398897610604763, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 46, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001825310755521059, "outcome": "passed"}, "call": {"duration": 0.0001705790637061, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 49, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 49, "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:49: TimeoutError"}, "teardown": {"duration": 0.00023068394511938095, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 50, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018111895769834518, "outcome": "passed"}, "call": {"duration": 0.0008025499992072582, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 54, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 55, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 54, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 54, "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:55: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:54: in recursive\n return recursive()\ntests/test_math_utils.py:54: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.00025466305669397116, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 56, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002047830494120717, "outcome": "passed"}, "call": {"duration": 0.00017436605412513018, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 59, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 59, "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:59: FloatingPointError"}, "teardown": {"duration": 0.00023532507475465536, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 60, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019133009482175112, "outcome": "passed"}, "call": {"duration": 0.00017823697999119759, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 63, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 63, "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:63: OverflowError"}, "teardown": {"duration": 0.00023626897018402815, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 64, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017876899801194668, "outcome": "passed"}, "call": {"duration": 0.00017667701467871666, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 67, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 67, "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:67: ValueError"}, "teardown": {"duration": 0.0002338660415261984, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 68, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001813899725675583, "outcome": "passed"}, "call": {"duration": 0.00017397699411958456, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 71, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 71, "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:71: TypeError"}, "teardown": {"duration": 0.0002311210846528411, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 72, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017905805725604296, "outcome": "passed"}, "call": {"duration": 0.00017142400611191988, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 75, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 75, "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:75: Exception"}, "teardown": {"duration": 0.0002351769944652915, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 76, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017969298642128706, "outcome": "passed"}, "call": {"duration": 0.00017279991880059242, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 79, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 79, "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:79: CustomError"}, "teardown": {"duration": 0.0002436790382489562, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 80, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017891009338200092, "outcome": "passed"}, "call": {"duration": 0.00017649296205490828, "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:83: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7fc29968ea60>\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.00041258696001023054, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 84, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00028741208370774984, "outcome": "passed"}, "call": {"duration": 0.0002024550922214985, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 87, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 87, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:87: GeneratorExit"}, "teardown": {"duration": 0.000275233993306756, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 88, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001855531008914113, "outcome": "passed"}, "call": {"duration": 0.00018185097724199295, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 92, "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": 92, "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:92: RecursionError"}, "teardown": {"duration": 0.000237341970205307, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 99, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018282595556229353, "outcome": "passed"}, "call": {"duration": 0.0001799019519239664, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 102, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 102, "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:102: SyntaxError"}, "teardown": {"duration": 0.00023253809195011854, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 103, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017863011453300714, "outcome": "passed"}, "call": {"duration": 0.0001851619454100728, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 106, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 106, "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:106: SystemExit"}, "teardown": {"duration": 0.00024608103558421135, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 107, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017770100384950638, "outcome": "passed"}, "call": {"duration": 0.00017943396233022213, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 111, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 112, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 111, "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:112: \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:111: TypeError"}, "teardown": {"duration": 0.00023728108499199152, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 113, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019066303502768278, "outcome": "passed"}, "call": {"duration": 0.00018290500156581402, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 119, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 124, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 119, "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:124: \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:119: ImportError"}, "teardown": {"duration": 0.00023204099852591753, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 127, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018279103096574545, "outcome": "passed"}, "call": {"duration": 0.0005029679741710424, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 130, "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:130: \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.00023711903486400843, "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.00019204302225261927, "outcome": "passed"}, "call": {"duration": 0.0001693719532340765, "outcome": "passed"}, "teardown": {"duration": 0.00019725703168660402, "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.00019311404321342707, "outcome": "passed"}, "call": {"duration": 0.00017554801888763905, "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.0002440480748191476, "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.00018292805179953575, "outcome": "passed"}, "call": {"duration": 0.0001660629641264677, "outcome": "passed"}, "teardown": {"duration": 0.00019309495110064745, "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.00017245393246412277, "outcome": "passed"}, "call": {"duration": 0.00017427699640393257, "outcome": "passed"}, "teardown": {"duration": 0.00020399701315909624, "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.00016691198106855154, "outcome": "passed"}, "call": {"duration": 0.00017184007447212934, "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.00023269897792488337, "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.0001800030004233122, "outcome": "passed"}, "call": {"duration": 0.00017248897347599268, "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.00023273809347301722, "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.00018159300088882446, "outcome": "passed"}, "call": {"duration": 0.0001756770070642233, "outcome": "passed"}, "teardown": {"duration": 0.00019328901544213295, "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.00018898001872003078, "outcome": "passed"}, "call": {"duration": 0.000653035007417202, "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.00025101297069340944, "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.00018480210565030575, "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": 1752577859.3199596, "duration": 0.7795929908752441, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 11, "failed": 32, "xfailed": 2, "total": 45, "collected": 45}, "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": 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_fail", "type": "Function", "lineno": 32}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 53}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 57}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 63}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 67}, {"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": 75}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 95}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 106}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 110}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 114}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 120}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 134}]}, {"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": "allure-results", "type": "Dir"}, {"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.004506391007453203, "outcome": "passed"}, "call": {"duration": 0.0005441459361463785, "outcome": "passed"}, "teardown": {"duration": 0.0017403290839865804, "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.0007578879594802856, "outcome": "passed"}, "call": {"duration": 0.00036801095120608807, "outcome": "passed"}, "teardown": {"duration": 0.0007254750235006213, "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.00019392999820411205, "outcome": "passed"}, "call": {"duration": 0.00021005398593842983, "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.00031253090128302574, "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.00023122900165617466, "outcome": "passed"}, "call": {"duration": 0.00023698399309068918, "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.0002910649636760354, "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.00048126408364623785, "outcome": "passed"}, "call": {"duration": 0.0002600300358608365, "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 0x7f43c74e9940>\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.0009406610624864697, "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.0004419619217514992, "outcome": "passed"}, "call": {"duration": 0.003549445071257651, "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 0x7f43c77aec10>\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.0012472099624574184, "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.00025869300588965416, "outcome": "passed"}, "call": {"duration": 0.0002198460279032588, "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.0002962290309369564, "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.00047241803258657455, "outcome": "passed"}, "call": {"duration": 0.0002423529513180256, "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 0x7f43c75d4280>\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.0008173950482159853, "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.0008416379569098353, "outcome": "passed"}, "call": {"duration": 0.0012182740028947592, "outcome": "passed"}, "teardown": {"duration": 0.0007255329983308911, "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.00019915506709367037, "outcome": "passed"}, "call": {"duration": 0.00021600292529910803, "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.00025011005345731974, "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.00019270996563136578, "outcome": "passed"}, "call": {"duration": 0.0001827090745791793, "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.0002627200447022915, "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.00020303402561694384, "outcome": "passed"}, "call": {"duration": 0.00018441700376570225, "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.0002553409431129694, "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.0016042559873312712, "outcome": "passed"}, "call": {"duration": 0.00022420205641537905, "outcome": "passed"}, "teardown": {"duration": 0.0009944828925654292, "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.0005949789192527533, "outcome": "passed"}, "call": {"duration": 0.00019372603856027126, "outcome": "passed"}, "teardown": {"duration": 0.0009457810083404183, "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.0005542120197787881, "outcome": "passed"}, "call": {"duration": 0.00019125291146337986, "outcome": "passed"}, "teardown": {"duration": 0.000869528972543776, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 32, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019694899674504995, "outcome": "passed"}, "call": {"duration": 0.0005684029310941696, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 35, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 35, "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:35: AssertionError"}, "teardown": {"duration": 0.0002523289294913411, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 36, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019968603737652302, "outcome": "passed"}, "call": {"duration": 0.00018753891345113516, "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": 39, "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:39: \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.00023975293152034283, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 40, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002140250289812684, "outcome": "passed"}, "call": {"duration": 0.00029873300809413195, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 44, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 44, "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:44: AssertionError"}, "teardown": {"duration": 0.0002536880783736706, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 45, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001838579773902893, "outcome": "passed"}, "call": {"duration": 0.00018510990776121616, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 48, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 48, "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:48: RuntimeError"}, "teardown": {"duration": 0.0002613560063764453, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 49, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020573008805513382, "outcome": "passed"}, "call": {"duration": 0.0001858919858932495, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 52, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 52, "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:52: MemoryError"}, "teardown": {"duration": 0.00025425897911190987, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 53, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019395200069993734, "outcome": "passed"}, "call": {"duration": 0.00018239393830299377, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 56, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 56, "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:56: TimeoutError"}, "teardown": {"duration": 0.0002632379764690995, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 57, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020272692199796438, "outcome": "passed"}, "call": {"duration": 0.0012184979859739542, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 61, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 62, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 61, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 61, "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:62: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:61: in recursive\n return recursive()\ntests/test_math_utils.py:61: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.0003474840195849538, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 63, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023180106654763222, "outcome": "passed"}, "call": {"duration": 0.00020147801842540503, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 66, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 66, "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:66: FloatingPointError"}, "teardown": {"duration": 0.0002597910352051258, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 67, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019929197151213884, "outcome": "passed"}, "call": {"duration": 0.00019157095812261105, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 70, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 70, "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:70: OverflowError"}, "teardown": {"duration": 0.0002573220990598202, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 71, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019577203784137964, "outcome": "passed"}, "call": {"duration": 0.0001927800476551056, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 74, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 74, "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:74: ValueError"}, "teardown": {"duration": 0.00025621894747018814, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 75, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000191971892490983, "outcome": "passed"}, "call": {"duration": 0.00018392992205917835, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 78, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 78, "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:78: TypeError"}, "teardown": {"duration": 0.0002466929145157337, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 79, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001924140378832817, "outcome": "passed"}, "call": {"duration": 0.0001952099846675992, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 82, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 82, "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:82: Exception"}, "teardown": {"duration": 0.0002456019865348935, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 83, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001948499120771885, "outcome": "passed"}, "call": {"duration": 0.00017702404875308275, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 86, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 86, "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:86: CustomError"}, "teardown": {"duration": 0.00025283906143158674, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 87, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018330104649066925, "outcome": "passed"}, "call": {"duration": 0.0001794359413906932, "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:90: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f43c77a1c10>\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.00042499194387346506, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 91, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002670619869604707, "outcome": "passed"}, "call": {"duration": 0.0002095879754051566, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 94, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 94, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:94: GeneratorExit"}, "teardown": {"duration": 0.00030425796285271645, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 95, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00021403504069894552, "outcome": "passed"}, "call": {"duration": 0.00019100296776741743, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 99, "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": 99, "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:99: RecursionError"}, "teardown": {"duration": 0.00024889304768294096, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 106, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001850089756771922, "outcome": "passed"}, "call": {"duration": 0.00018619804177433252, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 109, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 109, "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:109: SyntaxError"}, "teardown": {"duration": 0.00023834698367863894, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 110, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001814790302887559, "outcome": "passed"}, "call": {"duration": 0.00018671201542019844, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 113, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 113, "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:113: SystemExit"}, "teardown": {"duration": 0.00025275489315390587, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 114, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018218194600194693, "outcome": "passed"}, "call": {"duration": 0.00018016702961176634, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 119, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 118, "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:119: \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:118: TypeError"}, "teardown": {"duration": 0.00023476302158087492, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 120, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018643902149051428, "outcome": "passed"}, "call": {"duration": 0.0001858660252764821, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 126, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 126, "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:131: \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:126: ImportError"}, "teardown": {"duration": 0.0002515579108148813, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 134, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019419798627495766, "outcome": "passed"}, "call": {"duration": 0.000491070095449686, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 137, "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:137: \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.0003281200770288706, "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.000240510911680758, "outcome": "passed"}, "call": {"duration": 0.0002189819933846593, "outcome": "passed"}, "teardown": {"duration": 0.00020951498299837112, "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.00018509197980165482, "outcome": "passed"}, "call": {"duration": 0.00018063699826598167, "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.00024201301857829094, "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.00019066594541072845, "outcome": "passed"}, "call": {"duration": 0.00017019198276102543, "outcome": "passed"}, "teardown": {"duration": 0.00020808703266084194, "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.00017246196512132883, "outcome": "passed"}, "call": {"duration": 0.0001842110650613904, "outcome": "passed"}, "teardown": {"duration": 0.0001949489815160632, "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.00016880896873772144, "outcome": "passed"}, "call": {"duration": 0.00017148302868008614, "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.0002468100283294916, "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.00018249102868139744, "outcome": "passed"}, "call": {"duration": 0.00017683510668575764, "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.0002292250283062458, "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.000186647055670619, "outcome": "passed"}, "call": {"duration": 0.0001671529607847333, "outcome": "passed"}, "teardown": {"duration": 0.0002057109959423542, "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.0001909548882395029, "outcome": "passed"}, "call": {"duration": 0.0006523599149659276, "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.0002673988929018378, "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.00018300896044820547, "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