diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md
index 9484627c..ef5bd590 100644
--- a/ci-reports/markdown/TEST-REPORT.md
+++ b/ci-reports/markdown/TEST-REPORT.md
@@ -1,17 +1,17 @@
# ๐งช Test Report
-*Generated on 2025-07-14 11:05:10*
+*Generated on 2025-07-14 11:12:19*
## ๐ Summary
-- **Failed**: `15`
-- **Passed**: `13`
+- **Passed**: `21`
+- **Failed**: `7`
- **Xfailed**: `1`
- **Total**: `29`
- **Collected**: `44`
-- **Total Duration**: `0.554`s
+- **Total Duration**: `0.600`s
## ๐ Tests
-โ Failed (15)
+โ
Passed (21)
๐ test_io_utils.py
@@ -20,10 +20,10 @@
๐ง Function: `test_read_file`
-โ #1
+โ
#1
-- **Status:** โ `failed`
-- **Duration:** `0.000510` s
+- **Status:** โ
`passed`
+- **Duration:** `0.000513` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -32,7 +32,7 @@
๐ Duration
```
-0.0038307799259200692
+0.004334491095505655
```
@@ -51,7 +51,7 @@ passed
๐ Duration
```
-0.0005104630254209042
+0.0005126739852130413
```
@@ -59,44 +59,7 @@ passed
๐ Outcome
```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_io_utils.py
-lineno: 14
-message: NameError: name 'io_utils' is not defined
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_io_utils.py
-lineno: 14
-message: NameError
-```
-
-
-
-๐ Longrepr
-
-```
-tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_read_file0')
-
- def test_read_file(tmp_path):
- # Write and read file, normal operation
- file = tmp_path / "test.txt"
- file.write_text("hello")
-> content = io_utils.read_file(str(file))
-E NameError: name 'io_utils' is not defined
-
-tests/test_io_utils.py:14: NameError
+passed
```
@@ -107,7 +70,7 @@ tests/test_io_utils.py:14: NameError
๐ Duration
```
-0.0012659920612350106
+0.0016762210289016366
```
@@ -127,10 +90,10 @@ passed
๐ง Function: `test_write_file`
-โ #2
+โ
#2
-- **Status:** โ `failed`
-- **Duration:** `0.000234` s
+- **Status:** โ
`passed`
+- **Duration:** `0.000348` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -139,7 +102,7 @@ passed
๐ Duration
```
-0.0007216500816866755
+0.0007207070011645555
```
@@ -158,7 +121,7 @@ passed
๐ Duration
```
-0.00023368198890239
+0.00034761603455990553
```
@@ -166,43 +129,7 @@ passed
๐ Outcome
```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_io_utils.py
-lineno: 20
-message: NameError: name 'io_utils' is not defined
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_io_utils.py
-lineno: 20
-message: NameError
-```
-
-
-
-๐ Longrepr
-
-```
-tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_write_file0')
-
- def test_write_file(tmp_path):
- # Write content to file and verify write success
- file = tmp_path / "test_write.txt"
-> io_utils.write_file(str(file), "data")
-E NameError: name 'io_utils' is not defined
-
-tests/test_io_utils.py:20: NameError
+passed
```
@@ -213,7 +140,7 @@ tests/test_io_utils.py:20: NameError
๐ Duration
```
-0.0007003319915384054
+0.0006712529575452209
```
@@ -233,10 +160,10 @@ passed
๐ง Function: `test_cause_io_error`
-โ #3
+โ
#3
-- **Status:** โ `failed`
-- **Duration:** `0.000277` s
+- **Status:** โ
`passed`
+- **Duration:** `0.000372` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -245,7 +172,7 @@ passed
๐ Duration
```
-0.0001875209854915738
+0.00019376003183424473
```
@@ -264,7 +191,7 @@ passed
๐ Duration
```
-0.00027695996686816216
+0.00037164404056966305
```
@@ -272,41 +199,7 @@ passed
๐ Outcome
```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_io_utils.py
-lineno: 26
-message: NameError: name 'io_utils' is not defined
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_io_utils.py
-lineno: 26
-message: NameError
-```
-
-
-
-๐ Longrepr
-
-```
-def test_cause_io_error():
- # Raises manual IOError to simulate IO failure
- with pytest.raises(IOError):
-> io_utils.cause_io_error()
-E NameError: name 'io_utils' is not defined
-
-tests/test_io_utils.py:26: NameError
+passed
```
@@ -317,7 +210,7 @@ tests/test_io_utils.py:26: NameError
๐ Duration
```
-0.00023602298460900784
+0.00020697095897048712
```
@@ -337,10 +230,10 @@ passed
๐ง Function: `test_file_not_found`
-โ #4
+โ
#4
-- **Status:** โ `failed`
-- **Duration:** `0.000182` s
+- **Status:** โ
`passed`
+- **Duration:** `0.000206` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -349,7 +242,7 @@ passed
๐ Duration
```
-0.00018242502119392157
+0.0001910490682348609
```
@@ -368,7 +261,7 @@ passed
๐ Duration
```
-0.0001824710052460432
+0.00020614196546375751
```
@@ -376,41 +269,7 @@ passed
๐ Outcome
```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_io_utils.py
-lineno: 31
-message: NameError: name 'io_utils' is not defined
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_io_utils.py
-lineno: 31
-message: NameError
-```
-
-
-
-๐ Longrepr
-
-```
-def test_file_not_found():
- # Reading non-existing file raises FileNotFoundError
- with pytest.raises(FileNotFoundError):
-> io_utils.read_file("nonexistent.file")
-E NameError: name 'io_utils' is not defined
-
-tests/test_io_utils.py:31: NameError
+passed
```
@@ -421,7 +280,7 @@ tests/test_io_utils.py:31: NameError
๐ Duration
```
-0.0002731269923970103
+0.0002110350178554654
```
@@ -441,10 +300,10 @@ passed
๐ง Function: `test_permission_error`
-โ #5
+โ
#5
-- **Status:** โ `failed`
-- **Duration:** `0.000223` s
+- **Status:** โ
`passed`
+- **Duration:** `0.000227` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -453,7 +312,7 @@ passed
๐ Duration
```
-0.00035346602089703083
+0.0003940579481422901
```
@@ -472,7 +331,7 @@ passed
๐ Duration
```
-0.00022346701007336378
+0.0002267030067741871
```
@@ -480,46 +339,7 @@ passed
๐ Outcome
```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_io_utils.py
-lineno: 39
-message: NameError: name 'io_utils' is not defined
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_io_utils.py
-lineno: 39
-message: NameError
-```
-
-
-
-๐ Longrepr
-
-```
-monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f381b05a520>
-
- 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)
- with pytest.raises(PermissionError):
-> io_utils.read_file("anyfile.txt")
-E NameError: name 'io_utils' is not defined
-
-tests/test_io_utils.py:39: NameError
+passed
```
@@ -530,7 +350,7 @@ tests/test_io_utils.py:39: NameError
๐ Duration
```
-0.0006764360005035996
+0.0006838820409029722
```
@@ -547,13 +367,13 @@ passed
-๐ง Function: `test_write_file_readonly`
+๐ง Function: `test_mock_open_error`
-โ #9
+โ
#6
-- **Status:** โ `failed`
-- **Duration:** `0.001115` s
+- **Status:** โ
`passed`
+- **Duration:** `0.003593` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -562,7 +382,7 @@ passed
๐ Duration
```
-0.0006869119824841619
+0.0003598220646381378
```
@@ -581,7 +401,1104 @@ passed
๐ Duration
```
-0.0011154139647260308
+0.0035934029147028923
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0006893740501254797
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_file_handle_closed_error`
+
+
+โ
#7
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000193` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018588011153042316
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0001925990218296647
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00019731209613382816
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_os_error`
+
+
+โ
#8
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000224` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0003437639679759741
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00022413197439163923
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0006254400359466672
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_file_not_found_error`
+
+
+โ
#10
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000230` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00021410093177109957
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00022977101616561413
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0002324189990758896
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+
+
+๐ test_math_utils.py
+
+
+๐ง Function: `test_call_missing_function`
+
+
+โ
#12
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000208` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00021006003953516483
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0002083189319819212
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00020989601034671068
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_addition_pass`
+
+
+โ
#13
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000168` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00020766991656273603
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00016828696243464947
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00020458910148590803
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_division_zero`
+
+
+โ
#15
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000199` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00020298000890761614
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0001985350390896201
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00020882801618427038
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_memory_error`
+
+
+โ
#18
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000231` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0002038689563050866
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00023122003767639399
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0002013850025832653
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_timeout_error`
+
+
+โ
#19
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000186` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00019329600036144257
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0001857890747487545
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0002101489808410406
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_recursion_error`
+
+
+โ
#20
+
+- **Status:** โ
`passed`
+- **Duration:** `0.001476` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018106994684785604
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00147551903501153
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0002274370053783059
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_floating_point_error`
+
+
+โ
#21
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000201` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018943811301141977
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0002006420399993658
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00019589404109865427
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_floating_point_overflow`
+
+
+โ
#22
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000194` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0001713989768177271
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00019408599473536015
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00020375498570501804
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_value_error`
+
+
+โ
#23
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000186` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0001805160427466035
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00018586998339742422
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00018953299149870872
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_type_error`
+
+
+โ
#24
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000178` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018281408119946718
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00017801194917410612
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00021197996102273464
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_custom_error`
+
+
+โ
#26
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000184` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018073595128953457
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0001842560013756156
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00018902297597378492
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_keyboard_interrupt_direct`
+
+
+โ
#29
+
+- **Status:** โ
`passed`
+- **Duration:** `None`
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00023253599647432566
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+
+
+
+
+โ Failed (7)
+
+
+๐ test_io_utils.py
+
+
+๐ง Function: `test_write_file_readonly`
+
+
+โ #9
+
+- **Status:** โ `failed`
+- **Duration:** `0.001273` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0007347339997068048
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0012734320480376482
```
@@ -640,7 +1557,7 @@ tests/test_io_utils.py:72: Failed
๐ Duration
```
-0.000672193942591548
+0.000847965944558382
```
@@ -668,7 +1585,7 @@ passed
โ #11
- **Status:** โ `failed`
-- **Duration:** `0.000164` s
+- **Duration:** `0.000183` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -677,7 +1594,7 @@ passed
๐ Duration
```
-0.00017701496835798025
+0.00021303805988281965
```
@@ -696,7 +1613,7 @@ passed
๐ Duration
```
-0.00016391405370086432
+0.00018298206850886345
```
@@ -713,7 +1630,7 @@ failed
```
path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 15
+lineno: 16
message: NameError: name 'want_the_test_to_fail' is not defined
```
@@ -723,7 +1640,7 @@ message: NameError: name 'want_the_test_to_fail' is not defined
```
path: tests/test_math_utils.py
-lineno: 15
+lineno: 16
message: NameError
```
@@ -737,7 +1654,7 @@ def test_broken():
> want_the_test_to_fail
E NameError: name 'want_the_test_to_fail' is not defined
-tests/test_math_utils.py:15: NameError
+tests/test_math_utils.py:16: NameError
```
@@ -748,214 +1665,7 @@ tests/test_math_utils.py:15: NameError
๐ Duration
```
-0.000230959034524858
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_call_missing_function`
-
-
-โ #12
-
-- **Status:** โ `failed`
-- **Duration:** `0.000188` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018433795776218176
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00018776801880449057
-```
-
-
-
-๐ Outcome
-
-```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 20
-message: NameError: name 'math_utils' is not defined
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_math_utils.py
-lineno: 20
-message: NameError
-```
-
-
-
-๐ Longrepr
-
-```
-def test_call_missing_function():
- # Accessing a missing function attribute raises AttributeError
- with pytest.raises(AttributeError):
-> getattr(math_utils, "non_existent_function")()
-E NameError: name 'math_utils' is not defined
-
-tests/test_math_utils.py:20: NameError
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0002751660067588091
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_addition_pass`
-
-
-โ #13
-
-- **Status:** โ `failed`
-- **Duration:** `0.000173` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018193398136645555
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00017260597087442875
-```
-
-
-
-๐ Outcome
-
-```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 24
-message: NameError: name 'math_utils' is not defined
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_math_utils.py
-lineno: 24
-message: NameError
-```
-
-
-
-๐ Longrepr
-
-```
-def test_addition_pass():
- # Test passes: correct addition
-> assert math_utils.addition(2, 2) == 4
-E NameError: name 'math_utils' is not defined
-
-tests/test_math_utils.py:24: NameError
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00023556698579341173
+0.00027887802571058273
```
@@ -978,7 +1688,7 @@ passed
โ #14
- **Status:** โ `failed`
-- **Duration:** `0.000174` s
+- **Duration:** `0.000509` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -987,7 +1697,7 @@ passed
๐ Duration
```
-0.00018881692085415125
+0.00022366398479789495
```
@@ -1006,7 +1716,7 @@ passed
๐ Duration
```
-0.00017362693324685097
+0.0005092499777674675
```
@@ -1023,8 +1733,9 @@ failed
```
path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 28
-message: NameError: name 'math_utils' is not defined
+lineno: 29
+message: assert 4 == 5
+ + where 4 = addition(2, 2)
```
@@ -1033,8 +1744,8 @@ message: NameError: name 'math_utils' is not defined
```
path: tests/test_math_utils.py
-lineno: 28
-message: NameError
+lineno: 29
+message: AssertionError
```
@@ -1044,10 +1755,11 @@ message: NameError
```
def test_addition_fail():
# Assertion failure: expected incorrect result
-> assert math_utils.addition(2, 2) == 5
-E NameError: name 'math_utils' is not defined
+> assert addition(2, 2) == 5
+E assert 4 == 5
+E + where 4 = addition(2, 2)
-tests/test_math_utils.py:28: NameError
+tests/test_math_utils.py:29: AssertionError
```
@@ -1058,111 +1770,7 @@ tests/test_math_utils.py:28: NameError
๐ Duration
```
-0.00023037102073431015
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_division_zero`
-
-
-โ #15
-
-- **Status:** โ `failed`
-- **Duration:** `0.000197` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018508592620491982
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00019700301345437765
-```
-
-
-
-๐ Outcome
-
-```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 33
-message: NameError: name 'math_utils' is not defined
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_math_utils.py
-lineno: 33
-message: NameError
-```
-
-
-
-๐ Longrepr
-
-```
-def test_division_zero():
- # Expect ZeroDivisionError when dividing by zero
- with pytest.raises(ZeroDivisionError):
-> math_utils.division(1, 0)
-E NameError: name 'math_utils' is not defined
-
-tests/test_math_utils.py:33: NameError
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0002342079533264041
+0.0002755780005827546
```
@@ -1185,7 +1793,7 @@ passed
โ #17
- **Status:** โ `failed`
-- **Duration:** `0.000172` s
+- **Duration:** `0.000218` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1194,7 +1802,7 @@ passed
๐ Duration
```
-0.00019108806736767292
+0.00023043900728225708
```
@@ -1213,7 +1821,7 @@ passed
๐ Duration
```
-0.00017158407717943192
+0.00021766498684883118
```
@@ -1230,7 +1838,7 @@ failed
```
path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 42
+lineno: 43
message: RuntimeError: Forced runtime error
```
@@ -1240,7 +1848,7 @@ message: RuntimeError: Forced runtime error
```
path: tests/test_math_utils.py
-lineno: 42
+lineno: 43
message: RuntimeError
```
@@ -1254,7 +1862,7 @@ def test_runtime_error():
> raise RuntimeError("Forced runtime error")
E RuntimeError: Forced runtime error
-tests/test_math_utils.py:42: RuntimeError
+tests/test_math_utils.py:43: RuntimeError
```
@@ -1265,7 +1873,7 @@ tests/test_math_utils.py:42: RuntimeError
๐ Duration
```
-0.00023133400827646255
+0.0002864520065486431
```
@@ -1288,7 +1896,7 @@ passed
โ #25
- **Status:** โ `failed`
-- **Duration:** `0.000170` s
+- **Duration:** `0.000176` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1297,7 +1905,7 @@ passed
๐ Duration
```
-0.0001822479534894228
+0.0001809020759537816
```
@@ -1316,7 +1924,7 @@ passed
๐ Duration
```
-0.00017022201791405678
+0.0001761049497872591
```
@@ -1333,7 +1941,7 @@ failed
```
path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 83
+lineno: 84
message: Exception: Generic unhandled exception
```
@@ -1343,7 +1951,7 @@ message: Exception: Generic unhandled exception
```
path: tests/test_math_utils.py
-lineno: 83
+lineno: 84
message: Exception
```
@@ -1357,7 +1965,7 @@ def test_unhandled_exception():
> raise Exception("Generic unhandled exception")
E Exception: Generic unhandled exception
-tests/test_math_utils.py:83: Exception
+tests/test_math_utils.py:84: Exception
```
@@ -1368,7 +1976,7 @@ tests/test_math_utils.py:83: Exception
๐ Duration
```
-0.00023107300512492657
+0.0002552459482103586
```
@@ -1391,7 +1999,7 @@ passed
โ #27
- **Status:** โ `failed`
-- **Duration:** `0.000166` s
+- **Duration:** `0.000172` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1400,7 +2008,7 @@ passed
๐ Duration
```
-0.0001798119628801942
+0.0001813611015677452
```
@@ -1419,7 +2027,7 @@ passed
๐ Duration
```
-0.00016571301966905594
+0.00017195800319314003
```
@@ -1490,12 +2098,12 @@ def test_stop_iteration_direct():
> raise StopIteration()
E StopIteration
-tests/test_math_utils.py:92: StopIteration
+tests/test_math_utils.py:93: StopIteration
The above exception was the direct cause of the following exception:
cls =
-func = . at 0x7f381ab34940>
+func = . at 0x7f7386f63430>
when = 'call'
reraise = (, )
@@ -1565,7 +2173,7 @@ E RuntimeError: generator raised StopIteration
๐ Duration
```
-0.000407584011554718
+0.00042536004912108183
```
@@ -1588,7 +2196,7 @@ passed
โ #28
- **Status:** โ `failed`
-- **Duration:** `0.000202` s
+- **Duration:** `0.000206` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1597,7 +2205,7 @@ passed
๐ Duration
```
-0.00027075596153736115
+0.00028508889954537153
```
@@ -1616,7 +2224,7 @@ passed
๐ Duration
```
-0.0002021180698648095
+0.0002062369603663683
```
@@ -1633,7 +2241,7 @@ failed
```
path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 96
+lineno: 97
message: GeneratorExit
```
@@ -1643,7 +2251,7 @@ message: GeneratorExit
```
path: tests/test_math_utils.py
-lineno: 96
+lineno: 97
message: GeneratorExit
```
@@ -1657,7 +2265,7 @@ def test_generator_exit_direct():
> raise GeneratorExit()
E GeneratorExit
-tests/test_math_utils.py:96: GeneratorExit
+tests/test_math_utils.py:97: GeneratorExit
```
@@ -1668,894 +2276,7 @@ tests/test_math_utils.py:96: GeneratorExit
๐ Duration
```
-0.0002673299750313163
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-
-
-
-
-โ
Passed (13)
-
-
-๐ test_io_utils.py
-
-
-๐ง Function: `test_mock_open_error`
-
-
-โ
#6
-
-- **Status:** โ
`passed`
-- **Duration:** `0.003375` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0003419669810682535
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0033752460731193423
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0006724830018356442
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_file_handle_closed_error`
-
-
-โ
#7
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000183` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00019284896552562714
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001828159438446164
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019732594955712557
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_os_error`
-
-
-โ
#8
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000210` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0003369420301169157
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00021046900656074286
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0006665290566161275
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_file_not_found_error`
-
-
-โ
#10
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000204` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001920630456879735
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00020420399960130453
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019652198534458876
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-
-
-๐ test_math_utils.py
-
-
-๐ง Function: `test_memory_error`
-
-
-โ
#18
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000180` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018961692694574594
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00017982698045670986
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019204802811145782
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_timeout_error`
-
-
-โ
#19
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000181` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001942729577422142
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001813550479710102
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019138201605528593
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_recursion_error`
-
-
-โ
#20
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000879` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018196296878159046
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0008793959859758615
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00021515903063118458
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_floating_point_error`
-
-
-โ
#21
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000175` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018092698883265257
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00017542007844895124
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0001937689958140254
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_floating_point_overflow`
-
-
-โ
#22
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000186` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00017827400006353855
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00018556893337517977
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00021823204588145018
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_value_error`
-
-
-โ
#23
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000178` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001707460032775998
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001776060089468956
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00018516392447054386
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_type_error`
-
-
-โ
#24
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000175` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00017817795742303133
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001751190284267068
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00020122493151575327
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_custom_error`
-
-
-โ
#26
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000186` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018224806990474463
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00018616998568177223
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019477494060993195
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_keyboard_interrupt_direct`
-
-
-โ
#29
-
-- **Status:** โ
`passed`
-- **Duration:** `None`
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00019098096527159214
+0.00033572898246347904
```
@@ -2588,7 +2309,7 @@ passed
โ #16
- **Status:** โ `xfailed`
-- **Duration:** `0.000174` s
+- **Duration:** `0.000303` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2597,7 +2318,7 @@ passed
๐ Duration
```
-0.00019712606444954872
+0.00021779199596494436
```
@@ -2616,7 +2337,7 @@ passed
๐ Duration
```
-0.00017419306095689535
+0.00030265492387115955
```
@@ -2633,8 +2354,9 @@ skipped
```
path: /workspace/tligui_y/slic/tests/test_math_utils.py
-lineno: 38
-message: NameError: name 'math_utils' is not defined
+lineno: 39
+message: assert 4 == 5
+ + where 4 = multiply(2, 2)
```
@@ -2643,8 +2365,8 @@ message: NameError: name 'math_utils' is not defined
```
path: tests/test_math_utils.py
-lineno: 38
-message: NameError
+lineno: 39
+message: AssertionError
```
@@ -2655,10 +2377,11 @@ message: NameError
@pytest.mark.xfail(reason="Expected failure")
def test_multiply_xfail():
# Expected fail test (xfail): incorrect expected multiply result
-> assert math_utils.multiply(2, 2) == 5
-E NameError: name 'math_utils' is not defined
+> assert multiply(2, 2) == 5
+E assert 4 == 5
+E + where 4 = multiply(2, 2)
-tests/test_math_utils.py:38: NameError
+tests/test_math_utils.py:39: AssertionError
```
@@ -2669,7 +2392,7 @@ tests/test_math_utils.py:38: NameError
๐ Duration
```
-0.0002661769976839423
+0.00034813396632671356
```
@@ -2934,79 +2657,79 @@ result:
result:
nodeid: tests/test_math_utils.py::test_broken
type: Function
- lineno: 12
+ lineno: 13
nodeid: tests/test_math_utils.py::test_call_missing_function
type: Function
- lineno: 16
+ lineno: 17
nodeid: tests/test_math_utils.py::test_addition_pass
type: Function
- lineno: 21
+ lineno: 22
nodeid: tests/test_math_utils.py::test_addition_fail
type: Function
- lineno: 25
+ lineno: 26
nodeid: tests/test_math_utils.py::test_division_zero
type: Function
- lineno: 29
+ lineno: 30
nodeid: tests/test_math_utils.py::test_multiply_xfail
type: Function
- lineno: 34
+ lineno: 35
nodeid: tests/test_math_utils.py::test_runtime_error
type: Function
- lineno: 39
+ lineno: 40
nodeid: tests/test_math_utils.py::test_memory_error
type: Function
- lineno: 43
+ lineno: 44
nodeid: tests/test_math_utils.py::test_timeout_error
type: Function
- lineno: 48
+ lineno: 49
nodeid: tests/test_math_utils.py::test_recursion_error
type: Function
- lineno: 53
+ lineno: 54
nodeid: tests/test_math_utils.py::test_floating_point_error
type: Function
- lineno: 60
+ lineno: 61
nodeid: tests/test_math_utils.py::test_floating_point_overflow
type: Function
- lineno: 65
+ lineno: 66
nodeid: tests/test_math_utils.py::test_value_error
type: Function
- lineno: 70
+ lineno: 71
nodeid: tests/test_math_utils.py::test_type_error
type: Function
- lineno: 75
+ lineno: 76
nodeid: tests/test_math_utils.py::test_unhandled_exception
type: Function
- lineno: 80
+ lineno: 81
nodeid: tests/test_math_utils.py::test_custom_error
type: Function
- lineno: 84
+ lineno: 85
nodeid: tests/test_math_utils.py::test_stop_iteration_direct
type: Function
- lineno: 89
+ lineno: 90
nodeid: tests/test_math_utils.py::test_generator_exit_direct
type: Function
- lineno: 93
+ lineno: 94
nodeid: tests/test_math_utils.py::test_keyboard_interrupt_direct
type: Function
- lineno: 97
+ lineno: 98
nodeid: tests/test_math_utils.py::test_recursion_limit
type: Function
- lineno: 101
+ lineno: 102
nodeid: tests/test_math_utils.py::test_malformed_code
type: Function
- lineno: 111
+ lineno: 112
nodeid: tests/test_math_utils.py::test_sys_exit
type: Function
- lineno: 116
+ lineno: 117
nodeid: tests/test_math_utils.py::test_broken_function
type: Function
- lineno: 124
+ lineno: 125
nodeid: tests/test_math_utils.py::test_import_error_patch
type: Function
- lineno: 132
+ lineno: 133
nodeid: tests/test_math_utils.py::test_module_not_found_error
type: Function
- lineno: 143
+ lineno: 144
```