diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index b583f28a..b99031c8 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.73s ========= +========= 32 failed, 8 passed, 2 xfailed, 1 warning, 2 errors in 0.72s ========= ``` @@ -59,7 +59,7 @@ ERROR tests/test_collector_error.py ============================= test session starts ============================== platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 rootdir: /workspace/tligui_y/slic -plugins: metadata-3.1.1, allure-pytest-2.13.5, cov-5.0.0, html-4.1.1, json-report-1.5.0, md-report-0.6.2 +plugins: metadata-3.1.1, cov-5.0.0, html-4.1.1, allure-pytest-2.13.5, json-report-1.5.0, md-report-0.6.2 collected 43 items / 2 errors tests/test_io_utils.py ..FFFFFF.F @@ -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 0x7f46fdf150a0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe165c82e0> 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 0x7f46fdf15f40> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe127fc8b0> 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 0x7f46fe1bc160> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe127f8490> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -369,7 +369,7 @@ tests/test_math_utils.py:83: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f47003f0a60> +func = . at 0x7efe15325700> when = 'call' reraise = (, ) @@ -525,7 +525,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -619,14 +619,14 @@ 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.73s ========= +========= 32 failed, 8 passed, 2 xfailed, 1 warning, 2 errors in 0.72s ========= ``` --- # ๐Ÿงช Test Report -*Generated on 2025-07-15 09:10:36* +*Generated on 2025-07-15 09:16:02* ## ๐Ÿ“‹ Summary - **Passed**: `9` @@ -634,430 +634,380 @@ ERROR tests/test_collector_error.py - **Xfailed**: `2` - **Total**: `43` - **Collected**: `43` -- **Total Duration**: `0.731`s +- **Total Duration**: `0.723`s ## ๐Ÿ”Ž Tests -
-๐Ÿ“Œ Duration +โœ… Passed (9) -``` -`0.003840056946501136` -``` -
-
+ 
+ ๐Ÿ“ test_io_utils.py -
-
-๐Ÿ“Œ Outcome +  
+  ๐Ÿ”ง Function: `test_read_file` -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.0005439789965748787` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.0015220239292830229` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-โœ… #1 +   
+   โœ… #1 - **Status:** โœ… `passed` -- **Duration:** `0.000544` s +- **Duration:** `0.000464` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.0037785720778629184` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Call Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.0004637670936062932` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Teardown Phase -
-
- -
-
-๐Ÿ”ง Function: `test_read_file` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0006685680709779263` +`0.0013348980573937297` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
-``` -`0.0003549410030245781` -``` -
- +    -
-
-๐Ÿ“Œ Outcome +  
+  
+  ๐Ÿ”ง Function: `test_write_file` -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.0006676089251413941` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-โœ… #2 +   
+   โœ… #2 - **Status:** โœ… `passed` -- **Duration:** `0.000355` s +- **Duration:** `0.000354` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.0006612989818677306` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Call Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.0003540359903126955` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Teardown Phase -
-
- -
-
-๐Ÿ”ง Function: `test_write_file` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0008469339227303863` +`0.0006501510506495833` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
-``` -`0.0010061180219054222` -``` - -
+    -
-
-๐Ÿ“Œ Outcome +  
+  
+  ๐Ÿ”ง Function: `test_write_file_readonly` -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.0007113389438018203` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-โœ… #9 +   
+   โœ… #9 - **Status:** โœ… `passed` -- **Duration:** `0.001006` s +- **Duration:** `0.001082` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.0007660620613023639` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Call Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.0010817809961736202` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Teardown Phase -
-
- -
-
-๐Ÿ”ง Function: `test_write_file_readonly` - -
-
- -
-
-๐Ÿ“ test_io_utils.py - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0001953629544004798` +`0.0006616089958697557` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
-``` -`0.0001662669237703085` -``` - -
+    -
-
-๐Ÿ“Œ Outcome +  
-``` -`passed` -``` - -
+  + 
+ ๐Ÿ“ test_math_utils.py -
-
-๐Ÿ“Œ Duration +  
+  ๐Ÿ”ง Function: `test_addition_pass` -``` -`0.0002003329573199153` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-โœ… #13 +   
+   โœ… #13 - **Status:** โœ… `passed` -- **Duration:** `0.000166` s +- **Duration:** `0.000167` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.00017961300909519196` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Call Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.0001666239695623517` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Teardown Phase -
-
- -
-
-๐Ÿ”ง Function: `test_addition_pass` - -
-
- -
-
-๐Ÿ“ test_math_utils.py - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00021441897843033075` +`0.0002013689372688532` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +   
+ +   + +  + 
+ ๐Ÿ“ test_string_utils.py + +  
+  ๐Ÿ”ง Function: `test_uppercase_normal` + +   
+   โœ… #35 + +- **Status:** โœ… `passed` +- **Duration:** `0.000168` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017174496315419674` +`0.00018690410070121288` ``` -
- -
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0001952419988811016` +`0.0001679910346865654` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โœ… #35 +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration + +``` +`0.00019400403834879398` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
+ +   
+ +  
+  
+  ๐Ÿ”ง Function: `test_reverse_string` + +   
+   โœ… #37 - **Status:** โœ… `passed` - **Duration:** `0.000172` s @@ -1065,257 +1015,69 @@ ERROR tests/test_collector_error.py ### ๐Ÿ”ง Setup Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.00018007599283009768` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Call Phase +    
+    ๐Ÿ“Œ Duration + +``` +`0.00017242797184735537` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
### ๐Ÿ”ง Teardown Phase -
- - -
-
-๐Ÿ”ง Function: `test_uppercase_normal` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018296297639608383` +`0.00019550707656890154` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
-``` -`0.0001638280227780342` -``` -
- +   
-
-
-๐Ÿ“Œ Outcome +  
+  
+  ๐Ÿ”ง Function: `test_warning_emit` -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.00019457109738141298` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-โœ… #37 - -- **Status:** โœ… `passed` -- **Duration:** `0.000164` s -- **Severity:** `normal` - -### ๐Ÿ”ง Setup Phase - - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_reverse_string` - -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.00018298800569027662` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.00017858203500509262` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.0001936639891937375` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-โœ… #38 - -- **Status:** โœ… `passed` -- **Duration:** `0.000179` s -- **Severity:** `normal` - -### ๐Ÿ”ง Setup Phase - - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_warning_emit` - -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.0001873199362307787` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.00016476004384458065` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-๐Ÿ“Œ Duration - -``` -`0.0001961949747055769` -``` -
-
- -
-
-๐Ÿ“Œ Outcome - -``` -`passed` -``` -
-
- -
-
-โœ… #41 +   
+   โœ… #38 - **Status:** โœ… `passed` - **Duration:** `0.000165` s @@ -1323,45 +1085,139 @@ ERROR tests/test_collector_error.py ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_import_warning` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00019515701569616795` +`0.0001840399345383048` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โœ… #43 +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration + +``` +`0.00016543595120310783` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration + +``` +`0.00019185896962881088` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_import_warning` + +   
+   โœ… #41 + +- **Status:** โœ… `passed` +- **Duration:** `0.000164` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +    
+    ๐Ÿ“Œ Duration + +``` +`0.00017954804934561253` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration + +``` +`0.00016367295756936073` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration + +``` +`0.00019252998754382133` +``` + +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
+ +   
+ +  
+  
+  ๐Ÿ”ง Function: `test_keyboard_interrupt_direct` + +   
+   โœ… #43 - **Status:** โœ… `passed` - **Duration:** `None` @@ -1369,93 +1225,101 @@ ERROR tests/test_collector_error.py ### ๐Ÿ”ง Setup Phase -
-
- -
-
-๐Ÿ”ง Function: `test_keyboard_interrupt_direct` - -
-
- -
-
-๐Ÿ“ test_string_utils.py - -
-
- -
-
-โœ… Passed (9) - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018929701764136553` +`0.00019548798445612192` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
+     + +    + +   + +  + +
-๐Ÿ“Œ Duration +โŒ Failed (32) + + 
+ ๐Ÿ“ test_io_utils.py + +  
+  ๐Ÿ”ง Function: `test_cause_io_error` + +   
+   โŒ #3 + +- **Status:** โŒ `failed` +- **Duration:** `0.000179` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00018706289120018482` +`0.00019443605560809374` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome + +``` +`passed` +``` + +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration + +``` +`0.00017924292478710413` +``` + +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/functions/io_utils.py``, `lineno: `10``, `message: `OSError: Forced IO Error for testing`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_io_utils.py``, `lineno: `25``, `message: `None``, `path: `functions/io_utils.py``, `lineno: `10``, `message: `OSError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_cause_io_error(): @@ -1471,118 +1335,96 @@ E OSError: Forced IO Error for testing functions/io_utils.py:10: OSError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002755681052803993` +`0.00025316106621176004` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #3 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_file_not_found` + +   
+   โŒ #4 - **Status:** โŒ `failed` -- **Duration:** `0.000187` s +- **Duration:** `0.000199` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_cause_io_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00020188000053167343` +`0.00018958700820803642` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00020430691074579954` +`0.0001988180447369814` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/functions/io_utils.py``, `lineno: `2``, `message: `FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_io_utils.py``, `lineno: `29``, `message: `None``, `path: `functions/io_utils.py``, `lineno: `2``, `message: `FileNotFoundError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_file_not_found(): @@ -1600,121 +1442,99 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.fil functions/io_utils.py:2: FileNotFoundError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00024627207312732935` +`0.0002395479241386056` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #4 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_permission_error` + +   
+   โŒ #5 - **Status:** โŒ `failed` -- **Duration:** `0.000204` s +- **Duration:** `0.000222` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_file_not_found` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00037740101106464863` +`0.0003548109671100974` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002153739333152771` +`0.00022170296870172024` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_io_utils.py``, `lineno: `34``, `message: `PermissionError: Permission denied`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_io_utils.py``, `lineno: `36``, `message: `None``, `path: `functions/io_utils.py``, `lineno: `2``, `message: `in read_file``, `path: `tests/test_io_utils.py``, `lineno: `34``, `message: `PermissionError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f46fdf150a0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe165c82e0> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -1737,121 +1557,99 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0007257390534505248` +`0.0006665659602731466` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #5 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_mock_open_error` + +   
+   โŒ #6 - **Status:** โŒ `failed` -- **Duration:** `0.000215` s +- **Duration:** `0.003255` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_permission_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00036263803485780954` +`0.00034516898449510336` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0033483050065115094` +`0.0032553219934925437` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/unittest/mock.py``, `lineno: `1140``, `message: `OSError: Mocked IOError`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_io_utils.py``, `lineno: `43``, `message: `None``, `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 +    
+    
+    ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f46fdf15f40> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe127fc8b0> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -1868,7 +1666,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): @@ -1883,118 +1681,96 @@ E OSError: Mocked IOError .pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0011990530183538795` +`0.0012053049867972732` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #6 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_file_handle_closed_error` + +   
+   โŒ #7 - **Status:** โŒ `failed` -- **Duration:** `0.003348` s +- **Duration:** `0.000224` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_mock_open_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00027082895394414663` +`0.00026049010921269655` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00021214806474745274` +`0.0002238159067928791` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_io_utils.py``, `lineno: `50``, `message: `ValueError: I/O operation on closed file`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_io_utils.py``, `lineno: `50``, `message: `ValueError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_file_handle_closed_error(): @@ -2006,121 +1782,99 @@ E ValueError: I/O operation on closed file tests/test_io_utils.py:50: ValueError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0003006960032507777` +`0.0002783299423754215` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #7 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_os_error` + +   
+   โŒ #8 - **Status:** โŒ `failed` -- **Duration:** `0.000212` s +- **Duration:** `0.000220` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_file_handle_closed_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00047612201888114214` +`0.00043707003351300955` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002340549835935235` +`0.00021960493177175522` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_io_utils.py``, `lineno: `55``, `message: `OSError: Simulated OSError`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_io_utils.py``, `lineno: `57``, `message: `None``, `path: `tests/test_io_utils.py``, `lineno: `55``, `message: `OSError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f46fe1bc160> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7efe127f8490> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -2140,118 +1894,96 @@ E OSError: Simulated OSError tests/test_io_utils.py:55: OSError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0008299950277432799` +`0.0007092769956216216` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #8 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_file_not_found_error` + +   
+   โŒ #10 - **Status:** โŒ `failed` -- **Duration:** `0.000234` s +- **Duration:** `0.000192` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_os_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00019154499750584364` +`0.00017842301167547703` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.000197900109924376` +`0.00019161601085215807` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ 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 +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_io_utils.py``, `lineno: `69``, `message: `FileNotFoundError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_file_not_found_error(): @@ -2261,125 +1993,101 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.tx tests/test_io_utils.py:69: FileNotFoundError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00024350499734282494` +`0.00024590897373855114` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #10 +    
+ +    + +   + +  + 
+ ๐Ÿ“ test_math_utils.py + +  
+  ๐Ÿ”ง Function: `test_broken` + +   
+   โŒ #11 - **Status:** โŒ `failed` -- **Duration:** `0.000198` s +- **Duration:** `0.000170` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_file_not_found_error` - -
-
- -
-
-๐Ÿ“ test_io_utils.py - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018972204998135567` +`0.0002010789467021823` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00018012302462011576` +`0.00016978802159428596` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ 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 +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `16``, `message: `NameError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_broken(): @@ -2389,118 +2097,96 @@ E NameError: name 'want_the_test_to_fail' is not defined tests/test_math_utils.py:16: NameError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002605980262160301` +`0.0002367519773542881` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #11 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_call_missing_function` + +   
+   โŒ #12 - **Status:** โŒ `failed` -- **Duration:** `0.000180` s +- **Duration:** `0.000175` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_broken` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018680898938328028` +`0.0001810810063034296` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0001830579712986946` +`0.000174609012901783` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ 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 +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `20``, `message: `AttributeError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_call_missing_function(): @@ -2510,119 +2196,97 @@ E AttributeError: module 'functions.math_utils' has no attribute 'non_exis tests/test_math_utils.py:20: AttributeError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00024249195121228695` +`0.00023838295601308346` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #12 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_addition_fail` + +   
+   โŒ #14 - **Status:** โŒ `failed` -- **Duration:** `0.000183` s +- **Duration:** `0.000461` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_call_missing_function` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0001842209603637457` +`0.00018384691793471575` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0004994010087102652` +`0.0004607420414686203` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `28``, `message: `assert 4 == 5 + where 4 = addition(2, 2)`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `28``, `message: `AssertionError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_addition_fail(): @@ -2633,118 +2297,96 @@ E + where 4 = addition(2, 2) tests/test_math_utils.py:28: AssertionError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002346410183236003` +`0.00023762905038893223` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #14 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_division_zero` + +   
+   โŒ #15 - **Status:** โŒ `failed` -- **Duration:** `0.000499` s +- **Duration:** `0.000180` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_addition_fail` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0001925959950312972` +`0.0001806989312171936` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0001823080237954855` +`0.00018048996571451426` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/functions/math_utils.py``, `lineno: `5``, `message: `ZeroDivisionError: division by zero`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `32``, `message: `None``, `path: `functions/math_utils.py``, `lineno: `5``, `message: `ZeroDivisionError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_division_zero(): @@ -2762,118 +2404,96 @@ E ZeroDivisionError: division by zero functions/math_utils.py:5: ZeroDivisionError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00024948001373559237` +`0.00023666198831051588` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #15 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_runtime_error` + +   
+   โŒ #17 - **Status:** โŒ `failed` -- **Duration:** `0.000182` s +- **Duration:** `0.000192` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_division_zero` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018928991630673409` +`0.00018048007041215897` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0001842330675572157` +`0.0001915080938488245` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `41``, `message: `RuntimeError: Forced runtime error`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `41``, `message: `RuntimeError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_runtime_error(): @@ -2883,118 +2503,96 @@ E RuntimeError: Forced runtime error tests/test_math_utils.py:41: RuntimeError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00024381408002227545` +`0.000246651004999876` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #17 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_memory_error` + +   
+   โŒ #18 - **Status:** โŒ `failed` -- **Duration:** `0.000184` s +- **Duration:** `0.000177` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_runtime_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018384994473308325` +`0.00019312603399157524` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017606094479560852` +`0.00017707503866404295` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `45``, `message: `MemoryError: Simulated memory error`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `45``, `message: `MemoryError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_memory_error(): @@ -3004,118 +2602,96 @@ E MemoryError: Simulated memory error tests/test_math_utils.py:45: MemoryError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00023544998839497566` +`0.00024971901439130306` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #18 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_timeout_error` + +   
+   โŒ #19 - **Status:** โŒ `failed` -- **Duration:** `0.000176` s +- **Duration:** `0.000173` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_memory_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018030498176813126` +`0.00019565096590667963` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017127790488302708` +`0.00017284101340919733` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `49``, `message: `TimeoutError: Simulated timeout error`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `49``, `message: `TimeoutError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_timeout_error(): @@ -3125,118 +2701,96 @@ E TimeoutError: Simulated timeout error tests/test_math_utils.py:49: TimeoutError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00023567897733300924` +`0.00024003395810723305` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #19 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_recursion_error` + +   
+   โŒ #20 - **Status:** โŒ `failed` -- **Duration:** `0.000171` s +- **Duration:** `0.000812` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_timeout_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018820795230567455` +`0.00018435600213706493` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0008314669830724597` +`0.0008116499520838261` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `54``, `message: `RecursionError: maximum recursion depth exceeded`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ 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`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_recursion_error(): @@ -3254,118 +2808,96 @@ tests/test_math_utils.py:54: in recursive E RecursionError: maximum recursion depth exceeded !!! Recursion detected (same locals & position)` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00023824302479624748` +`0.00024780293460935354` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #20 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_floating_point_error` + +   
+   โŒ #21 - **Status:** โŒ `failed` -- **Duration:** `0.000831` s +- **Duration:** `0.000174` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_recursion_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018485391046851873` +`0.00018578290473669767` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017546489834785461` +`0.00017420900985598564` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `59``, `message: `FloatingPointError: Simulated floating point error`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `59``, `message: `FloatingPointError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_floating_point_error(): @@ -3375,118 +2907,96 @@ E FloatingPointError: Simulated floating point error tests/test_math_utils.py:59: FloatingPointError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00025141495279967785` +`0.0002495360095053911` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #21 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_floating_point_overflow` + +   
+   โŒ #22 - **Status:** โŒ `failed` -- **Duration:** `0.000175` s +- **Duration:** `0.000187` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_floating_point_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0001812400296330452` +`0.00019228109158575535` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00018977595027536154` +`0.0001870779087767005` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `63``, `message: `OverflowError: math range error`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `63``, `message: `OverflowError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_floating_point_overflow(): @@ -3496,118 +3006,96 @@ E OverflowError: math range error tests/test_math_utils.py:63: OverflowError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00023843301460146904` +`0.00023275101557374` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #22 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_value_error` + +   
+   โŒ #23 - **Status:** โŒ `failed` -- **Duration:** `0.000190` s +- **Duration:** `0.000180` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_floating_point_overflow` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018401897978037596` +`0.00018357997760176659` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0001928539713844657` +`0.00017987808678299189` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `67``, `message: `ValueError: invalid literal for int() with base 10: 'invalid'`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `67``, `message: `ValueError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_value_error(): @@ -3617,118 +3105,96 @@ E ValueError: invalid literal for int() with base 10: 'invalid' tests/test_math_utils.py:67: ValueError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00026251794770359993` +`0.00023246696218848228` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #23 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_type_error` + +   
+   โŒ #24 - **Status:** โŒ `failed` -- **Duration:** `0.000193` s +- **Duration:** `0.000180` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_value_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00019482697825878859` +`0.00018611294217407703` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017941708210855722` +`0.0001799499150365591` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `71``, `message: `TypeError: 'int' object is not iterable`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `71``, `message: `TypeError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_type_error(): @@ -3738,118 +3204,96 @@ E TypeError: 'int' object is not iterable tests/test_math_utils.py:71: TypeError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.000245489994995296` +`0.0002380460500717163` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #24 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_unhandled_exception` + +   
+   โŒ #25 - **Status:** โŒ `failed` -- **Duration:** `0.000179` s +- **Duration:** `0.000182` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_type_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.000184096978046` +`0.00018037296831607819` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017236906569451094` +`0.00018156494479626417` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `75``, `message: `Exception: Generic unhandled exception`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `75``, `message: `Exception`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_unhandled_exception(): @@ -3859,118 +3303,96 @@ E Exception: Generic unhandled exception tests/test_math_utils.py:75: Exception` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00024390197359025478` +`0.000251248013228178` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #25 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_custom_error` + +   
+   โŒ #26 - **Status:** โŒ `failed` -- **Duration:** `0.000172` s +- **Duration:** `0.000185` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_unhandled_exception` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018311606254428625` +`0.00023080199025571346` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017758295871317387` +`0.00018452503718435764` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `79``, `message: `test_math_utils.CustomError: Custom error simulation`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `79``, `message: `CustomError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_custom_error(): @@ -3980,118 +3402,96 @@ E test_math_utils.CustomError: Custom error simulation tests/test_math_utils.py:79: CustomError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00023894000332802534` +`0.00024162698537111282` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #26 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_stop_iteration_direct` + +   
+   โŒ #27 - **Status:** โŒ `failed` -- **Duration:** `0.000178` s +- **Duration:** `0.000168` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_custom_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0001836409792304039` +`0.0001819099998101592` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0001765630440786481` +`0.00016807694919407368` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ 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 +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py``, `lineno: `341``, `message: `None``, `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 +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_stop_iteration_direct(): @@ -4104,7 +3504,7 @@ tests/test_math_utils.py:83: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f47003f0a60> +func = . at 0x7efe15325700> when = 'call' reraise = (, ) @@ -4165,118 +3565,96 @@ E RuntimeError: generator raised StopIteration .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.000472380081191659` +`0.0003975549479946494` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #27 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_generator_exit_direct` + +   
+   โŒ #28 - **Status:** โŒ `failed` -- **Duration:** `0.000177` s +- **Duration:** `0.000201` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_stop_iteration_direct` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00028075301088392735` +`0.00025572499725967646` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002173180691897869` +`0.00020132306963205338` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `87``, `message: `GeneratorExit`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `87``, `message: `GeneratorExit`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_generator_exit_direct(): @@ -4286,118 +3664,96 @@ E GeneratorExit tests/test_math_utils.py:87: GeneratorExit` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0003219450591132045` +`0.0002829260192811489` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #28 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_recursion_limit` + +   
+   โŒ #29 - **Status:** โŒ `failed` -- **Duration:** `0.000217` s +- **Duration:** `0.000188` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_generator_exit_direct` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0002248359378427267` +`0.00018872099462896585` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002037379890680313` +`0.0001881009666249156` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ 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 +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `92``, `message: `RecursionError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_recursion_limit(): @@ -4408,98 +3764,80 @@ E RecursionError: cannot set the recursion limit to 50 at the recursion de tests/test_math_utils.py:92: RecursionError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002630179515108466` +`0.0002538140397518873` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #29 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_malformed_code` + +   
+   โŒ #30 - **Status:** โŒ `failed` -- **Duration:** `0.000204` s +- **Duration:** `0.000182` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_recursion_limit` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00019060890190303326` +`0.0001847120001912117` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002044100547209382` +`0.0001822509802877903` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `102``, `message: ` File "", line 1 @@ -4507,22 +3845,18 @@ tests/test_math_utils.py:92: RecursionError` ^ SyntaxError: invalid syntax`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `102``, `message: `SyntaxError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_malformed_code(): @@ -4535,118 +3869,96 @@ E SyntaxError: invalid syntax tests/test_math_utils.py:102: SyntaxError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00025631592143327` +`0.00024621898774057627` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #30 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_sys_exit` + +   
+   โŒ #31 - **Status:** โŒ `failed` -- **Duration:** `0.000204` s +- **Duration:** `0.000170` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_malformed_code` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00019678997341543436` +`0.00018725695554167032` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017622997984290123` +`0.00017039699014276266` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `106``, `message: `SystemExit: 1`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `106``, `message: `SystemExit`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_sys_exit(): @@ -4656,32 +3968,36 @@ E SystemExit: 1 tests/test_math_utils.py:106: SystemExit` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002375290496274829` +`0.00023923104163259268` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #31 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_broken_function` + +   
+   โŒ #32 - **Status:** โŒ `failed` - **Duration:** `0.000176` s @@ -4689,85 +4005,59 @@ tests/test_math_utils.py:106: SystemExit` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_sys_exit` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018213398288935423` +`0.00018466589972376823` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00018136901780962944` +`0.00017563498113304377` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `111``, `message: `TypeError: Broken function`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `112``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `111``, `message: `TypeError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_broken_function(): @@ -4787,118 +4077,96 @@ E TypeError: Broken function tests/test_math_utils.py:111: TypeError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002389609580859542` +`0.00023910310119390488` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #32 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_import_error_patch` + +   
+   โŒ #33 - **Status:** โŒ `failed` -- **Duration:** `0.000181` s +- **Duration:** `0.000195` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_broken_function` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018475099932402372` +`0.00018137507140636444` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00019238190725445747` +`0.00019548693671822548` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `119``, `message: `ImportError: Simulated ImportError`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `124``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `119``, `message: `ImportError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_import_error_patch(): @@ -4925,118 +4193,96 @@ E ImportError: Simulated ImportError tests/test_math_utils.py:119: ImportError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002479259856045246` +`0.0002520029665902257` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #33 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_module_not_found_error` + +   
+   โŒ #34 - **Status:** โŒ `failed` -- **Duration:** `0.000192` s +- **Duration:** `0.000492` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_import_error_patch` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00017871602904051542` +`0.00019792199600487947` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0005024210549890995` +`0.0004920820938423276` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: ```, `lineno: `973``, `message: `ModuleNotFoundError: No module named 'non_existent_module_xyz'`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ 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`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_module_not_found_error(): @@ -5054,132 +4300,108 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' :973: ModuleNotFoundError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002615349367260933` +`0.0002461029216647148` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #34 +    
+ +    + +   + +  + 
+ ๐Ÿ“ test_string_utils.py + +  
+  ๐Ÿ”ง Function: `test_uppercase_type_error` + +   
+   โŒ #36 - **Status:** โŒ `failed` -- **Duration:** `0.000502` s +- **Duration:** `0.000182` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_module_not_found_error` - -
-
- -
-
-๐Ÿ“ test_math_utils.py - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00018691702280193567` +`0.0001716220285743475` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00018570292741060257` +`0.0001819769386202097` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/functions/string_utils.py``, `lineno: `3``, `message: `TypeError: Input cannot be None`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_string_utils.py``, `lineno: `14``, `message: `None``, `path: `functions/string_utils.py``, `lineno: `3``, `message: `TypeError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_uppercase_type_error(): @@ -5198,118 +4420,96 @@ E TypeError: Input cannot be None functions/string_utils.py:3: TypeError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00023565697483718395` +`0.00023382599465548992` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #36 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_unicode_decode_error` + +   
+   โŒ #39 - **Status:** โŒ `failed` -- **Duration:** `0.000186` s +- **Duration:** `0.000172` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_uppercase_type_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00017111410852521658` +`0.00017644697800278664` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017836201004683971` +`0.00017208501230925322` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ 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 +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_string_utils.py``, `lineno: `26``, `message: `UnicodeDecodeError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_unicode_decode_error(): @@ -5319,118 +4519,96 @@ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: tests/test_string_utils.py:26: UnicodeDecodeError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00023393600713461637` +`0.00023424800019711256` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #39 +    
+ +    + +   +  
+  ๐Ÿ”ง Function: `test_unicode_decode_surrogateescape` + +   
+   โŒ #40 - **Status:** โŒ `failed` -- **Duration:** `0.000178` s +- **Duration:** `0.000173` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_unicode_decode_error` - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.0001992459874600172` +`0.00019498495385050774` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00017886899877339602` +`0.00017289898823946714` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `failed` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ 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 +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_string_utils.py``, `lineno: `30``, `message: `UnicodeDecodeError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `def test_unicode_decode_surrogateescape(): @@ -5440,133 +4618,107 @@ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: tests/test_string_utils.py:30: UnicodeDecodeError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.00023504404816776514` +`0.00023634603712707758` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` + +    
+ +    + +   + +  + -
- -
-โŒ #40 +โŒ Xfailed (2) -- **Status:** โŒ `failed` -- **Duration:** `0.000179` s + 
+ ๐Ÿ“ test_math_utils.py + +  
+  ๐Ÿ”ง Function: `test_multiply_xfail` + +   
+   โŒ #16 + +- **Status:** โŒ `xfailed` +- **Duration:** `0.000289` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_unicode_decode_surrogateescape` - -
-
- -
-
-๐Ÿ“ test_string_utils.py - -
-
- -
-
-โŒ Failed (32) - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00019785691983997822` +`0.00020583299919962883` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002895509824156761` +`0.00028874899726361036` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `skipped` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `37``, `message: `assert 4 == 5 + where 4 = multiply(2, 2)`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_math_utils.py``, `lineno: `37``, `message: `AssertionError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `@pytest.mark.xfail(reason="Expected failure") @@ -5578,105 +4730,85 @@ E + where 4 = multiply(2, 2) tests/test_math_utils.py:37: AssertionError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002534349914640188` +`0.00025676097720861435` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #16 +    
+ +    + +   + +  + 
+ ๐Ÿ“ test_string_utils.py + +  
+  ๐Ÿ”ง Function: `test_xfail_uppercase_digits` + +   
+   โŒ #42 - **Status:** โŒ `xfailed` -- **Duration:** `0.000290` s +- **Duration:** `0.000627` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase - -
-
- -
-
-๐Ÿ”ง Function: `test_multiply_xfail` - -
-
- -
-
-๐Ÿ“ test_math_utils.py - -
-
- -
-
-๐Ÿ“Œ Duration +    
+    ๐Ÿ“Œ Duration ``` -`0.00019984901882708073` +`0.00019526993855834007` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Call Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0006323779234662652` +`0.0006266819545999169` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `skipped` ``` -
-
-
-
-๐Ÿ“Œ Crash +    
+    
+    ๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_string_utils.py``, `lineno: `39``, `message: `AssertionError: assert 'ABC123' == 'ABC1234' @@ -5685,22 +4817,18 @@ tests/test_math_utils.py:37: AssertionError` ? - + ABC123`` ``` -
-
-
-
-๐Ÿ“Œ Traceback +    
+    
+    ๐Ÿ“Œ Traceback ``` `path: `tests/test_string_utils.py``, `lineno: `39``, `message: `AssertionError`` ``` -
-
-
-
-๐Ÿ“Œ Longrepr +    
+    
+    ๐Ÿ“Œ Longrepr ``` `@pytest.mark.xfail(reason="Expected failure: uppercase does not handle digits") @@ -5715,73 +4843,41 @@ E + ABC123 tests/test_string_utils.py:39: AssertionError` ``` -
-
-
-
-๐Ÿ“Œ Duration +    
+ +### ๐Ÿ”ง Teardown Phase + +    
+    ๐Ÿ“Œ Duration ``` -`0.0002704929793253541` +`0.000263654044829309` ``` -
-
-
-
-๐Ÿ“Œ Outcome +    
+    
+    ๐Ÿ“Œ Outcome ``` `passed` ``` -
-
-
-
-โŒ #42 +    
-- **Status:** โŒ `xfailed` -- **Duration:** `0.000632` s -- **Severity:** `normal` +    -### ๐Ÿ”ง Setup Phase +   - -### ๐Ÿ”ง Call Phase - - -### ๐Ÿ”ง Teardown Phase +  -
- -
-
-๐Ÿ”ง Function: `test_xfail_uppercase_digits` - -
-
- -
-
-๐Ÿ“ test_string_utils.py - -
-
- -
-
-โŒ Xfailed (2) - -
-
- ## ๐Ÿ“š Collected files -
-
-โœ… + 
+ โœ… (1 tests) + +  
+  โœ… - **Outcome:** `passed` - **Details:** @@ -5790,19 +4886,15 @@ result: `nodeid: `.``, `type: `Dir`` ``` -
-
-
-
-โœ… (1 tests) +  
- -
+  + 
+ โœ… allure-results (1 tests) -
-
-โœ… allure-results +  
+  โœ… allure-results - **Outcome:** `passed` - **Details:** @@ -5811,19 +4903,15 @@ result: ``` -
-
-
-
-โœ… allure-results (1 tests) +  
-
- +  + 
+ โœ… ci-reports (4 tests) -
-
-โœ… ci-reports +  
+  โœ… ci-reports - **Outcome:** `passed` - **Details:** @@ -5832,12 +4920,10 @@ result: `nodeid: `ci-reports/allure``, `type: `Dir``, `nodeid: `ci-reports/coverage``, `type: `Dir``, `nodeid: `ci-reports/markdown``, `type: `Dir`` ``` -
-
-
-
-โœ… ci-reports/allure +  
+  
+  โœ… ci-reports/allure - **Outcome:** `passed` - **Details:** @@ -5846,12 +4932,10 @@ result: ``` -
-
-
-
-โœ… ci-reports/coverage +  
+  
+  โœ… ci-reports/coverage - **Outcome:** `passed` - **Details:** @@ -5860,12 +4944,10 @@ result: ``` -
-
-
-
-โœ… ci-reports/markdown +  
+  
+  โœ… ci-reports/markdown - **Outcome:** `passed` - **Details:** @@ -5874,19 +4956,15 @@ result: ``` -
-
-
-
-โœ… ci-reports (4 tests) +  
-
- +  + 
+ โœ… functions (1 tests) -
-
-โœ… functions +  
+  โœ… functions - **Outcome:** `passed` - **Details:** @@ -5895,19 +4973,15 @@ result: ``` -
-
-
-
-โœ… functions (1 tests) +  
-
- +  + 
+ โŒ tests (6 tests) -
-
-โœ… tests +  
+  โœ… tests - **Outcome:** `passed` - **Details:** @@ -5916,12 +4990,10 @@ 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`` ``` -
-
-
-
-โŒ tests/test_broken_fct.py +  
+  
+  โŒ tests/test_broken_fct.py - **Outcome:** `failed` - **Details:** @@ -5956,12 +5028,10 @@ E ^ E SyntaxError: invalid syntax` ``` -
-
-
-
-โŒ tests/test_collector_error.py +  
+  
+  โŒ tests/test_collector_error.py - **Outcome:** `failed` - **Details:** @@ -5980,12 +5050,10 @@ tests/test_collector_error.py:1: in E ModuleNotFoundError: No module named 'no_existing_module'` ``` -
-
-
-
-โœ… tests/test_io_utils.py +  
+  
+  โœ… tests/test_io_utils.py - **Outcome:** `passed` - **Details:** @@ -5994,12 +5062,10 @@ 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`` ``` -
-
-
-
-โœ… tests/test_math_utils.py +  
+  
+  โœ… tests/test_math_utils.py - **Outcome:** `passed` - **Details:** @@ -6008,12 +5074,10 @@ 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`` ``` -
-
-
-
-โœ… tests/test_string_utils.py +  
+  
+  โœ… tests/test_string_utils.py - **Outcome:** `passed` - **Details:** @@ -6022,19 +5086,15 @@ 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`` ``` -
-
-
-
-โŒ tests (6 tests) +  
-
- +  + 
+ โœ… . (1 tests) -
-
-โœ… . +  
+  โœ… . - **Outcome:** `passed` - **Details:** @@ -6043,21 +5103,14 @@ result: `nodeid: `allure-results``, `type: `Dir``, `nodeid: `ci-reports``, `type: `Dir``, `nodeid: `functions``, `type: `Package``, `nodeid: `tests``, `type: `Dir`` ``` -
-
-
-
-โœ… . (1 tests) - -
-
+  
+  ## โš ๏ธ Warnings -
-
-Warning #1 + 
+ Warning #1 ``` message: Test warning @@ -6066,6 +5119,5 @@ when: runtest filename: /workspace/tligui_y/slic/tests/test_string_utils.py lineno: 22 ``` -
-
+  diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index a91633f6..0c197a1f 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752570634.519462, "duration": 0.73138427734375, "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.003840056946501136, "outcome": "passed"}, "call": {"duration": 0.0005439789965748787, "outcome": "passed"}, "teardown": {"duration": 0.0015220239292830229, "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.0006685680709779263, "outcome": "passed"}, "call": {"duration": 0.0003549410030245781, "outcome": "passed"}, "teardown": {"duration": 0.0006676089251413941, "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.00018929701764136553, "outcome": "passed"}, "call": {"duration": 0.00018706289120018482, "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.0002755681052803993, "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.00020188000053167343, "outcome": "passed"}, "call": {"duration": 0.00020430691074579954, "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.00024627207312732935, "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.00037740101106464863, "outcome": "passed"}, "call": {"duration": 0.0002153739333152771, "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 0x7f46fdf150a0>\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.0007257390534505248, "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.00036263803485780954, "outcome": "passed"}, "call": {"duration": 0.0033483050065115094, "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 0x7f46fdf15f40>\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.0011990530183538795, "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.00027082895394414663, "outcome": "passed"}, "call": {"duration": 0.00021214806474745274, "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.0003006960032507777, "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.00047612201888114214, "outcome": "passed"}, "call": {"duration": 0.0002340549835935235, "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 0x7f46fe1bc160>\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.0008299950277432799, "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.0008469339227303863, "outcome": "passed"}, "call": {"duration": 0.0010061180219054222, "outcome": "passed"}, "teardown": {"duration": 0.0007113389438018203, "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.00019154499750584364, "outcome": "passed"}, "call": {"duration": 0.000197900109924376, "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.00024350499734282494, "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.00018972204998135567, "outcome": "passed"}, "call": {"duration": 0.00018012302462011576, "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.0002605980262160301, "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.00018680898938328028, "outcome": "passed"}, "call": {"duration": 0.0001830579712986946, "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.00024249195121228695, "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.0001953629544004798, "outcome": "passed"}, "call": {"duration": 0.0001662669237703085, "outcome": "passed"}, "teardown": {"duration": 0.0002003329573199153, "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.0001842209603637457, "outcome": "passed"}, "call": {"duration": 0.0004994010087102652, "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.0002346410183236003, "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.0001925959950312972, "outcome": "passed"}, "call": {"duration": 0.0001823080237954855, "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.00024948001373559237, "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.00019785691983997822, "outcome": "passed"}, "call": {"duration": 0.0002895509824156761, "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.0002534349914640188, "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.00018928991630673409, "outcome": "passed"}, "call": {"duration": 0.0001842330675572157, "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.00024381408002227545, "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.00018384994473308325, "outcome": "passed"}, "call": {"duration": 0.00017606094479560852, "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.00023544998839497566, "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.00018030498176813126, "outcome": "passed"}, "call": {"duration": 0.00017127790488302708, "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.00023567897733300924, "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.00018820795230567455, "outcome": "passed"}, "call": {"duration": 0.0008314669830724597, "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.00023824302479624748, "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.00018485391046851873, "outcome": "passed"}, "call": {"duration": 0.00017546489834785461, "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.00025141495279967785, "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.0001812400296330452, "outcome": "passed"}, "call": {"duration": 0.00018977595027536154, "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.00023843301460146904, "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.00018401897978037596, "outcome": "passed"}, "call": {"duration": 0.0001928539713844657, "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.00026251794770359993, "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.00019482697825878859, "outcome": "passed"}, "call": {"duration": 0.00017941708210855722, "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.000245489994995296, "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.000184096978046, "outcome": "passed"}, "call": {"duration": 0.00017236906569451094, "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.00024390197359025478, "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.00018311606254428625, "outcome": "passed"}, "call": {"duration": 0.00017758295871317387, "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.00023894000332802534, "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.0001836409792304039, "outcome": "passed"}, "call": {"duration": 0.0001765630440786481, "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 0x7f47003f0a60>\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.000472380081191659, "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.00028075301088392735, "outcome": "passed"}, "call": {"duration": 0.0002173180691897869, "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.0003219450591132045, "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.0002248359378427267, "outcome": "passed"}, "call": {"duration": 0.0002037379890680313, "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.0002630179515108466, "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.00019060890190303326, "outcome": "passed"}, "call": {"duration": 0.0002044100547209382, "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.00025631592143327, "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.00019678997341543436, "outcome": "passed"}, "call": {"duration": 0.00017622997984290123, "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.0002375290496274829, "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.00018213398288935423, "outcome": "passed"}, "call": {"duration": 0.00018136901780962944, "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.0002389609580859542, "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.00018475099932402372, "outcome": "passed"}, "call": {"duration": 0.00019238190725445747, "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.0002479259856045246, "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.00017871602904051542, "outcome": "passed"}, "call": {"duration": 0.0005024210549890995, "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.0002615349367260933, "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.00021441897843033075, "outcome": "passed"}, "call": {"duration": 0.00017174496315419674, "outcome": "passed"}, "teardown": {"duration": 0.0001952419988811016, "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.00018691702280193567, "outcome": "passed"}, "call": {"duration": 0.00018570292741060257, "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.00023565697483718395, "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.00018296297639608383, "outcome": "passed"}, "call": {"duration": 0.0001638280227780342, "outcome": "passed"}, "teardown": {"duration": 0.00019457109738141298, "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.00018298800569027662, "outcome": "passed"}, "call": {"duration": 0.00017858203500509262, "outcome": "passed"}, "teardown": {"duration": 0.0001936639891937375, "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.00017111410852521658, "outcome": "passed"}, "call": {"duration": 0.00017836201004683971, "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.00023393600713461637, "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.0001992459874600172, "outcome": "passed"}, "call": {"duration": 0.00017886899877339602, "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.00023504404816776514, "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.0001873199362307787, "outcome": "passed"}, "call": {"duration": 0.00016476004384458065, "outcome": "passed"}, "teardown": {"duration": 0.0001961949747055769, "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.00019984901882708073, "outcome": "passed"}, "call": {"duration": 0.0006323779234662652, "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.0002704929793253541, "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.00019515701569616795, "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": 1752570960.495786, "duration": 0.7229514122009277, "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.0037785720778629184, "outcome": "passed"}, "call": {"duration": 0.0004637670936062932, "outcome": "passed"}, "teardown": {"duration": 0.0013348980573937297, "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.0006612989818677306, "outcome": "passed"}, "call": {"duration": 0.0003540359903126955, "outcome": "passed"}, "teardown": {"duration": 0.0006501510506495833, "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.00019443605560809374, "outcome": "passed"}, "call": {"duration": 0.00017924292478710413, "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.00025316106621176004, "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.00018958700820803642, "outcome": "passed"}, "call": {"duration": 0.0001988180447369814, "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.0002395479241386056, "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.0003548109671100974, "outcome": "passed"}, "call": {"duration": 0.00022170296870172024, "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 0x7efe165c82e0>\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.0006665659602731466, "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.00034516898449510336, "outcome": "passed"}, "call": {"duration": 0.0032553219934925437, "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 0x7efe127fc8b0>\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.0012053049867972732, "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.00026049010921269655, "outcome": "passed"}, "call": {"duration": 0.0002238159067928791, "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.0002783299423754215, "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.00043707003351300955, "outcome": "passed"}, "call": {"duration": 0.00021960493177175522, "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 0x7efe127f8490>\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.0007092769956216216, "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.0007660620613023639, "outcome": "passed"}, "call": {"duration": 0.0010817809961736202, "outcome": "passed"}, "teardown": {"duration": 0.0006616089958697557, "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.00017842301167547703, "outcome": "passed"}, "call": {"duration": 0.00019161601085215807, "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.00024590897373855114, "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.0002010789467021823, "outcome": "passed"}, "call": {"duration": 0.00016978802159428596, "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.0002367519773542881, "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.0001810810063034296, "outcome": "passed"}, "call": {"duration": 0.000174609012901783, "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.00023838295601308346, "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.00017961300909519196, "outcome": "passed"}, "call": {"duration": 0.0001666239695623517, "outcome": "passed"}, "teardown": {"duration": 0.0002013689372688532, "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.00018384691793471575, "outcome": "passed"}, "call": {"duration": 0.0004607420414686203, "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.00023762905038893223, "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.0001806989312171936, "outcome": "passed"}, "call": {"duration": 0.00018048996571451426, "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.00023666198831051588, "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.00020583299919962883, "outcome": "passed"}, "call": {"duration": 0.00028874899726361036, "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.00025676097720861435, "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.00018048007041215897, "outcome": "passed"}, "call": {"duration": 0.0001915080938488245, "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.000246651004999876, "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.00019312603399157524, "outcome": "passed"}, "call": {"duration": 0.00017707503866404295, "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.00024971901439130306, "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.00019565096590667963, "outcome": "passed"}, "call": {"duration": 0.00017284101340919733, "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.00024003395810723305, "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.00018435600213706493, "outcome": "passed"}, "call": {"duration": 0.0008116499520838261, "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.00024780293460935354, "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.00018578290473669767, "outcome": "passed"}, "call": {"duration": 0.00017420900985598564, "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.0002495360095053911, "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.00019228109158575535, "outcome": "passed"}, "call": {"duration": 0.0001870779087767005, "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.00023275101557374, "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.00018357997760176659, "outcome": "passed"}, "call": {"duration": 0.00017987808678299189, "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.00023246696218848228, "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.00018611294217407703, "outcome": "passed"}, "call": {"duration": 0.0001799499150365591, "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.0002380460500717163, "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.00018037296831607819, "outcome": "passed"}, "call": {"duration": 0.00018156494479626417, "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.000251248013228178, "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.00023080199025571346, "outcome": "passed"}, "call": {"duration": 0.00018452503718435764, "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.00024162698537111282, "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.0001819099998101592, "outcome": "passed"}, "call": {"duration": 0.00016807694919407368, "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 0x7efe15325700>\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.0003975549479946494, "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.00025572499725967646, "outcome": "passed"}, "call": {"duration": 0.00020132306963205338, "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.0002829260192811489, "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.00018872099462896585, "outcome": "passed"}, "call": {"duration": 0.0001881009666249156, "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.0002538140397518873, "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.0001847120001912117, "outcome": "passed"}, "call": {"duration": 0.0001822509802877903, "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.00024621898774057627, "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.00018725695554167032, "outcome": "passed"}, "call": {"duration": 0.00017039699014276266, "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.00023923104163259268, "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.00018466589972376823, "outcome": "passed"}, "call": {"duration": 0.00017563498113304377, "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.00023910310119390488, "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.00018137507140636444, "outcome": "passed"}, "call": {"duration": 0.00019548693671822548, "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.0002520029665902257, "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.00019792199600487947, "outcome": "passed"}, "call": {"duration": 0.0004920820938423276, "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.0002461029216647148, "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.00018690410070121288, "outcome": "passed"}, "call": {"duration": 0.0001679910346865654, "outcome": "passed"}, "teardown": {"duration": 0.00019400403834879398, "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.0001716220285743475, "outcome": "passed"}, "call": {"duration": 0.0001819769386202097, "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.00023382599465548992, "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.00018007599283009768, "outcome": "passed"}, "call": {"duration": 0.00017242797184735537, "outcome": "passed"}, "teardown": {"duration": 0.00019550707656890154, "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.0001840399345383048, "outcome": "passed"}, "call": {"duration": 0.00016543595120310783, "outcome": "passed"}, "teardown": {"duration": 0.00019185896962881088, "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.00017644697800278664, "outcome": "passed"}, "call": {"duration": 0.00017208501230925322, "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.00023424800019711256, "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.00019498495385050774, "outcome": "passed"}, "call": {"duration": 0.00017289898823946714, "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.00023634603712707758, "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.00017954804934561253, "outcome": "passed"}, "call": {"duration": 0.00016367295756936073, "outcome": "passed"}, "teardown": {"duration": 0.00019252998754382133, "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.00019526993855834007, "outcome": "passed"}, "call": {"duration": 0.0006266819545999169, "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.000263654044829309, "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.00019548798445612192, "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