From d9f98aaa77ffa70510fb42211ac21aef057d5af4 Mon Sep 17 00:00:00 2001 From: ci-bot Date: Tue, 15 Jul 2025 09:20:16 +0000 Subject: [PATCH] CI: update test and coverage reports --- ci-reports/markdown/TEST-REPORT.md | 4878 +++++++++++++++--------- ci-reports/markdown/pytest-report.json | 2 +- 2 files changed, 3151 insertions(+), 1729 deletions(-) diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 9e58f46f3..de8ea5f6b 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.79s ========= +========= 32 failed, 8 passed, 2 xfailed, 1 warning, 2 errors in 0.76s ========= ``` @@ -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: cov-5.0.0, metadata-3.1.1, allure-pytest-2.13.5, html-4.1.1, json-report-1.5.0, md-report-0.6.2 +plugins: html-4.1.1, metadata-3.1.1, allure-pytest-2.13.5, cov-5.0.0, md-report-0.6.2, json-report-1.5.0 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 0x7f25982c43a0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa743ee75b0> 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 0x7f25982e6160> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa7438d5a30> 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 0x7f2595ab99a0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa7412f2310> 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 0x7f2595812a60> +func = . at 0x7fa741162700> 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.79s ========= +========= 32 failed, 8 passed, 2 xfailed, 1 warning, 2 errors in 0.76s ========= ``` --- # ๐Ÿงช Test Report -*Generated on 2025-07-15 09:18:32* +*Generated on 2025-07-15 09:20:15* ## ๐Ÿ“‹ Summary - **Passed**: `9` @@ -634,235 +634,604 @@ ERROR tests/test_collector_error.py - **Xfailed**: `2` - **Total**: `43` - **Collected**: `43` -- **Total Duration**: `0.789`s +- **Total Duration**: `0.759`s ## ๐Ÿ”Ž Tests +
โœ… Passed (9)
๐Ÿ“ test_io_utils.py +
+
+๐Ÿ“ test_io_utils.py -  
-  ๐Ÿ”ง Function: `test_read_file` +
+
+๐Ÿ”ง Function: `test_read_file` -   
-   โœ… #1 +
+
+โœ… #1 - **Status:** โœ… `passed` -- **Duration:** `0.000538` s +- **Duration:** `0.000500` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.004093387979082763` +`0.003953231032937765` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0005377710331231356` +`0.0004997170763090253` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0016861290205270052` +`0.0013496149331331253` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
-   
-  
-  
-  ๐Ÿ”ง Function: `test_write_file` +
+
-   
-   โœ… #2 + +
+ + +
+
+๐Ÿ”ง Function: `test_write_file` + +
+
+โœ… #2 - **Status:** โœ… `passed` -- **Duration:** `0.000367` s +- **Duration:** `0.000353` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0007595060160383582` +`0.0006992800626903772` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.000367084052413702` +`0.0003531980328261852` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.000711483065970242` +`0.0006993979914113879` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_write_file_readonly` +
+ -   
-   โœ… #9 + +
+ + +
+
+๐Ÿ”ง Function: `test_write_file_readonly` + +
+
+โœ… #9 - **Status:** โœ… `passed` -- **Duration:** `0.000949` s +- **Duration:** `0.001139` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0009119659662246704` +`0.0008122669532895088` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.000949040986597538` +`0.0011393839959055185` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0007738699205219746` +`0.0006610990967601538` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   + + -  - 
๐Ÿ“ test_math_utils.py -  
-  ๐Ÿ”ง Function: `test_addition_pass` +
+ -   
-   โœ… #13 + +
+ + +
+
+๐Ÿ“ test_math_utils.py + +
+
+๐Ÿ”ง Function: `test_addition_pass` + +
+
+โœ… #13 + +- **Status:** โœ… `passed` +- **Duration:** `0.000177` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00019450800027698278` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00017680099699646235` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00020226999185979366` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+๐Ÿ“ test_string_utils.py + +
+
+๐Ÿ”ง Function: `test_uppercase_normal` + +
+
+โœ… #35 + +- **Status:** โœ… `passed` +- **Duration:** `0.000167` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00019505689851939678` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00016686797607690096` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00019744294695556164` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +
+
+ + +
+
+ +
+
+๐Ÿ”ง Function: `test_reverse_string` + +
+
+โœ… #37 + +- **Status:** โœ… `passed` +- **Duration:** `0.000172` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.0001927330158650875` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00017161399591714144` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration + +``` +`0.00019116699695587158` +``` + +
+
+ +
+
+๐Ÿ“Œ Outcome + +``` +`passed` +``` + +
+
+ + +
+
+ + +
+
+ +
+
+๐Ÿ”ง Function: `test_warning_emit` + +
+
+โœ… #38 - **Status:** โœ… `passed` - **Duration:** `0.000176` s @@ -870,354 +1239,187 @@ ERROR tests/test_collector_error.py ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00022130401339381933` +`0.00018652109429240227` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00017574999947100878` +`0.00017640297301113605` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00022759498097002506` +`0.00019551697187125683` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
-   
-   + + -  - 
๐Ÿ“ test_string_utils.py -  
-  ๐Ÿ”ง Function: `test_uppercase_normal` +
+ -   
-   โœ… #35 +
+
+๐Ÿ”ง Function: `test_import_warning` + +
+
+โœ… #41 - **Status:** โœ… `passed` -- **Duration:** `0.000178` s +- **Duration:** `0.000161` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00021483201999217272` +`0.0001925099641084671` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0001778550213202834` +`0.00016066001262515783` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00021575798746198416` +`0.00018967606592923403` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -   
-  
-  
-  ๐Ÿ”ง Function: `test_reverse_string` +
+ -   
-   โœ… #37 -- **Status:** โœ… `passed` -- **Duration:** `0.000166` s -- **Severity:** `normal` +
+ -### ๐Ÿ”ง Setup Phase +
+
+๐Ÿ”ง Function: `test_keyboard_interrupt_direct` -    
-    ๐Ÿ“Œ Duration - -``` -`0.00019651209004223347` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -### ๐Ÿ”ง Call Phase - -    
-    ๐Ÿ“Œ Duration - -``` -`0.0001656869426369667` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -### ๐Ÿ”ง Teardown Phase - -    
-    ๐Ÿ“Œ Duration - -``` -`0.00020048196893185377` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -   
- -   -  
-  ๐Ÿ”ง Function: `test_warning_emit` - -   
-   โœ… #38 - -- **Status:** โœ… `passed` -- **Duration:** `0.000171` s -- **Severity:** `normal` - -### ๐Ÿ”ง Setup Phase - -    
-    ๐Ÿ“Œ Duration - -``` -`0.00017491099424660206` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -### ๐Ÿ”ง Call Phase - -    
-    ๐Ÿ“Œ Duration - -``` -`0.0001713320380076766` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -### ๐Ÿ”ง Teardown Phase - -    
-    ๐Ÿ“Œ Duration - -``` -`0.00019461405463516712` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -   
- -  
-  
-  ๐Ÿ”ง Function: `test_import_warning` - -   
-   โœ… #41 - -- **Status:** โœ… `passed` -- **Duration:** `0.000164` s -- **Severity:** `normal` - -### ๐Ÿ”ง Setup Phase - -    
-    ๐Ÿ“Œ Duration - -``` -`0.0001853490248322487` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -### ๐Ÿ”ง Call Phase - -    
-    ๐Ÿ“Œ Duration - -``` -`0.00016365200281143188` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -### ๐Ÿ”ง Teardown Phase - -    
-    ๐Ÿ“Œ Duration - -``` -`0.00019031495321542025` -``` - -    
-    
-    ๐Ÿ“Œ Outcome - -``` -`passed` -``` - -    
- -   
- -  
-  
-  ๐Ÿ”ง Function: `test_keyboard_interrupt_direct` - -   
-   โœ… #43 +
+
+โœ… #43 - **Status:** โœ… `passed` - **Duration:** `None` @@ -1225,101 +1427,138 @@ ERROR tests/test_collector_error.py ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0001829260727390647` +`0.0001838860334828496` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
-   
- -  
- -  +
+ + + + + + + + + + + + + +
โŒ Failed (32)
๐Ÿ“ test_io_utils.py +
+
+๐Ÿ“ test_io_utils.py -  
-  ๐Ÿ”ง Function: `test_cause_io_error` +
+
+๐Ÿ”ง Function: `test_cause_io_error` -   
-   โŒ #3 +
+
+โŒ #3 - **Status:** โŒ `failed` -- **Duration:** `0.000197` s +- **Duration:** `0.000188` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00020144903101027012` +`0.00019257492385804653` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.000196772045455873` +`0.0001880340278148651` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ 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(): @@ -1336,95 +1575,128 @@ E OSError: Forced IO Error for testing functions/io_utils.py:10: OSError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00030560395680367947` +`0.00025671301409602165` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
-   
-  
-  
-  ๐Ÿ”ง Function: `test_file_not_found` +
+
-   
-   โŒ #4 + +
+ + +
+
+๐Ÿ”ง Function: `test_file_not_found` + +
+
+โŒ #4 - **Status:** โŒ `failed` -- **Duration:** `0.000233` s +- **Duration:** `0.000200` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00022436794824898243` +`0.00020201492588967085` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002325759269297123` +`0.00019950990099459887` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -1443,98 +1715,131 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.fil functions/io_utils.py:2: FileNotFoundError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00028295593801885843` +`0.00024160195607692003` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_permission_error` +
+ -   
-   โŒ #5 + +
+ + +
+
+๐Ÿ”ง Function: `test_permission_error` + +
+
+โŒ #5 - **Status:** โŒ `failed` -- **Duration:** `0.000239` s +- **Duration:** `0.000221` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00048126198817044497` +`0.0003951159305870533` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00023933802731335163` +`0.0002208859659731388` ``` -    
-    
-    ๐Ÿ“Œ 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 0x7f25982c43a0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa743ee75b0> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -1558,98 +1863,131 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0008072400232777` +`0.0007182370172813535` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_mock_open_error` +
+ -   
-   โŒ #6 + +
+ + +
+
+๐Ÿ”ง Function: `test_mock_open_error` + +
+
+โŒ #6 - **Status:** โŒ `failed` -- **Duration:** `0.003436` s +- **Duration:** `0.003442` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0003915380220860243` +`0.0003851780202239752` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.003435635007917881` +`0.003441539010964334` ``` -    
-    
-    ๐Ÿ“Œ 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 0x7f25982e6160> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa7438d5a30> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -1666,7 +2004,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): @@ -1682,95 +2020,128 @@ E OSError: Mocked IOError .pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.001343012903816998` +`0.0012900480069220066` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_file_handle_closed_error` +
+ -   
-   โŒ #7 + +
+ + +
+
+๐Ÿ”ง Function: `test_file_handle_closed_error` + +
+
+โŒ #7 - **Status:** โŒ `failed` -- **Duration:** `0.000225` s +- **Duration:** `0.000239` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00028059002943336964` +`0.0002723770448938012` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00022480799816548824` +`0.00023924896959215403` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -1783,98 +2154,131 @@ E ValueError: I/O operation on closed file tests/test_io_utils.py:50: ValueError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0003008190542459488` +`0.0003098829183727503` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_os_error` +
+ -   
-   โŒ #8 + +
+ + +
+
+๐Ÿ”ง Function: `test_os_error` + +
+
+โŒ #8 - **Status:** โŒ `failed` -- **Duration:** `0.000251` s +- **Duration:** `0.000256` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.000523898983374238` +`0.0005236429860815406` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00025064509827643633` +`0.00025640404783189297` ``` -    
-    
-    ๐Ÿ“Œ 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 0x7f2595ab99a0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fa7412f2310> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -1895,95 +2299,128 @@ E OSError: Simulated OSError tests/test_io_utils.py:55: OSError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0009609709959477186` +`0.0007995649939402938` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_file_not_found_error` +
+ -   
-   โŒ #10 + +
+ + +
+
+๐Ÿ”ง Function: `test_file_not_found_error` + +
+
+โŒ #10 - **Status:** โŒ `failed` -- **Duration:** `0.000206` s +- **Duration:** `0.000281` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019951805006712675` +`0.00018451910000294447` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00020588596817106009` +`0.0002811789745464921` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -1994,100 +2431,136 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.tx tests/test_io_utils.py:69: FileNotFoundError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002586179180070758` +`0.0002926320303231478` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   + + -  - 
๐Ÿ“ test_math_utils.py -  
-  ๐Ÿ”ง Function: `test_broken` +
+ -   
-   โŒ #11 + +
+ + +
+
+๐Ÿ“ test_math_utils.py + +
+
+๐Ÿ”ง Function: `test_broken` + +
+
+โŒ #11 - **Status:** โŒ `failed` -- **Duration:** `0.000202` s +- **Duration:** `0.000179` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00020885502453893423` +`0.00019819196313619614` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002023950219154358` +`0.00017909391317516565` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2098,95 +2571,128 @@ E NameError: name 'want_the_test_to_fail' is not defined tests/test_math_utils.py:16: NameError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00025518902111798525` +`0.00023974303621798754` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
-   
-   -  
-  ๐Ÿ”ง Function: `test_call_missing_function` +
+ -   
-   โŒ #12 + +
+ + +
+
+๐Ÿ”ง Function: `test_call_missing_function` + +
+
+โŒ #12 - **Status:** โŒ `failed` -- **Duration:** `0.000187` s +- **Duration:** `0.000230` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019782304298132658` +`0.00020598992705345154` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018719700165092945` +`0.00023006508126854897` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2197,96 +2703,129 @@ E AttributeError: module 'functions.math_utils' has no attribute 'non_exis tests/test_math_utils.py:20: AttributeError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00029329408425837755` +`0.00024699000641703606` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_addition_fail` +
+ -   
-   โŒ #14 + +
+ + +
+
+๐Ÿ”ง Function: `test_addition_fail` + +
+
+โŒ #14 - **Status:** โŒ `failed` -- **Duration:** `0.000544` s +- **Duration:** `0.000602` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0001996189821511507` +`0.00019634002819657326` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0005441659595817327` +`0.0006019800202921033` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2298,95 +2837,128 @@ E + where 4 = addition(2, 2) tests/test_math_utils.py:28: AssertionError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00025844399351626635` +`0.00024056097026914358` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_division_zero` +
+ -   
-   โŒ #15 + +
+ + +
+
+๐Ÿ”ง Function: `test_division_zero` + +
+
+โŒ #15 - **Status:** โŒ `failed` -- **Duration:** `0.000201` s +- **Duration:** `0.000214` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0001964019611477852` +`0.00018539198208600283` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002009510062634945` +`0.00021358707454055548` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2405,95 +2977,128 @@ E ZeroDivisionError: division by zero functions/math_utils.py:5: ZeroDivisionError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00030286505352705717` +`0.00023602298460900784` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_runtime_error` +
+ -   
-   โŒ #17 + +
+ + +
+
+๐Ÿ”ง Function: `test_runtime_error` + +
+
+โŒ #17 - **Status:** โŒ `failed` -- **Duration:** `0.000194` s +- **Duration:** `0.000202` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019927695393562317` +`0.00018298905342817307` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019363302271813154` +`0.00020223006140440702` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2504,95 +3109,128 @@ E RuntimeError: Forced runtime error tests/test_math_utils.py:41: RuntimeError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002692560665309429` +`0.0002461529802531004` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_memory_error` +
+ -   
-   โŒ #18 + +
+ + +
+
+๐Ÿ”ง Function: `test_memory_error` + +
+
+โŒ #18 - **Status:** โŒ `failed` -- **Duration:** `0.000182` s +- **Duration:** `0.000183` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002476500812917948` +`0.00018301093950867653` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018213700968772173` +`0.00018329406157135963` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2603,95 +3241,128 @@ E MemoryError: Simulated memory error tests/test_math_utils.py:45: MemoryError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00027034501545131207` +`0.00028320099227130413` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_timeout_error` +
+ -   
-   โŒ #19 + +
+ + +
+
+๐Ÿ”ง Function: `test_timeout_error` + +
+
+โŒ #19 - **Status:** โŒ `failed` -- **Duration:** `0.000224` s +- **Duration:** `0.000174` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019982305821031332` +`0.00018488208297640085` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002241849433630705` +`0.00017402507364749908` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2702,95 +3373,128 @@ E TimeoutError: Simulated timeout error tests/test_math_utils.py:49: TimeoutError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002754859160631895` +`0.0002408480504527688` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_recursion_error` +
+ -   
-   โŒ #20 + +
+ + +
+
+๐Ÿ”ง Function: `test_recursion_error` + +
+
+โŒ #20 - **Status:** โŒ `failed` -- **Duration:** `0.000848` s +- **Duration:** `0.000852` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00020879704970866442` +`0.00019149493891745806` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0008483810815960169` +`0.0008523939177393913` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2809,95 +3513,128 @@ E RecursionError: maximum recursion depth exceeded !!! Recursion detected (same locals & position)` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00029597501270473003` +`0.00029571307823061943` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_floating_point_error` +
+ -   
-   โŒ #21 + +
+ + +
+
+๐Ÿ”ง Function: `test_floating_point_error` + +
+
+โŒ #21 - **Status:** โŒ `failed` -- **Duration:** `0.000188` s +- **Duration:** `0.000215` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00021765101701021194` +`0.00021064397878944874` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018776394426822662` +`0.0002152139786630869` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -2908,95 +3645,128 @@ E FloatingPointError: Simulated floating point error tests/test_math_utils.py:59: FloatingPointError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002610129304230213` +`0.0002656790893524885` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_floating_point_overflow` +
+ -   
-   โŒ #22 + +
+ + +
+
+๐Ÿ”ง Function: `test_floating_point_overflow` + +
+
+โŒ #22 - **Status:** โŒ `failed` -- **Duration:** `0.000199` s +- **Duration:** `0.000186` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019763805903494358` +`0.00020654394757002592` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019909499678760767` +`0.00018574995920062065` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3007,95 +3777,128 @@ E OverflowError: math range error tests/test_math_utils.py:63: OverflowError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002505260054022074` +`0.0002465989673510194` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_value_error` +
+ -   
-   โŒ #23 + +
+ + +
+
+๐Ÿ”ง Function: `test_value_error` + +
+
+โŒ #23 - **Status:** โŒ `failed` -- **Duration:** `0.000204` s +- **Duration:** `0.000188` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00020628294441848993` +`0.00018801505211740732` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00020387000404298306` +`0.00018773297779262066` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3106,95 +3909,128 @@ E ValueError: invalid literal for int() with base 10: 'invalid' tests/test_math_utils.py:67: ValueError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00025199505034834146` +`0.00024106795899569988` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_type_error` +
+ -   
-   โŒ #24 + +
+ + +
+
+๐Ÿ”ง Function: `test_type_error` + +
+
+โŒ #24 - **Status:** โŒ `failed` -- **Duration:** `0.000178` s +- **Duration:** `0.000175` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00020010699518024921` +`0.0001819009194150567` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00017762102652341127` +`0.00017486209981143475` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3205,95 +4041,128 @@ E TypeError: 'int' object is not iterable tests/test_math_utils.py:71: TypeError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.000241147936321795` +`0.00024590303655713797` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_unhandled_exception` +
+ -   
-   โŒ #25 + +
+ + +
+
+๐Ÿ”ง Function: `test_unhandled_exception` + +
+
+โŒ #25 - **Status:** โŒ `failed` -- **Duration:** `0.000180` s +- **Duration:** `0.000174` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018324400298297405` +`0.00018333701882511377` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018006202299147844` +`0.0001738470746204257` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3304,95 +4173,128 @@ E Exception: Generic unhandled exception tests/test_math_utils.py:75: Exception` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00025759206619113684` +`0.00024080509319901466` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_custom_error` +
+ -   
-   โŒ #26 + +
+ + +
+
+๐Ÿ”ง Function: `test_custom_error` + +
+
+โŒ #26 - **Status:** โŒ `failed` -- **Duration:** `0.000211` s +- **Duration:** `0.000178` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0001849549589678645` +`0.00019698496907949448` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00021100707817822695` +`0.00017846596892923117` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3403,95 +4305,128 @@ E test_math_utils.CustomError: Custom error simulation tests/test_math_utils.py:79: CustomError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.000235288986004889` +`0.0002588540082797408` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_stop_iteration_direct` +
+ -   
-   โŒ #27 + +
+ + +
+
+๐Ÿ”ง Function: `test_stop_iteration_direct` + +
+
+โŒ #27 - **Status:** โŒ `failed` -- **Duration:** `0.000174` s +- **Duration:** `0.000204` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018596299923956394` +`0.00021098298020660877` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0001744370674714446` +`0.0002042980631813407` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3504,7 +4439,7 @@ tests/test_math_utils.py:83: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f2595812a60> +func = . at 0x7fa741162700> when = 'call' reraise = (, ) @@ -3566,95 +4501,128 @@ E RuntimeError: generator raised StopIteration .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00046115496661514044` +`0.00043534906581044197` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_generator_exit_direct` +
+ -   
-   โŒ #28 + +
+ + +
+
+๐Ÿ”ง Function: `test_generator_exit_direct` + +
+
+โŒ #28 - **Status:** โŒ `failed` -- **Duration:** `0.000221` s +- **Duration:** `0.000204` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00027706101536750793` +`0.00029049208387732506` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002214750275015831` +`0.00020375498570501804` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3665,95 +4633,128 @@ E GeneratorExit tests/test_math_utils.py:87: GeneratorExit` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0003533500712364912` +`0.0003201350336894393` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_recursion_limit` +
+ -   
-   โŒ #29 + +
+ + +
+
+๐Ÿ”ง Function: `test_recursion_limit` + +
+
+โŒ #29 - **Status:** โŒ `failed` -- **Duration:** `0.000210` s +- **Duration:** `0.000213` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00025161902885884047` +`0.00020320701878517866` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00021003105212002993` +`0.00021296599879860878` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3765,79 +4766,106 @@ E RecursionError: cannot set the recursion limit to 50 at the recursion de tests/test_math_utils.py:92: RecursionError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0003232719609513879` +`0.0002681509358808398` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_malformed_code` +
+ -   
-   โŒ #30 + +
+ + +
+
+๐Ÿ”ง Function: `test_malformed_code` + +
+
+โŒ #30 - **Status:** โŒ `failed` -- **Duration:** `0.000211` s +- **Duration:** `0.000190` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00021979701705276966` +`0.00020030001178383827` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002113250084221363` +`0.00019016896840184927` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `failed` ``` -    
-    
-    ๐Ÿ“Œ Crash +
+
+ +
+
+๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `102``, `message: ` File "", line 1 @@ -3846,17 +4874,23 @@ 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(): @@ -3870,95 +4904,128 @@ E SyntaxError: invalid syntax tests/test_math_utils.py:102: SyntaxError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00029950193129479885` +`0.00024469103664159775` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_sys_exit` +
+ -   
-   โŒ #31 + +
+ + +
+
+๐Ÿ”ง Function: `test_sys_exit` + +
+
+โŒ #31 - **Status:** โŒ `failed` -- **Duration:** `0.000238` s +- **Duration:** `0.000205` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00025072693824768066` +`0.00018210697453469038` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00023806700482964516` +`0.00020514207426458597` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -3969,95 +5036,128 @@ E SystemExit: 1 tests/test_math_utils.py:106: SystemExit` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00027265900280326605` +`0.00023666198831051588` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_broken_function` +
+ -   
-   โŒ #32 + +
+ + +
+
+๐Ÿ”ง Function: `test_broken_function` + +
+
+โŒ #32 - **Status:** โŒ `failed` -- **Duration:** `0.000204` s +- **Duration:** `0.000178` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0001912859734147787` +`0.0001862900098785758` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.000203976989723742` +`0.00017829693388193846` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -4078,95 +5178,128 @@ E TypeError: Broken function tests/test_math_utils.py:111: TypeError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002703070640563965` +`0.00023466499987989664` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_import_error_patch` +
+ -   
-   โŒ #33 + +
+ + +
+
+๐Ÿ”ง Function: `test_import_error_patch` + +
+
+โŒ #33 - **Status:** โŒ `failed` -- **Duration:** `0.000189` s +- **Duration:** `0.000208` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019543501548469067` +`0.00018135597929358482` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018940097652375698` +`0.00020764197688549757` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -4194,95 +5327,128 @@ E ImportError: Simulated ImportError tests/test_math_utils.py:119: ImportError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002546679461374879` +`0.00024646101519465446` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_module_not_found_error` +
+ -   
-   โŒ #34 + +
+ + +
+
+๐Ÿ”ง Function: `test_module_not_found_error` + +
+
+โŒ #34 - **Status:** โŒ `failed` -- **Duration:** `0.000508` s +- **Duration:** `0.000490` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018496101256459951` +`0.0001894650049507618` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0005082680145278573` +`0.0004897519247606397` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -4300,7 +5466,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -4308,100 +5474,136 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' :973: ModuleNotFoundError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0003018620191141963` +`0.00024961004965007305` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   + + -  - 
๐Ÿ“ test_string_utils.py -  
-  ๐Ÿ”ง Function: `test_uppercase_type_error` +
+ -   
-   โŒ #36 + +
+ + +
+
+๐Ÿ“ test_string_utils.py + +
+
+๐Ÿ”ง Function: `test_uppercase_type_error` + +
+
+โŒ #36 - **Status:** โŒ `failed` -- **Duration:** `0.000185` s +- **Duration:** `0.000190` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019432499539107084` +`0.00019351299852132797` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018464995082467794` +`0.00019047502428293228` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -4421,95 +5623,128 @@ E TypeError: Input cannot be None functions/string_utils.py:3: TypeError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00024818500969558954` +`0.00025047105737030506` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
-   
-   -  
-  ๐Ÿ”ง Function: `test_unicode_decode_error` +
+ -   
-   โŒ #39 + +
+ + +
+
+๐Ÿ”ง Function: `test_unicode_decode_error` + +
+
+โŒ #39 - **Status:** โŒ `failed` -- **Duration:** `0.000178` s +- **Duration:** `0.000179` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018095795530825853` +`0.00019369798246771097` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00017778202891349792` +`0.00017933896742761135` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -4520,95 +5755,128 @@ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: tests/test_string_utils.py:26: UnicodeDecodeError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00023226498160511255` +`0.00022983807139098644` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    -   -  
-  ๐Ÿ”ง Function: `test_unicode_decode_surrogateescape` +
+ -   
-   โŒ #40 + +
+ + +
+
+๐Ÿ”ง Function: `test_unicode_decode_surrogateescape` + +
+
+โŒ #40 - **Status:** โŒ `failed` -- **Duration:** `0.000188` s +- **Duration:** `0.000198` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018104200717061758` +`0.0001876510214060545` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00018806604202836752` +`0.0001978789223358035` ``` -    
-    
-    ๐Ÿ“Œ 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(): @@ -4619,106 +5887,145 @@ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: tests/test_string_utils.py:30: UnicodeDecodeError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002318070037290454` +`0.00024337891954928637` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+ -    - -   - -  + + + + + + + + + + + + + + +
โŒ Xfailed (2)
๐Ÿ“ test_math_utils.py +
+
+๐Ÿ“ test_math_utils.py -  
-  ๐Ÿ”ง Function: `test_multiply_xfail` +
+
+๐Ÿ”ง Function: `test_multiply_xfail` -   
-   โŒ #16 +
+
+โŒ #16 - **Status:** โŒ `xfailed` -- **Duration:** `0.000321` s +- **Duration:** `0.000394` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002091829665005207` +`0.00031021004542708397` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00032138393726199865` +`0.00039431103505194187` ``` -    
-    
-    ๐Ÿ“Œ 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") @@ -4731,84 +6038,114 @@ E + where 4 = multiply(2, 2) tests/test_math_utils.py:37: AssertionError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00028017093427479267` +`0.00026312097907066345` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
-   
-  
+ +
-  - 
๐Ÿ“ test_string_utils.py -  
-  ๐Ÿ”ง Function: `test_xfail_uppercase_digits` +
+ -   
-   โŒ #42 + +
+ + +
+
+๐Ÿ“ test_string_utils.py + +
+
+๐Ÿ”ง Function: `test_xfail_uppercase_digits` + +
+
+โŒ #42 - **Status:** โŒ `xfailed` -- **Duration:** `0.000682` s +- **Duration:** `0.000661` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.00019310705829411745` +`0.00019307504408061504` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
+ ### ๐Ÿ”ง Call Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0006816659588366747` +`0.0006609609117731452` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `skipped` ``` -    
-    
-    ๐Ÿ“Œ Crash +
+
+ +
+
+๐Ÿ“Œ Crash ``` `path: `/workspace/tligui_y/slic/tests/test_string_utils.py``, `lineno: `39``, `message: `AssertionError: assert 'ABC123' == 'ABC1234' @@ -4818,17 +6155,23 @@ 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") @@ -4844,40 +6187,58 @@ E + ABC123 tests/test_string_utils.py:39: AssertionError` ``` -    
+
+
+ ### ๐Ÿ”ง Teardown Phase -    
-    ๐Ÿ“Œ Duration +
+
+๐Ÿ“Œ Duration ``` -`0.0002609200309962034` +`0.00025563803501427174` ``` -    
-    
-    ๐Ÿ“Œ Outcome +
+
+ +
+
+๐Ÿ“Œ Outcome ``` `passed` ``` -    
+
+
-   
- -   - -  -## ๐Ÿ“š Collected files - 
โœ… (1 tests) + -  
-  โœ… + +
+ + + +
+ + + + + + +## ๐Ÿ“š Collected files +
+
+โœ… (1 tests) + +
+
+โœ… - **Outcome:** `passed` - **Details:** @@ -4887,14 +6248,20 @@ result: ``` -  
+
+
-  - 
โœ… allure-results (1 tests) -  
-  โœ… allure-results +
+ + +
+
+โœ… allure-results (1 tests) + +
+
+โœ… allure-results - **Outcome:** `passed` - **Details:** @@ -4904,14 +6271,20 @@ result: ``` -  
+
+
โœ… ci-reports (4 tests) -  
-  โœ… ci-reports +
+ + +
+
+โœ… ci-reports (4 tests) + +
+
+โœ… ci-reports - **Outcome:** `passed` - **Details:** @@ -4921,9 +6294,12 @@ result: ``` -  
-  
-  โœ… ci-reports/allure +
+
+ +
+
+โœ… ci-reports/allure - **Outcome:** `passed` - **Details:** @@ -4933,9 +6309,12 @@ result: ``` -  
-  
-  โœ… ci-reports/coverage +
+
+ +
+
+โœ… ci-reports/coverage - **Outcome:** `passed` - **Details:** @@ -4945,9 +6324,12 @@ result: ``` -  
-  
-  โœ… ci-reports/markdown +
+
+ +
+
+โœ… ci-reports/markdown - **Outcome:** `passed` - **Details:** @@ -4957,14 +6339,20 @@ result: ``` -  
+
+
โœ… functions (1 tests) -  
-  โœ… functions +
+ + +
+
+โœ… functions (1 tests) + +
+
+โœ… functions - **Outcome:** `passed` - **Details:** @@ -4974,14 +6362,20 @@ result: ``` -  
+
+
โŒ tests (6 tests) -  
-  โœ… tests +
+ + +
+
+โŒ tests (6 tests) + +
+
+โœ… tests - **Outcome:** `passed` - **Details:** @@ -4991,9 +6385,12 @@ result: ``` -  
-  
-  โŒ tests/test_broken_fct.py +
+
+ +
+
+โŒ tests/test_broken_fct.py - **Outcome:** `failed` - **Details:** @@ -5029,9 +6426,12 @@ E SyntaxError: invalid syntax` ``` -  
-  
-  โŒ tests/test_collector_error.py +
+
+ +
+
+โŒ tests/test_collector_error.py - **Outcome:** `failed` - **Details:** @@ -5051,9 +6451,12 @@ E ModuleNotFoundError: No module named 'no_existing_module'` ``` -  
-  
-  โœ… tests/test_io_utils.py +
+
+ +
+
+โœ… tests/test_io_utils.py - **Outcome:** `passed` - **Details:** @@ -5063,9 +6466,12 @@ result: ``` -  
-  
-  โœ… tests/test_math_utils.py +
+
+ +
+
+โœ… tests/test_math_utils.py - **Outcome:** `passed` - **Details:** @@ -5075,9 +6481,12 @@ result: ``` -  
-  
-  โœ… tests/test_string_utils.py +
+
+ +
+
+โœ… tests/test_string_utils.py - **Outcome:** `passed` - **Details:** @@ -5087,14 +6496,20 @@ result: ``` -  
+
+
โœ… . (1 tests) -  
-  โœ… . +
+ + +
+
+โœ… . (1 tests) + +
+
+โœ… . - **Outcome:** `passed` - **Details:** @@ -5104,13 +6519,18 @@ result: ``` -  
+
+
+ + +
+ -  ## โš ๏ธ Warnings - 
Warning #1 +
+
+Warning #1 ``` message: Test warning @@ -5120,4 +6540,6 @@ 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 31337faed..f9d8649f8 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752571110.7997613, "duration": 0.7892374992370605, "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.004093387979082763, "outcome": "passed"}, "call": {"duration": 0.0005377710331231356, "outcome": "passed"}, "teardown": {"duration": 0.0016861290205270052, "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.0007595060160383582, "outcome": "passed"}, "call": {"duration": 0.000367084052413702, "outcome": "passed"}, "teardown": {"duration": 0.000711483065970242, "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.00020144903101027012, "outcome": "passed"}, "call": {"duration": 0.000196772045455873, "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.00030560395680367947, "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.00022436794824898243, "outcome": "passed"}, "call": {"duration": 0.0002325759269297123, "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.00028295593801885843, "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.00048126198817044497, "outcome": "passed"}, "call": {"duration": 0.00023933802731335163, "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 0x7f25982c43a0>\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.0008072400232777, "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.0003915380220860243, "outcome": "passed"}, "call": {"duration": 0.003435635007917881, "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 0x7f25982e6160>\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.001343012903816998, "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.00028059002943336964, "outcome": "passed"}, "call": {"duration": 0.00022480799816548824, "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.0003008190542459488, "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.000523898983374238, "outcome": "passed"}, "call": {"duration": 0.00025064509827643633, "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 0x7f2595ab99a0>\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.0009609709959477186, "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.0009119659662246704, "outcome": "passed"}, "call": {"duration": 0.000949040986597538, "outcome": "passed"}, "teardown": {"duration": 0.0007738699205219746, "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.00019951805006712675, "outcome": "passed"}, "call": {"duration": 0.00020588596817106009, "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.0002586179180070758, "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.00020885502453893423, "outcome": "passed"}, "call": {"duration": 0.0002023950219154358, "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.00025518902111798525, "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.00019782304298132658, "outcome": "passed"}, "call": {"duration": 0.00018719700165092945, "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.00029329408425837755, "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.00022130401339381933, "outcome": "passed"}, "call": {"duration": 0.00017574999947100878, "outcome": "passed"}, "teardown": {"duration": 0.00022759498097002506, "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.0001996189821511507, "outcome": "passed"}, "call": {"duration": 0.0005441659595817327, "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.00025844399351626635, "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.0001964019611477852, "outcome": "passed"}, "call": {"duration": 0.0002009510062634945, "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.00030286505352705717, "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.0002091829665005207, "outcome": "passed"}, "call": {"duration": 0.00032138393726199865, "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.00028017093427479267, "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.00019927695393562317, "outcome": "passed"}, "call": {"duration": 0.00019363302271813154, "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.0002692560665309429, "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.0002476500812917948, "outcome": "passed"}, "call": {"duration": 0.00018213700968772173, "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.00027034501545131207, "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.00019982305821031332, "outcome": "passed"}, "call": {"duration": 0.0002241849433630705, "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.0002754859160631895, "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.00020879704970866442, "outcome": "passed"}, "call": {"duration": 0.0008483810815960169, "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.00029597501270473003, "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.00021765101701021194, "outcome": "passed"}, "call": {"duration": 0.00018776394426822662, "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.0002610129304230213, "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.00019763805903494358, "outcome": "passed"}, "call": {"duration": 0.00019909499678760767, "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.0002505260054022074, "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.00020628294441848993, "outcome": "passed"}, "call": {"duration": 0.00020387000404298306, "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.00025199505034834146, "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.00020010699518024921, "outcome": "passed"}, "call": {"duration": 0.00017762102652341127, "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.000241147936321795, "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.00018324400298297405, "outcome": "passed"}, "call": {"duration": 0.00018006202299147844, "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.00025759206619113684, "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.0001849549589678645, "outcome": "passed"}, "call": {"duration": 0.00021100707817822695, "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.000235288986004889, "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.00018596299923956394, "outcome": "passed"}, "call": {"duration": 0.0001744370674714446, "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 0x7f2595812a60>\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.00046115496661514044, "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.00027706101536750793, "outcome": "passed"}, "call": {"duration": 0.0002214750275015831, "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.0003533500712364912, "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.00025161902885884047, "outcome": "passed"}, "call": {"duration": 0.00021003105212002993, "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.0003232719609513879, "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.00021979701705276966, "outcome": "passed"}, "call": {"duration": 0.0002113250084221363, "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.00029950193129479885, "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.00025072693824768066, "outcome": "passed"}, "call": {"duration": 0.00023806700482964516, "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.00027265900280326605, "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.0001912859734147787, "outcome": "passed"}, "call": {"duration": 0.000203976989723742, "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.0002703070640563965, "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.00019543501548469067, "outcome": "passed"}, "call": {"duration": 0.00018940097652375698, "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.0002546679461374879, "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.00018496101256459951, "outcome": "passed"}, "call": {"duration": 0.0005082680145278573, "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.0003018620191141963, "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.00021483201999217272, "outcome": "passed"}, "call": {"duration": 0.0001778550213202834, "outcome": "passed"}, "teardown": {"duration": 0.00021575798746198416, "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.00019432499539107084, "outcome": "passed"}, "call": {"duration": 0.00018464995082467794, "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.00024818500969558954, "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.00019651209004223347, "outcome": "passed"}, "call": {"duration": 0.0001656869426369667, "outcome": "passed"}, "teardown": {"duration": 0.00020048196893185377, "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.00017491099424660206, "outcome": "passed"}, "call": {"duration": 0.0001713320380076766, "outcome": "passed"}, "teardown": {"duration": 0.00019461405463516712, "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.00018095795530825853, "outcome": "passed"}, "call": {"duration": 0.00017778202891349792, "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.00023226498160511255, "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.00018104200717061758, "outcome": "passed"}, "call": {"duration": 0.00018806604202836752, "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.0002318070037290454, "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.0001853490248322487, "outcome": "passed"}, "call": {"duration": 0.00016365200281143188, "outcome": "passed"}, "teardown": {"duration": 0.00019031495321542025, "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.00019310705829411745, "outcome": "passed"}, "call": {"duration": 0.0006816659588366747, "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.0002609200309962034, "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.0001829260727390647, "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": 1752571213.9233096, "duration": 0.759239912033081, "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.003953231032937765, "outcome": "passed"}, "call": {"duration": 0.0004997170763090253, "outcome": "passed"}, "teardown": {"duration": 0.0013496149331331253, "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.0006992800626903772, "outcome": "passed"}, "call": {"duration": 0.0003531980328261852, "outcome": "passed"}, "teardown": {"duration": 0.0006993979914113879, "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.00019257492385804653, "outcome": "passed"}, "call": {"duration": 0.0001880340278148651, "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.00025671301409602165, "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.00020201492588967085, "outcome": "passed"}, "call": {"duration": 0.00019950990099459887, "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.00024160195607692003, "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.0003951159305870533, "outcome": "passed"}, "call": {"duration": 0.0002208859659731388, "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 0x7fa743ee75b0>\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.0007182370172813535, "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.0003851780202239752, "outcome": "passed"}, "call": {"duration": 0.003441539010964334, "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 0x7fa7438d5a30>\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.0012900480069220066, "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.0002723770448938012, "outcome": "passed"}, "call": {"duration": 0.00023924896959215403, "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.0003098829183727503, "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.0005236429860815406, "outcome": "passed"}, "call": {"duration": 0.00025640404783189297, "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 0x7fa7412f2310>\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.0007995649939402938, "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.0008122669532895088, "outcome": "passed"}, "call": {"duration": 0.0011393839959055185, "outcome": "passed"}, "teardown": {"duration": 0.0006610990967601538, "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.00018451910000294447, "outcome": "passed"}, "call": {"duration": 0.0002811789745464921, "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.0002926320303231478, "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.00019819196313619614, "outcome": "passed"}, "call": {"duration": 0.00017909391317516565, "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.00023974303621798754, "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.00020598992705345154, "outcome": "passed"}, "call": {"duration": 0.00023006508126854897, "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.00024699000641703606, "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.00019450800027698278, "outcome": "passed"}, "call": {"duration": 0.00017680099699646235, "outcome": "passed"}, "teardown": {"duration": 0.00020226999185979366, "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.00019634002819657326, "outcome": "passed"}, "call": {"duration": 0.0006019800202921033, "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.00024056097026914358, "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.00018539198208600283, "outcome": "passed"}, "call": {"duration": 0.00021358707454055548, "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.00023602298460900784, "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.00031021004542708397, "outcome": "passed"}, "call": {"duration": 0.00039431103505194187, "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.00026312097907066345, "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.00018298905342817307, "outcome": "passed"}, "call": {"duration": 0.00020223006140440702, "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.0002461529802531004, "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.00018301093950867653, "outcome": "passed"}, "call": {"duration": 0.00018329406157135963, "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.00028320099227130413, "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.00018488208297640085, "outcome": "passed"}, "call": {"duration": 0.00017402507364749908, "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.0002408480504527688, "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.00019149493891745806, "outcome": "passed"}, "call": {"duration": 0.0008523939177393913, "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.00029571307823061943, "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.00021064397878944874, "outcome": "passed"}, "call": {"duration": 0.0002152139786630869, "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.0002656790893524885, "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.00020654394757002592, "outcome": "passed"}, "call": {"duration": 0.00018574995920062065, "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.0002465989673510194, "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.00018801505211740732, "outcome": "passed"}, "call": {"duration": 0.00018773297779262066, "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.00024106795899569988, "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.0001819009194150567, "outcome": "passed"}, "call": {"duration": 0.00017486209981143475, "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.00024590303655713797, "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.00018333701882511377, "outcome": "passed"}, "call": {"duration": 0.0001738470746204257, "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.00024080509319901466, "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.00019698496907949448, "outcome": "passed"}, "call": {"duration": 0.00017846596892923117, "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.0002588540082797408, "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.00021098298020660877, "outcome": "passed"}, "call": {"duration": 0.0002042980631813407, "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 0x7fa741162700>\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.00043534906581044197, "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.00029049208387732506, "outcome": "passed"}, "call": {"duration": 0.00020375498570501804, "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.0003201350336894393, "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.00020320701878517866, "outcome": "passed"}, "call": {"duration": 0.00021296599879860878, "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.0002681509358808398, "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.00020030001178383827, "outcome": "passed"}, "call": {"duration": 0.00019016896840184927, "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.00024469103664159775, "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.00018210697453469038, "outcome": "passed"}, "call": {"duration": 0.00020514207426458597, "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.00023666198831051588, "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.0001862900098785758, "outcome": "passed"}, "call": {"duration": 0.00017829693388193846, "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.00023466499987989664, "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.00018135597929358482, "outcome": "passed"}, "call": {"duration": 0.00020764197688549757, "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.00024646101519465446, "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.0001894650049507618, "outcome": "passed"}, "call": {"duration": 0.0004897519247606397, "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.00024961004965007305, "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.00019505689851939678, "outcome": "passed"}, "call": {"duration": 0.00016686797607690096, "outcome": "passed"}, "teardown": {"duration": 0.00019744294695556164, "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.00019351299852132797, "outcome": "passed"}, "call": {"duration": 0.00019047502428293228, "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.00025047105737030506, "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.0001927330158650875, "outcome": "passed"}, "call": {"duration": 0.00017161399591714144, "outcome": "passed"}, "teardown": {"duration": 0.00019116699695587158, "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.00018652109429240227, "outcome": "passed"}, "call": {"duration": 0.00017640297301113605, "outcome": "passed"}, "teardown": {"duration": 0.00019551697187125683, "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.00019369798246771097, "outcome": "passed"}, "call": {"duration": 0.00017933896742761135, "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.00022983807139098644, "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.0001876510214060545, "outcome": "passed"}, "call": {"duration": 0.0001978789223358035, "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.00024337891954928637, "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.0001925099641084671, "outcome": "passed"}, "call": {"duration": 0.00016066001262515783, "outcome": "passed"}, "teardown": {"duration": 0.00018967606592923403, "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.00019307504408061504, "outcome": "passed"}, "call": {"duration": 0.0006609609117731452, "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.00025563803501427174, "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.0001838860334828496, "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