diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index e709201f..41af2d10 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -47,7 +47,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) -======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.73s ========= +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s ========= ``` @@ -58,7 +58,7 @@ ERROR tests/test_collector_error.py ============================= test session starts ============================== platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 rootdir: /workspace/tligui_y/slic -plugins: metadata-3.1.1, allure-pytest-2.13.5, cov-5.0.0, html-4.1.1, json-report-1.5.0, md-report-0.6.2 +plugins: html-4.1.1, cov-5.0.0, metadata-3.1.1, allure-pytest-2.13.5, json-report-1.5.0, md-report-0.6.2 collected 49 items / 2 errors tests/test_io_utils.py ..FFFFFF.F @@ -133,7 +133,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 0x7f2da9206730> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f7f0c4933a0> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -157,7 +157,7 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError _____________________________ test_mock_open_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f2da706bd00> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f7f0c482c70> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -174,7 +174,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): @@ -200,7 +200,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 0x7f2da714fa90> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f7f0c118fa0> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -368,7 +368,7 @@ tests/test_math_utils.py:106: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f2da96629d0> +func = . at 0x7f7f0c180700> when = 'call' reraise = (, ) @@ -497,7 +497,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -590,17 +590,17 @@ 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) -======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.73s ========= +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s ========= ``` --- # ๐Ÿงช Test Report -*Generated on 2025-07-16 11:52:18* +*Generated on 2025-07-16 11:54:58* ## ๐Ÿงพ General Info -- **duration**: 0.7364645004272461 +- **duration**: 0.7390785217285156 - **root**: /workspace/tligui_y/slic - **environment**: @@ -612,6328 +612,3562 @@ ERROR tests/test_collector_error.py - **Collected**: 49 ## ๐Ÿ”Ž Tests -
-
- โœ… Passed (16) + **โœ… Passed (16)** -
-
- ๐Ÿ“ test_io_utils.py - -
-
- ๐Ÿ”ง Function: `test_read_file` - -
-
- โœ… #1 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0035742520121857524 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0005532039795070887 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00028500996995717287 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_write_file` - -
-
- โœ… #2 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0005267660599201918 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00032836897298693657 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014958204701542854 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_write_file_readonly` - -
-
- โœ… #9 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0006761370459571481 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0009552850387990475 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001538749784231186 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ“ test_math_utils.py - -
-
- ๐Ÿ”ง Function: `test_addition_pass` - -
-
- โœ… #13 parameters: [2-2-4] - -- **Parameters:** `2-2-4` - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00030860002152621746 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015268998686224222 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015644298400729895 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- -
-
- โœ… #14 parameters: [1-5-6] - -- **Parameters:** `1-5-6` - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0002608660142868757 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015068694483488798 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013645202852785587 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- -
-
- โœ… #15 parameters: [3-4-7] - -- **Parameters:** `3-4-7` - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0002509739715605974 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014228303916752338 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001367880031466484 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- -
-
- โœ… #16 parameters: [3-5-8] - -- **Parameters:** `3-5-8` - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00023685302585363388 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001357519067823887 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013258797116577625 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- -
-
- โœ… #17 parameters: [3-6-9] - -- **Parameters:** `3-6-9` - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00025065208319574594 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014754198491573334 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013444898650050163 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_addition_pass_id` - -
-
- โœ… #18 parameters: [a=2,b=2,expected=4] - -- **Parameters:** `a=2,b=2,expected=4` - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00024083396419882774 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014376093167811632 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013512198347598314 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- -
-
- โœ… #19 parameters: [a=1,b=5,expected=6] - -- **Parameters:** `a=1,b=5,expected=6` - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00023368198890239 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013788091018795967 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.000130749074742198 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- -
-
- โœ… #20 parameters: [a=3,b=4,expected=7] - -- **Parameters:** `a=3,b=4,expected=7` - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00024215097073465586 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015237496700137854 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013678695540875196 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ“ test_string_utils.py - -
-
- ๐Ÿ”ง Function: `test_uppercase_normal` - -
-
- โœ… #41 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014799297787249088 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001593200722709298 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00010337599087506533 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_reverse_string` - -
-
- โœ… #43 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011785095557570457 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014328001998364925 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00010010797996073961 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_warning_emit` - -
-
- โœ… #44 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001055779866874218 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014383194502443075 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -9.52680129557848e-05 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_import_warning` - -
-
- โœ… #47 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011642498429864645 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014415103942155838 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00010642607230693102 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_keyboard_interrupt_direct` - -
-
- โœ… #49 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001186929875984788 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
- โŒ Failed (31) - -
-
- ๐Ÿ“ test_io_utils.py - -
-
- ๐Ÿ”ง Function: `test_cause_io_error` - -
-
- โŒ #3 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011619192082434893 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00017574895173311234 -``` -
-
- -
-
- ๐Ÿ“Œ 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: None -path: functions/io_utils.py -lineno: 10 -message: OSError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_cause_io_error(): - # Raises manual IOError to simulate IO failure -> cause_io_error() - -tests/test_io_utils.py:25: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - - def cause_io_error(): -> raise IOError("Forced IO Error for testing") -E OSError: Forced IO Error for testing - -functions/io_utils.py:10: OSError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00016088702250272036 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_file_not_found` - -
-
- โŒ #4 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001202489947900176 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00020034797489643097 -``` -
-
- -
-
- ๐Ÿ“Œ 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: None -path: functions/io_utils.py -lineno: 2 -message: FileNotFoundError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_file_not_found(): - # Reading non-existing file raises FileNotFoundError -> read_file("nonexistent.file") - -tests/test_io_utils.py:29: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -path = 'nonexistent.file' - - def read_file(path): -> with open(path, "r", encoding="utf-8") as f: -E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file' - -functions/io_utils.py:2: FileNotFoundError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015093002002686262 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_permission_error` - -
-
- โŒ #5 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00021765392739325762 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00017849099822342396 -``` -
-
- -
-
- ๐Ÿ“Œ 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: None -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 0x7f2da9206730> - - def test_permission_error(monkeypatch): - # Patch open to raise PermissionError simulating access denial - def raise_perm_error(*args, **kwargs): - raise PermissionError("Permission denied") - monkeypatch.setattr("builtins.open", raise_perm_error) -> read_file("anyfile.txt") - -tests/test_io_utils.py:36: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -functions/io_utils.py:2: in read_file - with open(path, "r", encoding="utf-8") as f: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -args = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'} - - def raise_perm_error(*args, **kwargs): -> raise PermissionError("Permission denied") -E PermissionError: Permission denied - -tests/test_io_utils.py:34: PermissionError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00017097697127610445 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_mock_open_error` - -
-
- โŒ #6 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00020372204016894102 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.003365261945873499 -``` -
-
- -
-
- ๐Ÿ“Œ 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: 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 - -``` -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f2da706bd00> - - def test_mock_open_error(monkeypatch): - # Mock open() to raise IOError simulating read error - mocked_open = mock.mock_open() - mocked_open.side_effect = IOError("Mocked IOError") - monkeypatch.setattr("builtins.open", mocked_open) -> with open("file.txt", "r") as f: - -tests/test_io_utils.py:43: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -.pixi/envs/default/lib/python3.8/unittest/mock.py:1081: in __call__ - return self._mock_call(*args, **kwargs) -.pixi/envs/default/lib/python3.8/unittest/mock.py:1085: in _mock_call - return self._execute_mock_call(*args, **kwargs) -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -self = -args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError') - - def _execute_mock_call(self, /, *args, **kwargs): - # separate from _increment_mock_call so that awaited functions are - # executed separately from their call, also AsyncMock overrides this method - - effect = self.side_effect - if effect is not None: - if _is_exception(effect): -> raise effect -E OSError: Mocked IOError - -.pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00031913002021610737 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_file_handle_closed_error` - -
-
- โŒ #7 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001475949538871646 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001897580223158002 -``` -
-
- -
-
- ๐Ÿ“Œ 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(): - # Accessing closed file raises ValueError - f = io.StringIO("content") - f.close() -> f.read() -E ValueError: I/O operation on closed file - -tests/test_io_utils.py:50: ValueError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00018281093798577785 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_os_error` - -
-
- โŒ #8 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00026894896291196346 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00018954300321638584 -``` -
-
- -
-
- ๐Ÿ“Œ 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: None -path: tests/test_io_utils.py -lineno: 55 -message: OSError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f2da714fa90> - - def test_os_error(monkeypatch): - # Patch os.remove to raise OSError simulating filesystem error - def raise_os_error(path): - raise OSError("Simulated OSError") - monkeypatch.setattr("os.remove", raise_os_error) -> os.remove("file.txt") - -tests/test_io_utils.py:57: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -path = 'file.txt' - - def raise_os_error(path): -> raise OSError("Simulated OSError") -E OSError: Simulated OSError - -tests/test_io_utils.py:55: OSError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00021091103553771973 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_file_not_found_error` - -
-
- โŒ #10 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011662696488201618 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00017251900862902403 -``` -
-
- -
-
- ๐Ÿ“Œ 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(): - # Raises FileNotFoundError when opening a non-existent file -> open("no_such_file.txt", "r") -E FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt' - -tests/test_io_utils.py:69: FileNotFoundError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013842503540217876 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ“ test_math_utils.py - -
-
- ๐Ÿ”ง Function: `test_broken` - -
-
- โŒ #11 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013089098501950502 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001526509877294302 -``` -
-
- -
-
- ๐Ÿ“Œ 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(): - # simulating a broken or faulty test implementation that will cause the test to error -> want_the_test_to_fail -E NameError: name 'want_the_test_to_fail' is not defined - -tests/test_math_utils.py:16: NameError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013630802277475595 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_call_missing_function` - -
-
- โŒ #12 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011923699639737606 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015505601186305285 -``` -
-
- -
-
- ๐Ÿ“Œ 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(): - # Accessing a missing function attribute raises AttributeError -> getattr(math_utils, "non_existent_function")() -E AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function' - -tests/test_math_utils.py:20: AttributeError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015016505494713783 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_addition_fail` - -
-
- โŒ #21 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00010358099825680256 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.000481831026263535 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 51 -message: assert 4 == 5 - + where 4 = addition(2, 2) -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 51 -message: AssertionError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_addition_fail(): - # Assertion failure: expected incorrect result -> assert addition(2, 2) == 5 -E assert 4 == 5 -E + where 4 = addition(2, 2) - -tests/test_math_utils.py:51: AssertionError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013364898040890694 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_division_zero` - -
-
- โŒ #22 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011715502478182316 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015645299572497606 -``` -
-
- -
-
- ๐Ÿ“Œ 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: 55 -message: None -path: functions/math_utils.py -lineno: 5 -message: ZeroDivisionError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_division_zero(): - # Will raise ZeroDivisionError if not handled in division -> division(1, 0) - -tests/test_math_utils.py:55: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -a = 1, b = 0 - - def division(a, b): -> return a / b -E ZeroDivisionError: division by zero - -functions/math_utils.py:5: ZeroDivisionError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013746100012212992 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_runtime_error` - -
-
- โŒ #24 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011609098874032497 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014646293129771948 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 64 -message: RuntimeError: Forced runtime error -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 64 -message: RuntimeError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_runtime_error(): - # Test raises an uncaught RuntimeError -> raise RuntimeError("Forced runtime error") -E RuntimeError: Forced runtime error - -tests/test_math_utils.py:64: RuntimeError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013875903096050024 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_memory_error` - -
-
- โŒ #25 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.000118125113658607 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015022000297904015 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 68 -message: MemoryError: Simulated memory error -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 68 -message: MemoryError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_memory_error(): - # Manually raise MemoryError to simulate out-of-memory condition -> raise MemoryError("Simulated memory error") -E MemoryError: Simulated memory error - -tests/test_math_utils.py:68: MemoryError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014572194777429104 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_timeout_error` - -
-
- โŒ #26 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00012235005851835012 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015122501645237207 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 72 -message: TimeoutError: Simulated timeout error -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 72 -message: TimeoutError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_timeout_error(): - # Manually raise TimeoutError simulating timeout conditions -> raise TimeoutError("Simulated timeout error") -E TimeoutError: Simulated timeout error - -tests/test_math_utils.py:72: TimeoutError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013237097300589085 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_recursion_error` - -
-
- โŒ #27 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001147399889305234 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0008008719887584448 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 77 -message: RecursionError: maximum recursion depth exceeded -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 78 -message: None -path: tests/test_math_utils.py -lineno: 77 -message: in recursive -path: tests/test_math_utils.py -lineno: 77 -message: in recursive -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_recursion_error(): - # Infinite recursion triggers RecursionError - def recursive(): - return recursive() -> recursive() - -tests/test_math_utils.py:78: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -tests/test_math_utils.py:77: in recursive - return recursive() -tests/test_math_utils.py:77: in recursive - return recursive() -E RecursionError: maximum recursion depth exceeded -!!! Recursion detected (same locals & position) -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001529440050944686 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_floating_point_error` - -
-
- โŒ #28 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013725890312343836 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015702203381806612 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 82 -message: FloatingPointError: Simulated floating point error -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 82 -message: FloatingPointError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_floating_point_error(): - # Manually raise FloatingPointError -> raise FloatingPointError("Simulated floating point error") -E FloatingPointError: Simulated floating point error - -tests/test_math_utils.py:82: FloatingPointError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014713010750710964 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_floating_point_overflow` - -
-
- โŒ #29 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00012016098480671644 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00016026198863983154 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 86 -message: OverflowError: math range error -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 86 -message: OverflowError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_floating_point_overflow(): - # Exponential overflow triggers OverflowError -> math.exp(1000) -E OverflowError: math range error - -tests/test_math_utils.py:86: OverflowError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013961188960820436 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_value_error` - -
-
- โŒ #30 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.000141531927511096 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001621569972485304 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 90 -message: ValueError: invalid literal for int() with base 10: 'invalid' -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 90 -message: ValueError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_value_error(): - # ValueError on invalid integer conversion -> int("invalid") -E ValueError: invalid literal for int() with base 10: 'invalid' - -tests/test_math_utils.py:90: ValueError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001348269870504737 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_wrong_argument_error` - -
-
- โŒ #31 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011674698907881975 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015012896619737148 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 94 -message: TypeError: 'int' object is not iterable -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 94 -message: TypeError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_wrong_argument_error(): - # TypeError when passing wrong argument type to sum -> sum(5) -E TypeError: 'int' object is not iterable - -tests/test_math_utils.py:94: TypeError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001317060086876154 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_unhandled_exception` - -
-
- โŒ #32 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011471204925328493 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001490359427407384 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 98 -message: Exception: Generic unhandled exception -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 98 -message: Exception -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_unhandled_exception(): - # Raises generic unhandled Exception -> raise Exception("Generic unhandled exception") -E Exception: Generic unhandled exception - -tests/test_math_utils.py:98: Exception -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00016583397518843412 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_custom_error` - -
-
- โŒ #33 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00012386997696012259 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014963396824896336 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 102 -message: test_math_utils.CustomError: Custom error simulation -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 102 -message: CustomError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_custom_error(): - # Raises user-defined CustomError exception -> raise CustomError("Custom error simulation") -E test_math_utils.CustomError: Custom error simulation - -tests/test_math_utils.py:102: CustomError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001405429793521762 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_stop_iteration_direct` - -
-
- โŒ #34 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011636200360953808 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001620640978217125 -``` -
-
- -
-
- ๐Ÿ“Œ 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: 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 - -``` -def test_stop_iteration_direct(): - # Directly raise StopIteration exception -> raise StopIteration() -E StopIteration - -tests/test_math_utils.py:106: StopIteration - -The above exception was the direct cause of the following exception: - -cls = -func = . at 0x7f2da96629d0> -when = 'call' -reraise = (, ) - - @classmethod - def from_call( - cls, - func: Callable[[], TResult], - when: Literal["collect", "setup", "call", "teardown"], - reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, - ) -> CallInfo[TResult]: - """Call func, wrapping the result in a CallInfo. - - :param func: - The function to call. Called without arguments. - :type func: Callable[[], _pytest.runner.TResult] - :param when: - The phase in which the function is called. - :param reraise: - Exception or exceptions that shall propagate if raised by the - function, instead of being wrapped in the CallInfo. - """ - excinfo = None - start = timing.time() - precise_start = timing.perf_counter() - try: -> result: TResult | None = func() - -.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:341: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:242: in - lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise -.pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py:513: in __call__ - return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) -.pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py:120: in _hookexec - return self._inner_hookexec(hook_name, methods, kwargs, firstresult) -.pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:92: in pytest_runtest_call - yield from thread_exception_runtest_hook() -.pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook - yield -.pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call - yield from unraisable_exception_runtest_hook() -.pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook - yield -.pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:846: in pytest_runtest_call - yield from self._runtest_for(item, "call") -.pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:829: in _runtest_for - yield -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -self = _capture_fixture=None> -item = - - @hookimpl(wrapper=True) - def pytest_runtest_call(self, item: Item) -> Generator[None]: - with self.item_capture("call", item): -> return (yield) -E RuntimeError: generator raised StopIteration - -.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00025087606627494097 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_generator_exit_direct` - -
-
- โŒ #35 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013902201317250729 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00019113498274236917 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 110 -message: GeneratorExit -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 110 -message: GeneratorExit -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_generator_exit_direct(): - # Directly raise GeneratorExit exception -> raise GeneratorExit() -E GeneratorExit - -tests/test_math_utils.py:110: GeneratorExit -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00018683599773794413 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_malformed_code` - -
-
- โŒ #36 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001285988837480545 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00017199106514453888 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 114 -message: File "", line 1 - def bad(: - ^ -SyntaxError: invalid syntax -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 114 -message: SyntaxError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_malformed_code(): - # SyntaxError when executing malformed Python code -> exec("def bad(:\n pass") -E File "", line 1 -E def bad(: -E ^ -E SyntaxError: invalid syntax - -tests/test_math_utils.py:114: SyntaxError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014288397505879402 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_sys_exit` - -
-
- โŒ #37 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011670298408716917 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001489140558987856 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 118 -message: SystemExit: 1 -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 118 -message: SystemExit -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_sys_exit(): - # Simulate SystemExit via sys.exit -> sys.exit(1) -E SystemExit: 1 - -tests/test_math_utils.py:118: SystemExit -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001472060102969408 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_broken_function` - -
-
- โŒ #38 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00012386497110128403 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00016605807468295097 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 123 -message: TypeError: Broken function -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 124 -message: None -path: tests/test_math_utils.py -lineno: 123 -message: TypeError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_broken_function(): - # Simulate broken function raising TypeError - def broken_func(*args, **kwargs): - raise TypeError("Broken function") -> broken_func() - -tests/test_math_utils.py:124: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -args = (), kwargs = {} - - def broken_func(*args, **kwargs): -> raise TypeError("Broken function") -E TypeError: Broken function - -tests/test_math_utils.py:123: TypeError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013725704047828913 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_import_error` - -
-
- โŒ #39 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011682102922350168 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015406194142997265 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 127 -message: ImportError: Simulated ImportError -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 127 -message: ImportError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_import_error(): -> raise ImportError("Simulated ImportError") -E ImportError: Simulated ImportError - -tests/test_math_utils.py:127: ImportError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014595896936953068 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_module_not_found_error` - -
-
- โŒ #40 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011606805492192507 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0004935089964419603 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -failed -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: -lineno: 973 -message: ModuleNotFoundError: No module named 'non_existent_module_xyz' -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 131 -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 - -``` -def test_module_not_found_error(): - # Raises ModuleNotFoundError (subclass of ImportError) for missing module -> importlib.import_module("non_existent_module_xyz") - -tests/test_math_utils.py:131: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module - return _bootstrap._gcd_import(name[level:], package, level) -:1014: in _gcd_import - ??? -:991: in _find_and_load - ??? -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -name = 'non_existent_module_xyz' -import_ = - -> ??? -E ModuleNotFoundError: No module named 'non_existent_module_xyz' - -:973: ModuleNotFoundError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014417292550206184 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ“ test_string_utils.py - -
-
- ๐Ÿ”ง Function: `test_uppercase_type_error` - -
-
- โŒ #42 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00010989909060299397 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00014724803622812033 -``` -
-
- -
-
- ๐Ÿ“Œ 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: None -path: functions/string_utils.py -lineno: 3 -message: TypeError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -def test_uppercase_type_error(): - # TypeError when input is None (invalid input) -> uppercase(None) - -tests/test_string_utils.py:14: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -s = None - - def uppercase(s): - if s is None: -> raise TypeError("Input cannot be None") -E TypeError: Input cannot be None - -functions/string_utils.py:3: TypeError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001352600520476699 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_unicode_decode_error` - -
-
- โŒ #45 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001076690386980772 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001683890586718917 -``` -
-
- -
-
- ๐Ÿ“Œ 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(): - # UnicodeDecodeError when decoding invalid byte sequence -> b'\xff'.decode('utf-8') -E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte - -tests/test_string_utils.py:26: UnicodeDecodeError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013274408411234617 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ”ง Function: `test_unicode_decode_surrogateescape` - -
-
- โŒ #46 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00011776702012866735 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00015579897444695234 -``` -
-
- -
-
- ๐Ÿ“Œ 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(): - # UnicodeDecodeError with strict error handler on invalid byte -> b"\x80".decode("utf-8", errors="strict") -E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte - -tests/test_string_utils.py:30: UnicodeDecodeError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001331189414486289 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
-
- โŒ Xfailed (2) - -
-
- ๐Ÿ“ test_math_utils.py - -
-
- ๐Ÿ”ง Function: `test_multiply_xfail` - -
-
- โŒ #23 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00013820698950439692 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0002707450184971094 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -skipped -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 60 -message: assert 4 == 5 - + where 4 = multiply(2, 2) -``` -
-
- -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_math_utils.py -lineno: 60 -message: AssertionError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -@pytest.mark.xfail(reason="Expected failure") - def test_multiply_xfail(): - # Expected fail test (xfail): incorrect expected multiply result -> assert multiply(2, 2) == 5 -E assert 4 == 5 -E + where 4 = multiply(2, 2) - -tests/test_math_utils.py:60: AssertionError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001427429961040616 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- - -
-
- -
-
- ๐Ÿ“ test_string_utils.py - -
-
- ๐Ÿ”ง Function: `test_xfail_uppercase_digits` - -
-
- โŒ #48 - - -### ๐Ÿ”ง Setup Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.00012458802666515112 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -### ๐Ÿ”ง Call Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0006268499419093132 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -skipped -``` -
-
- -
-
- ๐Ÿ“Œ Crash - -``` -path: /workspace/tligui_y/slic/tests/test_string_utils.py -lineno: 39 -message: AssertionError: assert 'ABC123' == 'ABC1234' + - **๐Ÿ“ test_io_utils.py** - - ABC1234 - ? - - + ABC123 -``` -
-
+ - **๐Ÿ”ง Function: `test_read_file`** + + - **โœ… #1** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0033443759893998504 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.000433947890996933 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0002535480307415128 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_write_file`** + + - **โœ… #2** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00045499601401388645 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0002809399738907814 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013844796922057867 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_write_file_readonly`** + + - **โœ… #9** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0006288669537752867 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0011171880178153515 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014843803364783525 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ“ test_math_utils.py** + + - **๐Ÿ”ง Function: `test_addition_pass`** + + - **โœ… #13** _(params: 2-2-4)_ + + - **Parameters:** `2-2-4` + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00028895807918161154 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014469109009951353 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.000137501978315413 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **โœ… #14** _(params: 1-5-6)_ + + - **Parameters:** `1-5-6` + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0002457130467519164 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012954289559274912 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001304630422964692 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **โœ… #15** _(params: 3-4-7)_ + + - **Parameters:** `3-4-7` + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00024443992879241705 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001495110336691141 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013533397577703 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **โœ… #16** _(params: 3-5-8)_ + + - **Parameters:** `3-5-8` + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00023856200277805328 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001295709516853094 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013188703451305628 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **โœ… #17** _(params: 3-6-9)_ + + - **Parameters:** `3-6-9` + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00023896002676337957 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001242560101673007 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012666103430092335 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_addition_pass_id`** + + - **โœ… #18** _(params: a=2,b=2,expected=4)_ + + - **Parameters:** `a=2,b=2,expected=4` + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0002611810341477394 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013946497347205877 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014890602324157953 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **โœ… #19** _(params: a=1,b=5,expected=6)_ + + - **Parameters:** `a=1,b=5,expected=6` + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00023674406111240387 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012718501966446638 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00016821699682623148 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **โœ… #20** _(params: a=3,b=4,expected=7)_ + + - **Parameters:** `a=3,b=4,expected=7` + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0002483940916135907 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001305650221183896 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001407699892297387 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ“ test_string_utils.py** + + - **๐Ÿ”ง Function: `test_uppercase_normal`** + + - **โœ… #41** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014154391828924417 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015093700494617224 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001027469988912344 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_reverse_string`** + + - **โœ… #43** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013102602679282427 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014188094064593315 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00010036001913249493 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_warning_emit`** + + - **โœ… #44** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00010474305599927902 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001459089107811451 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 9.738397784531116e-05 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_import_warning`** + + - **โœ… #47** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012248905841261148 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013844191562384367 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011598900891840458 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_keyboard_interrupt_direct`** + + - **โœ… #49** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011957704555243254 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + **โŒ Failed (31)** -
-
- ๐Ÿ“Œ Traceback - -``` -path: tests/test_string_utils.py -lineno: 39 -message: AssertionError -``` -
-
- -
-
- ๐Ÿ“Œ Longrepr - -``` -@pytest.mark.xfail(reason="Expected failure: uppercase does not handle digits") - def test_xfail_uppercase_digits(): - # Expected fail test because uppercase won't change digits -> assert uppercase("abc123") == "ABC1234" -E AssertionError: assert 'ABC123' == 'ABC1234' -E -E - ABC1234 -E ? - -E + ABC123 - -tests/test_string_utils.py:39: AssertionError -``` -
-
- - -### ๐Ÿ”ง Teardown Phase - -
-
- ๐Ÿ“Œ Duration - -``` -0.0001317160204052925 -``` -
-
- -
-
- ๐Ÿ“Œ Outcome - -``` -passed -``` -
-
- - -
-
- - -
-
- - -
-
- - -
-
+ - **๐Ÿ“ test_io_utils.py** + + - **๐Ÿ”ง Function: `test_cause_io_error`** + + - **โŒ #3** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012375798542052507 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015708105638623238 + ``` + - **๐Ÿ“Œ 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: None + path: functions/io_utils.py + lineno: 10 + message: OSError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_cause_io_error(): + # Raises manual IOError to simulate IO failure + > cause_io_error() + + tests/test_io_utils.py:25: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + def cause_io_error(): + > raise IOError("Forced IO Error for testing") + E OSError: Forced IO Error for testing + + functions/io_utils.py:10: OSError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015013699885457754 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_file_not_found`** + + - **โŒ #4** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012390303891152143 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00018452492076903582 + ``` + - **๐Ÿ“Œ 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: None + path: functions/io_utils.py + lineno: 2 + message: FileNotFoundError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_file_not_found(): + # Reading non-existing file raises FileNotFoundError + > read_file("nonexistent.file") + + tests/test_io_utils.py:29: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + path = 'nonexistent.file' + + def read_file(path): + > with open(path, "r", encoding="utf-8") as f: + E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file' + + functions/io_utils.py:2: FileNotFoundError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013914401642978191 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_permission_error`** + + - **โŒ #5** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00019794609397649765 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00019865098875015974 + ``` + - **๐Ÿ“Œ 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: None + 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 0x7f7f0c4933a0> + + def test_permission_error(monkeypatch): + # Patch open to raise PermissionError simulating access denial + def raise_perm_error(*args, **kwargs): + raise PermissionError("Permission denied") + monkeypatch.setattr("builtins.open", raise_perm_error) + > read_file("anyfile.txt") + + tests/test_io_utils.py:36: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + functions/io_utils.py:2: in read_file + with open(path, "r", encoding="utf-8") as f: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + args = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'} + + def raise_perm_error(*args, **kwargs): + > raise PermissionError("Permission denied") + E PermissionError: Permission denied + + tests/test_io_utils.py:34: PermissionError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00016384804621338844 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_mock_open_error`** + + - **โŒ #6** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001919709611684084 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.003309931023977697 + ``` + - **๐Ÿ“Œ 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: 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** + + ``` + monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f7f0c482c70> + + def test_mock_open_error(monkeypatch): + # Mock open() to raise IOError simulating read error + mocked_open = mock.mock_open() + mocked_open.side_effect = IOError("Mocked IOError") + monkeypatch.setattr("builtins.open", mocked_open) + > with open("file.txt", "r") as f: + + tests/test_io_utils.py:43: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + .pixi/envs/default/lib/python3.8/unittest/mock.py:1081: in __call__ + return self._mock_call(*args, **kwargs) + .pixi/envs/default/lib/python3.8/unittest/mock.py:1085: in _mock_call + return self._execute_mock_call(*args, **kwargs) + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + self = + args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError') + + def _execute_mock_call(self, /, *args, **kwargs): + # separate from _increment_mock_call so that awaited functions are + # executed separately from their call, also AsyncMock overrides this method + + effect = self.side_effect + if effect is not None: + if _is_exception(effect): + > raise effect + E OSError: Mocked IOError + + .pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.000310020986944437 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_file_handle_closed_error`** + + - **โŒ #7** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014646700583398342 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00019331404473632574 + ``` + - **๐Ÿ“Œ 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(): + # Accessing closed file raises ValueError + f = io.StringIO("content") + f.close() + > f.read() + E ValueError: I/O operation on closed file + + tests/test_io_utils.py:50: ValueError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00018731097225099802 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_os_error`** + + - **โŒ #8** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.000240995897911489 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00018332095351070166 + ``` + - **๐Ÿ“Œ 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: None + path: tests/test_io_utils.py + lineno: 55 + message: OSError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f7f0c118fa0> + + def test_os_error(monkeypatch): + # Patch os.remove to raise OSError simulating filesystem error + def raise_os_error(path): + raise OSError("Simulated OSError") + monkeypatch.setattr("os.remove", raise_os_error) + > os.remove("file.txt") + + tests/test_io_utils.py:57: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + path = 'file.txt' + + def raise_os_error(path): + > raise OSError("Simulated OSError") + E OSError: Simulated OSError + + tests/test_io_utils.py:55: OSError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00017155695240944624 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_file_not_found_error`** + + - **โŒ #10** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011333799920976162 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00016783992759883404 + ``` + - **๐Ÿ“Œ 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(): + # Raises FileNotFoundError when opening a non-existent file + > open("no_such_file.txt", "r") + E FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt' + + tests/test_io_utils.py:69: FileNotFoundError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014111795462667942 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ“ test_math_utils.py** + + - **๐Ÿ”ง Function: `test_broken`** + + - **โŒ #11** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013266992755234241 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00016151810996234417 + ``` + - **๐Ÿ“Œ 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(): + # simulating a broken or faulty test implementation that will cause the test to error + > want_the_test_to_fail + E NameError: name 'want_the_test_to_fail' is not defined + + tests/test_math_utils.py:16: NameError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015100697055459023 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_call_missing_function`** + + - **โŒ #12** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013025698717683554 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.000195056083612144 + ``` + - **๐Ÿ“Œ 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(): + # Accessing a missing function attribute raises AttributeError + > getattr(math_utils, "non_existent_function")() + E AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function' + + tests/test_math_utils.py:20: AttributeError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013913691509515047 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_addition_fail`** + + - **โŒ #21** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00010353804100304842 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0004682119470089674 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 51 + message: assert 4 == 5 + + where 4 = addition(2, 2) + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 51 + message: AssertionError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_addition_fail(): + # Assertion failure: expected incorrect result + > assert addition(2, 2) == 5 + E assert 4 == 5 + E + where 4 = addition(2, 2) + + tests/test_math_utils.py:51: AssertionError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013800302986055613 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_division_zero`** + + - **โŒ #22** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001197450328618288 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015808502212166786 + ``` + - **๐Ÿ“Œ 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: 55 + message: None + path: functions/math_utils.py + lineno: 5 + message: ZeroDivisionError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_division_zero(): + # Will raise ZeroDivisionError if not handled in division + > division(1, 0) + + tests/test_math_utils.py:55: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + a = 1, b = 0 + + def division(a, b): + > return a / b + E ZeroDivisionError: division by zero + + functions/math_utils.py:5: ZeroDivisionError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.000159810995683074 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_runtime_error`** + + - **โŒ #24** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001246009487658739 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015598698519170284 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 64 + message: RuntimeError: Forced runtime error + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 64 + message: RuntimeError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_runtime_error(): + # Test raises an uncaught RuntimeError + > raise RuntimeError("Forced runtime error") + E RuntimeError: Forced runtime error + + tests/test_math_utils.py:64: RuntimeError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013998302165418863 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_memory_error`** + + - **โŒ #25** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001241510035470128 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001482800580561161 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 68 + message: MemoryError: Simulated memory error + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 68 + message: MemoryError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_memory_error(): + # Manually raise MemoryError to simulate out-of-memory condition + > raise MemoryError("Simulated memory error") + E MemoryError: Simulated memory error + + tests/test_math_utils.py:68: MemoryError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013799802400171757 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_timeout_error`** + + - **โŒ #26** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001315310364589095 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015213596634566784 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 72 + message: TimeoutError: Simulated timeout error + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 72 + message: TimeoutError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_timeout_error(): + # Manually raise TimeoutError simulating timeout conditions + > raise TimeoutError("Simulated timeout error") + E TimeoutError: Simulated timeout error + + tests/test_math_utils.py:72: TimeoutError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001381200272589922 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_recursion_error`** + + - **โŒ #27** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001162959961220622 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0007767670322209597 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 77 + message: RecursionError: maximum recursion depth exceeded + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 78 + message: None + path: tests/test_math_utils.py + lineno: 77 + message: in recursive + path: tests/test_math_utils.py + lineno: 77 + message: in recursive + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_recursion_error(): + # Infinite recursion triggers RecursionError + def recursive(): + return recursive() + > recursive() + + tests/test_math_utils.py:78: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + tests/test_math_utils.py:77: in recursive + return recursive() + tests/test_math_utils.py:77: in recursive + return recursive() + E RecursionError: maximum recursion depth exceeded + !!! Recursion detected (same locals & position) + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001962779788300395 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_floating_point_error`** + + - **โŒ #28** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012764101848006248 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00016737100668251514 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 82 + message: FloatingPointError: Simulated floating point error + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 82 + message: FloatingPointError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_floating_point_error(): + # Manually raise FloatingPointError + > raise FloatingPointError("Simulated floating point error") + E FloatingPointError: Simulated floating point error + + tests/test_math_utils.py:82: FloatingPointError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015839701518416405 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_floating_point_overflow`** + + - **โŒ #29** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012149906251579523 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00018042000010609627 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 86 + message: OverflowError: math range error + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 86 + message: OverflowError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_floating_point_overflow(): + # Exponential overflow triggers OverflowError + > math.exp(1000) + E OverflowError: math range error + + tests/test_math_utils.py:86: OverflowError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001456590835005045 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_value_error`** + + - **โŒ #30** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012864102609455585 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015721202362328768 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 90 + message: ValueError: invalid literal for int() with base 10: 'invalid' + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 90 + message: ValueError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_value_error(): + # ValueError on invalid integer conversion + > int("invalid") + E ValueError: invalid literal for int() with base 10: 'invalid' + + tests/test_math_utils.py:90: ValueError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014742801431566477 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_wrong_argument_error`** + + - **โŒ #31** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011938204988837242 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015343795530498028 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 94 + message: TypeError: 'int' object is not iterable + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 94 + message: TypeError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_wrong_argument_error(): + # TypeError when passing wrong argument type to sum + > sum(5) + E TypeError: 'int' object is not iterable + + tests/test_math_utils.py:94: TypeError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001361500471830368 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_unhandled_exception`** + + - **โŒ #32** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00012251303996890783 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001539700897410512 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 98 + message: Exception: Generic unhandled exception + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 98 + message: Exception + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_unhandled_exception(): + # Raises generic unhandled Exception + > raise Exception("Generic unhandled exception") + E Exception: Generic unhandled exception + + tests/test_math_utils.py:98: Exception + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013558799400925636 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_custom_error`** + + - **โŒ #33** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011857994832098484 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015472702216356993 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 102 + message: test_math_utils.CustomError: Custom error simulation + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 102 + message: CustomError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_custom_error(): + # Raises user-defined CustomError exception + > raise CustomError("Custom error simulation") + E test_math_utils.CustomError: Custom error simulation + + tests/test_math_utils.py:102: CustomError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013322709128260612 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_stop_iteration_direct`** + + - **โŒ #34** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011828693095594645 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001602289266884327 + ``` + - **๐Ÿ“Œ 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: 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** + + ``` + def test_stop_iteration_direct(): + # Directly raise StopIteration exception + > raise StopIteration() + E StopIteration + + tests/test_math_utils.py:106: StopIteration + + The above exception was the direct cause of the following exception: + + cls = + func = . at 0x7f7f0c180700> + when = 'call' + reraise = (, ) + + @classmethod + def from_call( + cls, + func: Callable[[], TResult], + when: Literal["collect", "setup", "call", "teardown"], + reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, + ) -> CallInfo[TResult]: + """Call func, wrapping the result in a CallInfo. + + :param func: + The function to call. Called without arguments. + :type func: Callable[[], _pytest.runner.TResult] + :param when: + The phase in which the function is called. + :param reraise: + Exception or exceptions that shall propagate if raised by the + function, instead of being wrapped in the CallInfo. + """ + excinfo = None + start = timing.time() + precise_start = timing.perf_counter() + try: + > result: TResult | None = func() + + .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:341: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:242: in + lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise + .pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py:513: in __call__ + return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) + .pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py:120: in _hookexec + return self._inner_hookexec(hook_name, methods, kwargs, firstresult) + .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:92: in pytest_runtest_call + yield from thread_exception_runtest_hook() + .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook + yield + .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call + yield from unraisable_exception_runtest_hook() + .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook + yield + .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:846: in pytest_runtest_call + yield from self._runtest_for(item, "call") + .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:829: in _runtest_for + yield + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + self = _capture_fixture=None> + item = + + @hookimpl(wrapper=True) + def pytest_runtest_call(self, item: Item) -> Generator[None]: + with self.item_capture("call", item): + > return (yield) + E RuntimeError: generator raised StopIteration + + .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0002519130939617753 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_generator_exit_direct`** + + - **โŒ #35** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014687003567814827 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00017636606935411692 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 110 + message: GeneratorExit + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 110 + message: GeneratorExit + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_generator_exit_direct(): + # Directly raise GeneratorExit exception + > raise GeneratorExit() + E GeneratorExit + + tests/test_math_utils.py:110: GeneratorExit + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00017084903083741665 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_malformed_code`** + + - **โŒ #36** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00016353093087673187 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00017786293756216764 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 114 + message: File "", line 1 + def bad(: + ^ + SyntaxError: invalid syntax + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 114 + message: SyntaxError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_malformed_code(): + # SyntaxError when executing malformed Python code + > exec("def bad(:\n pass") + E File "", line 1 + E def bad(: + E ^ + E SyntaxError: invalid syntax + + tests/test_math_utils.py:114: SyntaxError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015124899800866842 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_sys_exit`** + + - **โŒ #37** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014230096712708473 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001981230452656746 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 118 + message: SystemExit: 1 + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 118 + message: SystemExit + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_sys_exit(): + # Simulate SystemExit via sys.exit + > sys.exit(1) + E SystemExit: 1 + + tests/test_math_utils.py:118: SystemExit + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014963699504733086 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_broken_function`** + + - **โŒ #38** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011949404142796993 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001525270054116845 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 123 + message: TypeError: Broken function + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 124 + message: None + path: tests/test_math_utils.py + lineno: 123 + message: TypeError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_broken_function(): + # Simulate broken function raising TypeError + def broken_func(*args, **kwargs): + raise TypeError("Broken function") + > broken_func() + + tests/test_math_utils.py:124: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + args = (), kwargs = {} + + def broken_func(*args, **kwargs): + > raise TypeError("Broken function") + E TypeError: Broken function + + tests/test_math_utils.py:123: TypeError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013826508074998856 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_import_error`** + + - **โŒ #39** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011688098311424255 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015449803322553635 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 127 + message: ImportError: Simulated ImportError + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 127 + message: ImportError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_import_error(): + > raise ImportError("Simulated ImportError") + E ImportError: Simulated ImportError + + tests/test_math_utils.py:127: ImportError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014940905384719372 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_module_not_found_error`** + + - **โŒ #40** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001219769474118948 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0004961419617757201 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + failed + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: + lineno: 973 + message: ModuleNotFoundError: No module named 'non_existent_module_xyz' + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 131 + 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** + + ``` + def test_module_not_found_error(): + # Raises ModuleNotFoundError (subclass of ImportError) for missing module + > importlib.import_module("non_existent_module_xyz") + + tests/test_math_utils.py:131: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module + return _bootstrap._gcd_import(name[level:], package, level) + :1014: in _gcd_import + ??? + :991: in _find_and_load + ??? + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + name = 'non_existent_module_xyz' + import_ = + + > ??? + E ModuleNotFoundError: No module named 'non_existent_module_xyz' + + :973: ModuleNotFoundError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015347800217568874 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ“ test_string_utils.py** + + - **๐Ÿ”ง Function: `test_uppercase_type_error`** + + - **โŒ #42** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00010605098214000463 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001481430372223258 + ``` + - **๐Ÿ“Œ 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: None + path: functions/string_utils.py + lineno: 3 + message: TypeError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + def test_uppercase_type_error(): + # TypeError when input is None (invalid input) + > uppercase(None) + + tests/test_string_utils.py:14: + _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + s = None + + def uppercase(s): + if s is None: + > raise TypeError("Input cannot be None") + E TypeError: Input cannot be None + + functions/string_utils.py:3: TypeError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00014123204164206982 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_unicode_decode_error`** + + - **โŒ #45** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.000102830003015697 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015958200674504042 + ``` + - **๐Ÿ“Œ 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(): + # UnicodeDecodeError when decoding invalid byte sequence + > b'\xff'.decode('utf-8') + E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte + + tests/test_string_utils.py:26: UnicodeDecodeError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013485003728419542 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ”ง Function: `test_unicode_decode_surrogateescape`** + + - **โŒ #46** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011613406240940094 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00015581899788230658 + ``` + - **๐Ÿ“Œ 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(): + # UnicodeDecodeError with strict error handler on invalid byte + > b"\x80".decode("utf-8", errors="strict") + E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte + + tests/test_string_utils.py:30: UnicodeDecodeError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001486659748479724 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + **โŒ Xfailed (2)** + - **๐Ÿ“ test_math_utils.py** + + - **๐Ÿ”ง Function: `test_multiply_xfail`** + + - **โŒ #23** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00013802899047732353 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0002755590248852968 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + skipped + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_math_utils.py + lineno: 60 + message: assert 4 == 5 + + where 4 = multiply(2, 2) + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_math_utils.py + lineno: 60 + message: AssertionError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + @pytest.mark.xfail(reason="Expected failure") + def test_multiply_xfail(): + # Expected fail test (xfail): incorrect expected multiply result + > assert multiply(2, 2) == 5 + E assert 4 == 5 + E + where 4 = multiply(2, 2) + + tests/test_math_utils.py:60: AssertionError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001389270182698965 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + - **๐Ÿ“ test_string_utils.py** + + - **๐Ÿ”ง Function: `test_xfail_uppercase_digits`** + + - **โŒ #48** + + ### ๐Ÿ”ง Setup Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.00011450995225459337 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` + + ### ๐Ÿ”ง Call Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0006304800044745207 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + skipped + ``` + - **๐Ÿ“Œ Crash** + + ``` + path: /workspace/tligui_y/slic/tests/test_string_utils.py + lineno: 39 + message: AssertionError: assert 'ABC123' == 'ABC1234' + + - ABC1234 + ? - + + ABC123 + ``` + - **๐Ÿ“Œ Traceback** + + ``` + path: tests/test_string_utils.py + lineno: 39 + message: AssertionError + ``` + - **๐Ÿ“Œ Longrepr** + + ``` + @pytest.mark.xfail(reason="Expected failure: uppercase does not handle digits") + def test_xfail_uppercase_digits(): + # Expected fail test because uppercase won't change digits + > assert uppercase("abc123") == "ABC1234" + E AssertionError: assert 'ABC123' == 'ABC1234' + E + E - ABC1234 + E ? - + E + ABC123 + + tests/test_string_utils.py:39: AssertionError + ``` + + ### ๐Ÿ”ง Teardown Phase + + - **๐Ÿ“Œ Duration** + + ``` + 0.0001331469975411892 + ``` + - **๐Ÿ“Œ Outcome** + + ``` + passed + ``` ## ๐Ÿ“š Collected files -
-
- โœ… (1 tests) - -
-
- โœ… - -- **Outcome:** `passed` -- **Details:** -``` -result: -nodeid: . -type: Dir - -``` - -
-
- - -
-
- -
-
- โœ… ci-reports (12 tests) - -
-
- โœ… ci-reports - -- **Outcome:** `passed` -- **Details:** -``` -result: -nodeid: ci-reports/allure -type: Dir -nodeid: ci-reports/coverage -type: Dir -nodeid: ci-reports/markdown -type: Dir - -``` - -
-
- -
-
- โœ… ci-reports/allure - -- **Outcome:** `passed` -- **Details:** -``` -result: -nodeid: ci-reports/allure/data -type: Dir -nodeid: ci-reports/allure/export -type: Dir -nodeid: ci-reports/allure/history -type: Dir -nodeid: ci-reports/allure/plugin -type: Dir -nodeid: ci-reports/allure/widgets -type: Dir - -``` - -
-
- -
-
- โœ… ci-reports/allure/data - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- -
-
- โœ… ci-reports/allure/export - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- -
-
- โœ… ci-reports/allure/history - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- -
-
- โœ… ci-reports/allure/plugin - -- **Outcome:** `passed` -- **Details:** -``` -result: -nodeid: ci-reports/allure/plugin/behaviors -type: Dir -nodeid: ci-reports/allure/plugin/packages -type: Dir -nodeid: ci-reports/allure/plugin/screen-diff -type: Dir - -``` - -
-
- -
-
- โœ… ci-reports/allure/plugin/behaviors - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- -
-
- โœ… ci-reports/allure/plugin/packages - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- -
-
- โœ… ci-reports/allure/plugin/screen-diff - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- -
-
- โœ… ci-reports/allure/widgets - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- -
-
- โœ… ci-reports/coverage - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- -
-
- โœ… ci-reports/markdown - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- - -
-
- -
-
- โœ… functions (1 tests) - -
-
- โœ… functions - -- **Outcome:** `passed` -- **Details:** -``` -result: - - -``` - -
-
- - -
-
- -
-
- โŒ tests (6 tests) - -
-
- โœ… tests - -- **Outcome:** `passed` -- **Details:** -``` -result: -nodeid: tests/test_broken_fct.py -type: Module -nodeid: tests/test_collector_error.py -type: Module -nodeid: tests/test_io_utils.py -type: Module -nodeid: tests/test_math_utils.py -type: Module -nodeid: tests/test_string_utils.py -type: Module - -``` - -
-
- -
-
- โŒ tests/test_broken_fct.py - -- **Outcome:** `failed` -- **Details:** -``` -result: - - -longrepr: -.pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule - mod = import_path( -.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path - importlib.import_module(module_name) -.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module - return _bootstrap._gcd_import(name[level:], package, level) -:1014: in _gcd_import - ??? -:991: in _find_and_load - ??? -:975: in _find_and_load_unlocked - ??? -:671: in _load_unlocked - ??? -.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module - source_stat, co = _rewrite_test(fn, self.config) -.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test - tree = ast.parse(source, filename=strfn) -.pixi/envs/default/lib/python3.8/ast.py:47: in parse - return compile(source, filename, mode, flags, -E File "/workspace/tligui_y/slic/tests/test_broken_fct.py", line 8 -E def test_valid_2(): -E ^ -E SyntaxError: invalid syntax - -``` - -
-
- -
-
- โŒ tests/test_collector_error.py - -- **Outcome:** `failed` -- **Details:** -``` -result: - - -longrepr: -ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'. -Hint: make sure your test modules/packages have valid Python names. -Traceback: -.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module - return _bootstrap._gcd_import(name[level:], package, level) -tests/test_collector_error.py:1: in - from no_existing_module.math_utils import * -E ModuleNotFoundError: No module named 'no_existing_module' - -``` - -
-
- -
-
- โœ… tests/test_io_utils.py - -- **Outcome:** `passed` -- **Details:** -``` -result: -nodeid: tests/test_io_utils.py::test_read_file -type: Function -lineno: 9 -nodeid: tests/test_io_utils.py::test_write_file -type: Function -lineno: 16 -nodeid: tests/test_io_utils.py::test_cause_io_error -type: Function -lineno: 22 -nodeid: tests/test_io_utils.py::test_file_not_found -type: Function -lineno: 26 -nodeid: tests/test_io_utils.py::test_permission_error -type: Function -lineno: 30 -nodeid: tests/test_io_utils.py::test_mock_open_error -type: Function -lineno: 37 -nodeid: tests/test_io_utils.py::test_file_handle_closed_error -type: Function -lineno: 45 -nodeid: tests/test_io_utils.py::test_os_error -type: Function -lineno: 51 -nodeid: tests/test_io_utils.py::test_write_file_readonly -type: Function -lineno: 58 -nodeid: tests/test_io_utils.py::test_file_not_found_error -type: Function -lineno: 66 - -``` - -
-
- -
-
- โœ… tests/test_math_utils.py - -- **Outcome:** `passed` -- **Details:** -``` -result: -nodeid: tests/test_math_utils.py::test_broken -type: Function -lineno: 13 -nodeid: tests/test_math_utils.py::test_call_missing_function -type: Function -lineno: 17 -nodeid: tests/test_math_utils.py::test_addition_pass[2-2-4] -type: Function -lineno: 22 -nodeid: tests/test_math_utils.py::test_addition_pass[1-5-6] -type: Function -lineno: 22 -nodeid: tests/test_math_utils.py::test_addition_pass[3-4-7] -type: Function -lineno: 22 -nodeid: tests/test_math_utils.py::test_addition_pass[3-5-8] -type: Function -lineno: 22 -nodeid: tests/test_math_utils.py::test_addition_pass[3-6-9] -type: Function -lineno: 22 -nodeid: tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4] -type: Function -lineno: 36 -nodeid: tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6] -type: Function -lineno: 36 -nodeid: tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7] -type: Function -lineno: 36 -nodeid: tests/test_math_utils.py::test_addition_fail -type: Function -lineno: 48 -nodeid: tests/test_math_utils.py::test_division_zero -type: Function -lineno: 52 -nodeid: tests/test_math_utils.py::test_multiply_xfail -type: Function -lineno: 56 -nodeid: tests/test_math_utils.py::test_runtime_error -type: Function -lineno: 61 -nodeid: tests/test_math_utils.py::test_memory_error -type: Function -lineno: 65 -nodeid: tests/test_math_utils.py::test_timeout_error -type: Function -lineno: 69 -nodeid: tests/test_math_utils.py::test_recursion_error -type: Function -lineno: 73 -nodeid: tests/test_math_utils.py::test_floating_point_error -type: Function -lineno: 79 -nodeid: tests/test_math_utils.py::test_floating_point_overflow -type: Function -lineno: 83 -nodeid: tests/test_math_utils.py::test_value_error -type: Function -lineno: 87 -nodeid: tests/test_math_utils.py::test_wrong_argument_error -type: Function -lineno: 91 -nodeid: tests/test_math_utils.py::test_unhandled_exception -type: Function -lineno: 95 -nodeid: tests/test_math_utils.py::test_custom_error -type: Function -lineno: 99 -nodeid: tests/test_math_utils.py::test_stop_iteration_direct -type: Function -lineno: 103 -nodeid: tests/test_math_utils.py::test_generator_exit_direct -type: Function -lineno: 107 -nodeid: tests/test_math_utils.py::test_malformed_code -type: Function -lineno: 111 -nodeid: tests/test_math_utils.py::test_sys_exit -type: Function -lineno: 115 -nodeid: tests/test_math_utils.py::test_broken_function -type: Function -lineno: 119 -nodeid: tests/test_math_utils.py::test_import_error -type: Function -lineno: 125 -nodeid: tests/test_math_utils.py::test_module_not_found_error -type: Function -lineno: 128 - -``` - -
-
- -
-
- โœ… tests/test_string_utils.py - -- **Outcome:** `passed` -- **Details:** -``` -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 - -``` - -
-
- - -
-
- -
-
- โœ… . (1 tests) - -
-
- โœ… . - -- **Outcome:** `passed` -- **Details:** -``` -result: -nodeid: ci-reports -type: Dir -nodeid: functions -type: Package -nodeid: tests -type: Dir - -``` - -
-
- - -
-
- + - **โœ… (1 tests)** + + - **โœ… ** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + nodeid: . + type: Dir + + ``` + - **โœ… ci-reports (12 tests)** + + - **โœ… ci-reports** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + nodeid: ci-reports/allure + type: Dir + nodeid: ci-reports/coverage + type: Dir + nodeid: ci-reports/markdown + type: Dir + + ``` + - **โœ… ci-reports/allure** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + nodeid: ci-reports/allure/data + type: Dir + nodeid: ci-reports/allure/export + type: Dir + nodeid: ci-reports/allure/history + type: Dir + nodeid: ci-reports/allure/plugin + type: Dir + nodeid: ci-reports/allure/widgets + type: Dir + + ``` + - **โœ… ci-reports/allure/data** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… ci-reports/allure/export** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… ci-reports/allure/history** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… ci-reports/allure/plugin** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + nodeid: ci-reports/allure/plugin/behaviors + type: Dir + nodeid: ci-reports/allure/plugin/packages + type: Dir + nodeid: ci-reports/allure/plugin/screen-diff + type: Dir + + ``` + - **โœ… ci-reports/allure/plugin/behaviors** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… ci-reports/allure/plugin/packages** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… ci-reports/allure/plugin/screen-diff** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… ci-reports/allure/widgets** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… ci-reports/coverage** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… ci-reports/markdown** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โœ… functions (1 tests)** + + - **โœ… functions** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + + + ``` + - **โŒ tests (6 tests)** + + - **โœ… tests** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + nodeid: tests/test_broken_fct.py + type: Module + nodeid: tests/test_collector_error.py + type: Module + nodeid: tests/test_io_utils.py + type: Module + nodeid: tests/test_math_utils.py + type: Module + nodeid: tests/test_string_utils.py + type: Module + + ``` + - **โŒ tests/test_broken_fct.py** + + - **Outcome:** `failed` + - **Details:** + ``` + result: + + + longrepr: + .pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule + mod = import_path( + .pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path + importlib.import_module(module_name) + .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module + return _bootstrap._gcd_import(name[level:], package, level) + :1014: in _gcd_import + ??? + :991: in _find_and_load + ??? + :975: in _find_and_load_unlocked + ??? + :671: in _load_unlocked + ??? + .pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module + source_stat, co = _rewrite_test(fn, self.config) + .pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test + tree = ast.parse(source, filename=strfn) + .pixi/envs/default/lib/python3.8/ast.py:47: in parse + return compile(source, filename, mode, flags, + E File "/workspace/tligui_y/slic/tests/test_broken_fct.py", line 8 + E def test_valid_2(): + E ^ + E SyntaxError: invalid syntax + + ``` + - **โŒ tests/test_collector_error.py** + + - **Outcome:** `failed` + - **Details:** + ``` + result: + + + longrepr: + ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'. + Hint: make sure your test modules/packages have valid Python names. + Traceback: + .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module + return _bootstrap._gcd_import(name[level:], package, level) + tests/test_collector_error.py:1: in + from no_existing_module.math_utils import * + E ModuleNotFoundError: No module named 'no_existing_module' + + ``` + - **โœ… tests/test_io_utils.py** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + nodeid: tests/test_io_utils.py::test_read_file + type: Function + lineno: 9 + nodeid: tests/test_io_utils.py::test_write_file + type: Function + lineno: 16 + nodeid: tests/test_io_utils.py::test_cause_io_error + type: Function + lineno: 22 + nodeid: tests/test_io_utils.py::test_file_not_found + type: Function + lineno: 26 + nodeid: tests/test_io_utils.py::test_permission_error + type: Function + lineno: 30 + nodeid: tests/test_io_utils.py::test_mock_open_error + type: Function + lineno: 37 + nodeid: tests/test_io_utils.py::test_file_handle_closed_error + type: Function + lineno: 45 + nodeid: tests/test_io_utils.py::test_os_error + type: Function + lineno: 51 + nodeid: tests/test_io_utils.py::test_write_file_readonly + type: Function + lineno: 58 + nodeid: tests/test_io_utils.py::test_file_not_found_error + type: Function + lineno: 66 + + ``` + - **โœ… tests/test_math_utils.py** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + nodeid: tests/test_math_utils.py::test_broken + type: Function + lineno: 13 + nodeid: tests/test_math_utils.py::test_call_missing_function + type: Function + lineno: 17 + nodeid: tests/test_math_utils.py::test_addition_pass[2-2-4] + type: Function + lineno: 22 + nodeid: tests/test_math_utils.py::test_addition_pass[1-5-6] + type: Function + lineno: 22 + nodeid: tests/test_math_utils.py::test_addition_pass[3-4-7] + type: Function + lineno: 22 + nodeid: tests/test_math_utils.py::test_addition_pass[3-5-8] + type: Function + lineno: 22 + nodeid: tests/test_math_utils.py::test_addition_pass[3-6-9] + type: Function + lineno: 22 + nodeid: tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4] + type: Function + lineno: 36 + nodeid: tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6] + type: Function + lineno: 36 + nodeid: tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7] + type: Function + lineno: 36 + nodeid: tests/test_math_utils.py::test_addition_fail + type: Function + lineno: 48 + nodeid: tests/test_math_utils.py::test_division_zero + type: Function + lineno: 52 + nodeid: tests/test_math_utils.py::test_multiply_xfail + type: Function + lineno: 56 + nodeid: tests/test_math_utils.py::test_runtime_error + type: Function + lineno: 61 + nodeid: tests/test_math_utils.py::test_memory_error + type: Function + lineno: 65 + nodeid: tests/test_math_utils.py::test_timeout_error + type: Function + lineno: 69 + nodeid: tests/test_math_utils.py::test_recursion_error + type: Function + lineno: 73 + nodeid: tests/test_math_utils.py::test_floating_point_error + type: Function + lineno: 79 + nodeid: tests/test_math_utils.py::test_floating_point_overflow + type: Function + lineno: 83 + nodeid: tests/test_math_utils.py::test_value_error + type: Function + lineno: 87 + nodeid: tests/test_math_utils.py::test_wrong_argument_error + type: Function + lineno: 91 + nodeid: tests/test_math_utils.py::test_unhandled_exception + type: Function + lineno: 95 + nodeid: tests/test_math_utils.py::test_custom_error + type: Function + lineno: 99 + nodeid: tests/test_math_utils.py::test_stop_iteration_direct + type: Function + lineno: 103 + nodeid: tests/test_math_utils.py::test_generator_exit_direct + type: Function + lineno: 107 + nodeid: tests/test_math_utils.py::test_malformed_code + type: Function + lineno: 111 + nodeid: tests/test_math_utils.py::test_sys_exit + type: Function + lineno: 115 + nodeid: tests/test_math_utils.py::test_broken_function + type: Function + lineno: 119 + nodeid: tests/test_math_utils.py::test_import_error + type: Function + lineno: 125 + nodeid: tests/test_math_utils.py::test_module_not_found_error + type: Function + lineno: 128 + + ``` + - **โœ… tests/test_string_utils.py** + + - **Outcome:** `passed` + - **Details:** + ``` + 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 + + ``` + - **โœ… . (1 tests)** + + - **โœ… .** + + - **Outcome:** `passed` + - **Details:** + ``` + result: + nodeid: ci-reports + type: Dir + nodeid: functions + type: Package + nodeid: tests + type: Dir + + ``` ## โš ๏ธ Warnings -
-
- Warning #1 - -``` -message: Test warning -category: UserWarning -when: runtest -filename: /workspace/tligui_y/slic/tests/test_string_utils.py -lineno: 22 -``` - -
-
+ - **Warning #1** + ``` + message: Test warning + category: UserWarning + when: runtest + filename: /workspace/tligui_y/slic/tests/test_string_utils.py + lineno: 22 + ``` diff --git a/ci-reports/markdown/json-tree-view.txt b/ci-reports/markdown/json-tree-view.txt index 798d0593..4639c8e9 100644 --- a/ci-reports/markdown/json-tree-view.txt +++ b/ci-reports/markdown/json-tree-view.txt @@ -1,6 +1,6 @@ ๐Ÿ“ ci-reports/markdown/pytest-report.json -โ”œโ”€โ”€ created: 1752666738.2113352 -โ”œโ”€โ”€ duration: 0.7364645004272461 +โ”œโ”€โ”€ created: 1752666898.1811798 +โ”œโ”€โ”€ duration: 0.7390785217285156 โ”œโ”€โ”€ exitcode: 2 โ”œโ”€โ”€ root: /workspace/tligui_y/slic โ”œโ”€โ”€ environment @@ -413,13 +413,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0035742520121857524 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0033443759893998504 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0005532039795070887 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000433947890996933 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00028500996995717287 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002535480307415128 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_write_file @@ -432,13 +432,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0005267660599201918 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00045499601401388645 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00032836897298693657 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002809399738907814 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014958204701542854 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013844796922057867 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_cause_io_error @@ -451,10 +451,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011619192082434893 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012375798542052507 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017574895173311234 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015708105638623238 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/functions/io_utils.py @@ -483,7 +483,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ functions/io_utils.py:10: OSError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016088702250272036 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015013699885457754 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_file_not_found @@ -496,10 +496,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001202489947900176 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012390303891152143 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00020034797489643097 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018452492076903582 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/functions/io_utils.py @@ -532,7 +532,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ functions/io_utils.py:2: FileNotFoundError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015093002002686262 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013914401642978191 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_permission_error @@ -545,10 +545,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00021765392739325762 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019794609397649765 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017849099822342396 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019865098875015974 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -568,7 +568,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 34 โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: PermissionError โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -โ”‚ โ”‚ โ”‚ at 0x7f2da9206730> +โ”‚ โ”‚ โ”‚ at 0x7f7f0c4933a0> โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ def test_permission_error(monkeypatch): โ”‚ โ”‚ โ”‚ # Patch open to raise PermissionError simulating access @@ -594,7 +594,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:34: PermissionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017097697127610445 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016384804621338844 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_mock_open_error @@ -607,10 +607,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00020372204016894102 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001919709611684084 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.003365261945873499 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.003309931023977697 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: @@ -636,7 +636,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 1140 โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: OSError โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -โ”‚ โ”‚ โ”‚ at 0x7f2da706bd00> +โ”‚ โ”‚ โ”‚ at 0x7f7f0c482c70> โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ def test_mock_open_error(monkeypatch): โ”‚ โ”‚ โ”‚ # Mock open() to raise IOError simulating read error @@ -658,7 +658,7 @@ โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ self = +โ”‚ โ”‚ โ”‚ id='140183643631136'> โ”‚ โ”‚ โ”‚ args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked โ”‚ โ”‚ โ”‚ IOError') โ”‚ โ”‚ โ”‚ @@ -676,7 +676,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00031913002021610737 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000310020986944437 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_file_handle_closed_error @@ -689,10 +689,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001475949538871646 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014646700583398342 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001897580223158002 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019331404473632574 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -712,7 +712,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:50: ValueError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018281093798577785 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018731097225099802 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_os_error @@ -725,10 +725,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00026894896291196346 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000240995897911489 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018954300321638584 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018332095351070166 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -744,7 +744,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 55 โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: OSError โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -โ”‚ โ”‚ โ”‚ at 0x7f2da714fa90> +โ”‚ โ”‚ โ”‚ at 0x7f7f0c118fa0> โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ def test_os_error(monkeypatch): โ”‚ โ”‚ โ”‚ # Patch os.remove to raise OSError simulating filesystem @@ -766,7 +766,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:55: OSError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00021091103553771973 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017155695240944624 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_write_file_readonly @@ -779,13 +779,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0006761370459571481 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0006288669537752867 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0009552850387990475 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0011171880178153515 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001538749784231186 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014843803364783525 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_file_not_found_error @@ -798,10 +798,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011662696488201618 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011333799920976162 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017251900862902403 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016783992759883404 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -822,7 +822,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:69: FileNotFoundError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013842503540217876 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014111795462667942 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_broken @@ -835,10 +835,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013089098501950502 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013266992755234241 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001526509877294302 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016151810996234417 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -858,7 +858,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:16: NameError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013630802277475595 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015100697055459023 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_call_missing_function @@ -871,10 +871,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011923699639737606 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013025698717683554 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015505601186305285 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000195056083612144 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -895,7 +895,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:20: AttributeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015016505494713783 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013913691509515047 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[2-2-4] @@ -911,13 +911,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00030860002152621746 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00028895807918161154 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015268998686224222 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014469109009951353 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015644298400729895 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000137501978315413 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[1-5-6] @@ -933,13 +933,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002608660142868757 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002457130467519164 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015068694483488798 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012954289559274912 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013645202852785587 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001304630422964692 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-4-7] @@ -955,13 +955,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002509739715605974 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00024443992879241705 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014228303916752338 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001495110336691141 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001367880031466484 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013533397577703 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-5-8] @@ -977,13 +977,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00023685302585363388 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00023856200277805328 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001357519067823887 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001295709516853094 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013258797116577625 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013188703451305628 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-6-9] @@ -999,13 +999,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00025065208319574594 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00023896002676337957 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014754198491573334 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001242560101673007 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013444898650050163 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012666103430092335 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1021,13 +1021,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00024083396419882774 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002611810341477394 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014376093167811632 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013946497347205877 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013512198347598314 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014890602324157953 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1043,13 +1043,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00023368198890239 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00023674406111240387 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013788091018795967 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012718501966446638 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000130749074742198 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016821699682623148 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1065,13 +1065,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00024215097073465586 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002483940916135907 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015237496700137854 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001305650221183896 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013678695540875196 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001407699892297387 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_fail @@ -1084,10 +1084,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010358099825680256 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010353804100304842 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000481831026263535 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004682119470089674 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1107,7 +1107,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:51: AssertionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013364898040890694 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013800302986055613 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_division_zero @@ -1120,10 +1120,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011715502478182316 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001197450328618288 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015645299572497606 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015808502212166786 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/functions/math_utils.py @@ -1155,7 +1155,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ functions/math_utils.py:5: ZeroDivisionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013746100012212992 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000159810995683074 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_multiply_xfail @@ -1170,10 +1170,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013820698950439692 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013802899047732353 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002707450184971094 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002755590248852968 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: skipped โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1195,7 +1195,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:60: AssertionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001427429961040616 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001389270182698965 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_runtime_error @@ -1208,10 +1208,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011609098874032497 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001246009487658739 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014646293129771948 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015598698519170284 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1229,7 +1229,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:64: RuntimeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013875903096050024 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013998302165418863 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_memory_error @@ -1242,10 +1242,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000118125113658607 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001241510035470128 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015022000297904015 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001482800580561161 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1264,7 +1264,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:68: MemoryError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014572194777429104 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013799802400171757 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_timeout_error @@ -1277,10 +1277,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012235005851835012 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001315310364589095 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015122501645237207 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015213596634566784 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1299,7 +1299,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:72: TimeoutError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013237097300589085 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001381200272589922 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_recursion_error @@ -1312,10 +1312,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001147399889305234 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001162959961220622 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0008008719887584448 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0007767670322209597 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1350,7 +1350,7 @@ โ”‚ โ”‚ โ”‚ E RecursionError: maximum recursion depth exceeded โ”‚ โ”‚ โ”‚ !!! Recursion detected (same locals & position) โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001529440050944686 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001962779788300395 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_floating_point_error @@ -1363,10 +1363,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013725890312343836 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012764101848006248 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015702203381806612 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016737100668251514 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1385,7 +1385,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:82: FloatingPointError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014713010750710964 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015839701518416405 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_floating_point_overflow @@ -1398,10 +1398,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012016098480671644 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012149906251579523 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016026198863983154 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018042000010609627 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1419,7 +1419,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:86: OverflowError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013961188960820436 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001456590835005045 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_value_error @@ -1432,10 +1432,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000141531927511096 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012864102609455585 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001621569972485304 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015721202362328768 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1455,7 +1455,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:90: ValueError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001348269870504737 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014742801431566477 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_wrong_argument_error @@ -1468,10 +1468,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011674698907881975 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011938204988837242 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015012896619737148 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015343795530498028 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1489,7 +1489,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:94: TypeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001317060086876154 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001361500471830368 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_unhandled_exception @@ -1502,10 +1502,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011471204925328493 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012251303996890783 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001490359427407384 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001539700897410512 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1523,7 +1523,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:98: Exception โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016583397518843412 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013558799400925636 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_custom_error @@ -1536,10 +1536,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012386997696012259 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011857994832098484 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014963396824896336 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015472702216356993 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1558,7 +1558,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:102: CustomError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001405429793521762 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013322709128260612 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_stop_iteration_direct @@ -1571,10 +1571,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011636200360953808 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011828693095594645 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001620640978217125 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001602289266884327 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: @@ -1661,7 +1661,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ cls = โ”‚ โ”‚ โ”‚ func = . at -โ”‚ โ”‚ โ”‚ 0x7f2da96629d0> +โ”‚ โ”‚ โ”‚ 0x7f7f0c180700> โ”‚ โ”‚ โ”‚ when = 'call' โ”‚ โ”‚ โ”‚ reraise = (, ) @@ -1744,7 +1744,7 @@ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.p โ”‚ โ”‚ โ”‚ y:880: RuntimeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00025087606627494097 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002519130939617753 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_generator_exit_direct @@ -1757,10 +1757,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013902201317250729 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014687003567814827 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019113498274236917 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017636606935411692 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1778,7 +1778,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:110: GeneratorExit โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018683599773794413 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017084903083741665 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_malformed_code @@ -1791,10 +1791,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001285988837480545 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016353093087673187 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017199106514453888 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017786293756216764 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1818,7 +1818,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:114: SyntaxError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014288397505879402 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015124899800866842 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_sys_exit @@ -1831,10 +1831,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011670298408716917 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014230096712708473 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001489140558987856 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001981230452656746 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1852,7 +1852,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:118: SystemExit โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001472060102969408 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014963699504733086 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_broken_function @@ -1865,10 +1865,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012386497110128403 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011949404142796993 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016605807468295097 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001525270054116845 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1901,7 +1901,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:123: TypeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013725704047828913 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013826508074998856 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_import_error @@ -1914,10 +1914,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011682102922350168 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011688098311424255 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015406194142997265 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015449803322553635 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1934,7 +1934,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:127: ImportError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014595896936953068 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014940905384719372 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_module_not_found_error @@ -1947,10 +1947,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011606805492192507 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001219769474118948 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004935089964419603 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004961419617757201 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: @@ -1998,7 +1998,7 @@ โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ name = 'non_existent_module_xyz' -โ”‚ โ”‚ โ”‚ import_ = +โ”‚ โ”‚ โ”‚ import_ = โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ > ??? โ”‚ โ”‚ โ”‚ E ModuleNotFoundError: No module named @@ -2006,7 +2006,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ :973: ModuleNotFoundError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014417292550206184 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015347800217568874 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_uppercase_normal @@ -2019,13 +2019,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014799297787249088 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014154391828924417 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001593200722709298 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015093700494617224 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010337599087506533 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001027469988912344 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_uppercase_type_error @@ -2038,10 +2038,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010989909060299397 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010605098214000463 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014724803622812033 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001481430372223258 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/functions/string_utils.py @@ -2073,7 +2073,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ functions/string_utils.py:3: TypeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001352600520476699 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014123204164206982 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_reverse_string @@ -2086,13 +2086,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011785095557570457 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013102602679282427 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014328001998364925 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014188094064593315 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010010797996073961 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010036001913249493 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_warning_emit @@ -2105,13 +2105,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001055779866874218 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010474305599927902 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014383194502443075 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001459089107811451 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 9.52680129557848e-05 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 9.738397784531116e-05 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_unicode_decode_error @@ -2124,10 +2124,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001076690386980772 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000102830003015697 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001683890586718917 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015958200674504042 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2147,7 +2147,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:26: UnicodeDecodeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013274408411234617 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013485003728419542 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: @@ -2161,10 +2161,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011776702012866735 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011613406240940094 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015579897444695234 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015581899788230658 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2185,7 +2185,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:30: UnicodeDecodeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001331189414486289 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001486659748479724 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_import_warning @@ -2198,13 +2198,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011642498429864645 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012248905841261148 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014415103942155838 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013844191562384367 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010642607230693102 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011598900891840458 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_xfail_uppercase_digits @@ -2219,10 +2219,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012458802666515112 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011450995225459337 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0006268499419093132 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0006304800044745207 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: skipped โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2251,7 +2251,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:39: AssertionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001317160204052925 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001331469975411892 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ””โ”€โ”€ - โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_keyboard_interrupt_direct @@ -2264,7 +2264,7 @@ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ””โ”€โ”€ setup -โ”‚ โ”œโ”€โ”€ duration: 0.0001186929875984788 +โ”‚ โ”œโ”€โ”€ duration: 0.00011957704555243254 โ”‚ โ””โ”€โ”€ outcome: passed โ””โ”€โ”€ warnings โ””โ”€โ”€ - diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index 305a1658..69597a0c 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752666738.2113352, "duration": 0.7364645004272461, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 31, "xfailed": 2, "total": 49, "collected": 49}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 66}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 48}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 52}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 65}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 69}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 73}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 95}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 99}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 103}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 107}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 111}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 115}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_import_error", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 128}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 15}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 23}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 31}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 40}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0035742520121857524, "outcome": "passed"}, "call": {"duration": 0.0005532039795070887, "outcome": "passed"}, "teardown": {"duration": 0.00028500996995717287, "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.0005267660599201918, "outcome": "passed"}, "call": {"duration": 0.00032836897298693657, "outcome": "passed"}, "teardown": {"duration": 0.00014958204701542854, "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.00011619192082434893, "outcome": "passed"}, "call": {"duration": 0.00017574895173311234, "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.00016088702250272036, "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.0001202489947900176, "outcome": "passed"}, "call": {"duration": 0.00020034797489643097, "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.00015093002002686262, "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.00021765392739325762, "outcome": "passed"}, "call": {"duration": 0.00017849099822342396, "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 0x7f2da9206730>\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.00017097697127610445, "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.00020372204016894102, "outcome": "passed"}, "call": {"duration": 0.003365261945873499, "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 0x7f2da706bd00>\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.00031913002021610737, "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.0001475949538871646, "outcome": "passed"}, "call": {"duration": 0.0001897580223158002, "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.00018281093798577785, "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.00026894896291196346, "outcome": "passed"}, "call": {"duration": 0.00018954300321638584, "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 0x7f2da714fa90>\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.00021091103553771973, "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.0006761370459571481, "outcome": "passed"}, "call": {"duration": 0.0009552850387990475, "outcome": "passed"}, "teardown": {"duration": 0.0001538749784231186, "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.00011662696488201618, "outcome": "passed"}, "call": {"duration": 0.00017251900862902403, "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.00013842503540217876, "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.00013089098501950502, "outcome": "passed"}, "call": {"duration": 0.0001526509877294302, "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.00013630802277475595, "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.00011923699639737606, "outcome": "passed"}, "call": {"duration": 0.00015505601186305285, "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.00015016505494713783, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00030860002152621746, "outcome": "passed"}, "call": {"duration": 0.00015268998686224222, "outcome": "passed"}, "teardown": {"duration": 0.00015644298400729895, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002608660142868757, "outcome": "passed"}, "call": {"duration": 0.00015068694483488798, "outcome": "passed"}, "teardown": {"duration": 0.00013645202852785587, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002509739715605974, "outcome": "passed"}, "call": {"duration": 0.00014228303916752338, "outcome": "passed"}, "teardown": {"duration": 0.0001367880031466484, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023685302585363388, "outcome": "passed"}, "call": {"duration": 0.0001357519067823887, "outcome": "passed"}, "teardown": {"duration": 0.00013258797116577625, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00025065208319574594, "outcome": "passed"}, "call": {"duration": 0.00014754198491573334, "outcome": "passed"}, "teardown": {"duration": 0.00013444898650050163, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=2,b=2,expected=4]", "parametrize", "pytestmark", "a=2,b=2,expected=4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024083396419882774, "outcome": "passed"}, "call": {"duration": 0.00014376093167811632, "outcome": "passed"}, "teardown": {"duration": 0.00013512198347598314, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=1,b=5,expected=6]", "parametrize", "pytestmark", "a=1,b=5,expected=6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023368198890239, "outcome": "passed"}, "call": {"duration": 0.00013788091018795967, "outcome": "passed"}, "teardown": {"duration": 0.000130749074742198, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=3,b=4,expected=7]", "parametrize", "pytestmark", "a=3,b=4,expected=7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024215097073465586, "outcome": "passed"}, "call": {"duration": 0.00015237496700137854, "outcome": "passed"}, "teardown": {"duration": 0.00013678695540875196, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 48, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010358099825680256, "outcome": "passed"}, "call": {"duration": 0.000481831026263535, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 51, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 51, "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:51: AssertionError"}, "teardown": {"duration": 0.00013364898040890694, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 52, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011715502478182316, "outcome": "passed"}, "call": {"duration": 0.00015645299572497606, "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": 55, "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:55: \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.00013746100012212992, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 56, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013820698950439692, "outcome": "passed"}, "call": {"duration": 0.0002707450184971094, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 60, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 60, "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:60: AssertionError"}, "teardown": {"duration": 0.0001427429961040616, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 61, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011609098874032497, "outcome": "passed"}, "call": {"duration": 0.00014646293129771948, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 64, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 64, "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:64: RuntimeError"}, "teardown": {"duration": 0.00013875903096050024, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 65, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000118125113658607, "outcome": "passed"}, "call": {"duration": 0.00015022000297904015, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 68, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 68, "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:68: MemoryError"}, "teardown": {"duration": 0.00014572194777429104, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 69, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012235005851835012, "outcome": "passed"}, "call": {"duration": 0.00015122501645237207, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 72, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 72, "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:72: TimeoutError"}, "teardown": {"duration": 0.00013237097300589085, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 73, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001147399889305234, "outcome": "passed"}, "call": {"duration": 0.0008008719887584448, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 77, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 78, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 77, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 77, "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:78: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:77: in recursive\n return recursive()\ntests/test_math_utils.py:77: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.0001529440050944686, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 79, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013725890312343836, "outcome": "passed"}, "call": {"duration": 0.00015702203381806612, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:82: FloatingPointError"}, "teardown": {"duration": 0.00014713010750710964, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 83, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012016098480671644, "outcome": "passed"}, "call": {"duration": 0.00016026198863983154, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 86, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 86, "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:86: OverflowError"}, "teardown": {"duration": 0.00013961188960820436, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 87, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000141531927511096, "outcome": "passed"}, "call": {"duration": 0.0001621569972485304, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 90, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 90, "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:90: ValueError"}, "teardown": {"duration": 0.0001348269870504737, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "lineno": 91, "outcome": "failed", "keywords": ["test_wrong_argument_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011674698907881975, "outcome": "passed"}, "call": {"duration": 0.00015012896619737148, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 94, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 94, "message": "TypeError"}], "longrepr": "def test_wrong_argument_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:94: TypeError"}, "teardown": {"duration": 0.0001317060086876154, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 95, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011471204925328493, "outcome": "passed"}, "call": {"duration": 0.0001490359427407384, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 98, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 98, "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:98: Exception"}, "teardown": {"duration": 0.00016583397518843412, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 99, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012386997696012259, "outcome": "passed"}, "call": {"duration": 0.00014963396824896336, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 102, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 102, "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:102: CustomError"}, "teardown": {"duration": 0.0001405429793521762, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 103, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011636200360953808, "outcome": "passed"}, "call": {"duration": 0.0001620640978217125, "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:106: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f2da96629d0>\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.00025087606627494097, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 107, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013902201317250729, "outcome": "passed"}, "call": {"duration": 0.00019113498274236917, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:110: GeneratorExit"}, "teardown": {"duration": 0.00018683599773794413, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 111, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001285988837480545, "outcome": "passed"}, "call": {"duration": 0.00017199106514453888, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 114, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 114, "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:114: SyntaxError"}, "teardown": {"duration": 0.00014288397505879402, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 115, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011670298408716917, "outcome": "passed"}, "call": {"duration": 0.0001489140558987856, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 118, "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:118: SystemExit"}, "teardown": {"duration": 0.0001472060102969408, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 119, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012386497110128403, "outcome": "passed"}, "call": {"duration": 0.00016605807468295097, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 123, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 124, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 123, "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:124: \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:123: TypeError"}, "teardown": {"duration": 0.00013725704047828913, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error", "lineno": 125, "outcome": "failed", "keywords": ["test_import_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011682102922350168, "outcome": "passed"}, "call": {"duration": 0.00015406194142997265, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 127, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 127, "message": "ImportError"}], "longrepr": "def test_import_error():\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:127: ImportError"}, "teardown": {"duration": 0.00014595896936953068, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 128, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011606805492192507, "outcome": "passed"}, "call": {"duration": 0.0004935089964419603, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "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:131: \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.00014417292550206184, "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.00014799297787249088, "outcome": "passed"}, "call": {"duration": 0.0001593200722709298, "outcome": "passed"}, "teardown": {"duration": 0.00010337599087506533, "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.00010989909060299397, "outcome": "passed"}, "call": {"duration": 0.00014724803622812033, "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.0001352600520476699, "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.00011785095557570457, "outcome": "passed"}, "call": {"duration": 0.00014328001998364925, "outcome": "passed"}, "teardown": {"duration": 0.00010010797996073961, "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.0001055779866874218, "outcome": "passed"}, "call": {"duration": 0.00014383194502443075, "outcome": "passed"}, "teardown": {"duration": 9.52680129557848e-05, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 23, "outcome": "failed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001076690386980772, "outcome": "passed"}, "call": {"duration": 0.0001683890586718917, "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.00013274408411234617, "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.00011776702012866735, "outcome": "passed"}, "call": {"duration": 0.00015579897444695234, "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.0001331189414486289, "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.00011642498429864645, "outcome": "passed"}, "call": {"duration": 0.00014415103942155838, "outcome": "passed"}, "teardown": {"duration": 0.00010642607230693102, "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.00012458802666515112, "outcome": "passed"}, "call": {"duration": 0.0006268499419093132, "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.0001317160204052925, "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.0001186929875984788, "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": 1752666898.1811798, "duration": 0.7390785217285156, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 31, "xfailed": 2, "total": 49, "collected": 49}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 66}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 48}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 52}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 65}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 69}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 73}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 95}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 99}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 103}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 107}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 111}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 115}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_import_error", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 128}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 15}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 23}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 31}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 40}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0033443759893998504, "outcome": "passed"}, "call": {"duration": 0.000433947890996933, "outcome": "passed"}, "teardown": {"duration": 0.0002535480307415128, "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.00045499601401388645, "outcome": "passed"}, "call": {"duration": 0.0002809399738907814, "outcome": "passed"}, "teardown": {"duration": 0.00013844796922057867, "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.00012375798542052507, "outcome": "passed"}, "call": {"duration": 0.00015708105638623238, "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.00015013699885457754, "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.00012390303891152143, "outcome": "passed"}, "call": {"duration": 0.00018452492076903582, "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.00013914401642978191, "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.00019794609397649765, "outcome": "passed"}, "call": {"duration": 0.00019865098875015974, "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 0x7f7f0c4933a0>\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.00016384804621338844, "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.0001919709611684084, "outcome": "passed"}, "call": {"duration": 0.003309931023977697, "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 0x7f7f0c482c70>\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.000310020986944437, "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.00014646700583398342, "outcome": "passed"}, "call": {"duration": 0.00019331404473632574, "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.00018731097225099802, "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.000240995897911489, "outcome": "passed"}, "call": {"duration": 0.00018332095351070166, "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 0x7f7f0c118fa0>\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.00017155695240944624, "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.0006288669537752867, "outcome": "passed"}, "call": {"duration": 0.0011171880178153515, "outcome": "passed"}, "teardown": {"duration": 0.00014843803364783525, "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.00011333799920976162, "outcome": "passed"}, "call": {"duration": 0.00016783992759883404, "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.00014111795462667942, "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.00013266992755234241, "outcome": "passed"}, "call": {"duration": 0.00016151810996234417, "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.00015100697055459023, "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.00013025698717683554, "outcome": "passed"}, "call": {"duration": 0.000195056083612144, "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.00013913691509515047, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00028895807918161154, "outcome": "passed"}, "call": {"duration": 0.00014469109009951353, "outcome": "passed"}, "teardown": {"duration": 0.000137501978315413, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002457130467519164, "outcome": "passed"}, "call": {"duration": 0.00012954289559274912, "outcome": "passed"}, "teardown": {"duration": 0.0001304630422964692, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024443992879241705, "outcome": "passed"}, "call": {"duration": 0.0001495110336691141, "outcome": "passed"}, "teardown": {"duration": 0.00013533397577703, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023856200277805328, "outcome": "passed"}, "call": {"duration": 0.0001295709516853094, "outcome": "passed"}, "teardown": {"duration": 0.00013188703451305628, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023896002676337957, "outcome": "passed"}, "call": {"duration": 0.0001242560101673007, "outcome": "passed"}, "teardown": {"duration": 0.00012666103430092335, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=2,b=2,expected=4]", "parametrize", "pytestmark", "a=2,b=2,expected=4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002611810341477394, "outcome": "passed"}, "call": {"duration": 0.00013946497347205877, "outcome": "passed"}, "teardown": {"duration": 0.00014890602324157953, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=1,b=5,expected=6]", "parametrize", "pytestmark", "a=1,b=5,expected=6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023674406111240387, "outcome": "passed"}, "call": {"duration": 0.00012718501966446638, "outcome": "passed"}, "teardown": {"duration": 0.00016821699682623148, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=3,b=4,expected=7]", "parametrize", "pytestmark", "a=3,b=4,expected=7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002483940916135907, "outcome": "passed"}, "call": {"duration": 0.0001305650221183896, "outcome": "passed"}, "teardown": {"duration": 0.0001407699892297387, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 48, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010353804100304842, "outcome": "passed"}, "call": {"duration": 0.0004682119470089674, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 51, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 51, "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:51: AssertionError"}, "teardown": {"duration": 0.00013800302986055613, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 52, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001197450328618288, "outcome": "passed"}, "call": {"duration": 0.00015808502212166786, "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": 55, "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:55: \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.000159810995683074, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 56, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013802899047732353, "outcome": "passed"}, "call": {"duration": 0.0002755590248852968, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 60, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 60, "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:60: AssertionError"}, "teardown": {"duration": 0.0001389270182698965, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 61, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001246009487658739, "outcome": "passed"}, "call": {"duration": 0.00015598698519170284, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 64, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 64, "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:64: RuntimeError"}, "teardown": {"duration": 0.00013998302165418863, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 65, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001241510035470128, "outcome": "passed"}, "call": {"duration": 0.0001482800580561161, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 68, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 68, "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:68: MemoryError"}, "teardown": {"duration": 0.00013799802400171757, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 69, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001315310364589095, "outcome": "passed"}, "call": {"duration": 0.00015213596634566784, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 72, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 72, "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:72: TimeoutError"}, "teardown": {"duration": 0.0001381200272589922, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 73, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001162959961220622, "outcome": "passed"}, "call": {"duration": 0.0007767670322209597, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 77, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 78, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 77, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 77, "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:78: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:77: in recursive\n return recursive()\ntests/test_math_utils.py:77: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.0001962779788300395, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 79, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012764101848006248, "outcome": "passed"}, "call": {"duration": 0.00016737100668251514, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:82: FloatingPointError"}, "teardown": {"duration": 0.00015839701518416405, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 83, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012149906251579523, "outcome": "passed"}, "call": {"duration": 0.00018042000010609627, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 86, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 86, "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:86: OverflowError"}, "teardown": {"duration": 0.0001456590835005045, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 87, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012864102609455585, "outcome": "passed"}, "call": {"duration": 0.00015721202362328768, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 90, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 90, "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:90: ValueError"}, "teardown": {"duration": 0.00014742801431566477, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "lineno": 91, "outcome": "failed", "keywords": ["test_wrong_argument_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011938204988837242, "outcome": "passed"}, "call": {"duration": 0.00015343795530498028, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 94, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 94, "message": "TypeError"}], "longrepr": "def test_wrong_argument_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:94: TypeError"}, "teardown": {"duration": 0.0001361500471830368, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 95, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012251303996890783, "outcome": "passed"}, "call": {"duration": 0.0001539700897410512, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 98, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 98, "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:98: Exception"}, "teardown": {"duration": 0.00013558799400925636, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 99, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011857994832098484, "outcome": "passed"}, "call": {"duration": 0.00015472702216356993, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 102, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 102, "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:102: CustomError"}, "teardown": {"duration": 0.00013322709128260612, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 103, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011828693095594645, "outcome": "passed"}, "call": {"duration": 0.0001602289266884327, "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:106: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f7f0c180700>\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.0002519130939617753, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 107, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00014687003567814827, "outcome": "passed"}, "call": {"duration": 0.00017636606935411692, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:110: GeneratorExit"}, "teardown": {"duration": 0.00017084903083741665, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 111, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00016353093087673187, "outcome": "passed"}, "call": {"duration": 0.00017786293756216764, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 114, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 114, "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:114: SyntaxError"}, "teardown": {"duration": 0.00015124899800866842, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 115, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00014230096712708473, "outcome": "passed"}, "call": {"duration": 0.0001981230452656746, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 118, "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:118: SystemExit"}, "teardown": {"duration": 0.00014963699504733086, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 119, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011949404142796993, "outcome": "passed"}, "call": {"duration": 0.0001525270054116845, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 123, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 124, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 123, "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:124: \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:123: TypeError"}, "teardown": {"duration": 0.00013826508074998856, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error", "lineno": 125, "outcome": "failed", "keywords": ["test_import_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011688098311424255, "outcome": "passed"}, "call": {"duration": 0.00015449803322553635, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 127, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 127, "message": "ImportError"}], "longrepr": "def test_import_error():\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:127: ImportError"}, "teardown": {"duration": 0.00014940905384719372, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 128, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001219769474118948, "outcome": "passed"}, "call": {"duration": 0.0004961419617757201, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "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:131: \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.00015347800217568874, "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.00014154391828924417, "outcome": "passed"}, "call": {"duration": 0.00015093700494617224, "outcome": "passed"}, "teardown": {"duration": 0.0001027469988912344, "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.00010605098214000463, "outcome": "passed"}, "call": {"duration": 0.0001481430372223258, "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.00014123204164206982, "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.00013102602679282427, "outcome": "passed"}, "call": {"duration": 0.00014188094064593315, "outcome": "passed"}, "teardown": {"duration": 0.00010036001913249493, "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.00010474305599927902, "outcome": "passed"}, "call": {"duration": 0.0001459089107811451, "outcome": "passed"}, "teardown": {"duration": 9.738397784531116e-05, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 23, "outcome": "failed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000102830003015697, "outcome": "passed"}, "call": {"duration": 0.00015958200674504042, "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.00013485003728419542, "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.00011613406240940094, "outcome": "passed"}, "call": {"duration": 0.00015581899788230658, "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.0001486659748479724, "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.00012248905841261148, "outcome": "passed"}, "call": {"duration": 0.00013844191562384367, "outcome": "passed"}, "teardown": {"duration": 0.00011598900891840458, "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.00011450995225459337, "outcome": "passed"}, "call": {"duration": 0.0006304800044745207, "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.0001331469975411892, "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.00011957704555243254, "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