diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md
index e20c7fd3..2968bd37 100644
--- a/ci-reports/markdown/TEST-REPORT.md
+++ b/ci-reports/markdown/TEST-REPORT.md
@@ -1,1591 +1,29 @@
# ๐งช Test Report
-*Generated on 2025-07-14 11:43:43*
+*Generated on 2025-07-14 11:45:59*
## ๐ Summary
-- **Passed**: `21`
-- **Failed**: `7`
+- **Failed**: `6`
+- **Passed**: `12`
- **Xfailed**: `1`
-- **Total**: `29`
-- **Collected**: `43`
-- **Total Duration**: `0.662`s
+- **Total**: `19`
+- **Collected**: `68`
+- **Total Duration**: `0.550`s
## ๐ Tests
-โ
Passed (21)
+โ Failed (6)
-๐ test_io_utils.py
-
-
-๐ง Function: `test_read_file`
-
-
-โ
#1
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000490` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.004239320056512952
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0004897000035271049
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0016046579694375396
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_write_file`
-
-
-โ
#2
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000344` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0006866640178486705
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0003436520928516984
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0006537459557875991
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_cause_io_error`
-
-
-โ
#3
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000354` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018045399338006973
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0003542429767549038
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00021153700072318316
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_file_not_found`
-
-
-โ
#4
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000200` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00017764500807970762
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0002001610118895769
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00021133304107934237
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_permission_error`
-
-
-โ
#5
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000212` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.000362626975402236
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00021213898435235023
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0006475170375779271
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_mock_open_error`
-
-
-โ
#6
-
-- **Status:** โ
`passed`
-- **Duration:** `0.003441` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00034679193049669266
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0034414019901305437
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0006847159238532186
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_file_handle_closed_error`
-
-
-โ
#7
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000190` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001808319939300418
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00019045802764594555
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019602803513407707
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_os_error`
-
-
-โ
#8
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000205` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00037870102096349
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00020458002109080553
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.000626250053755939
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_file_not_found_error`
-
-
-โ
#10
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000208` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001938809873536229
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00020839192438870668
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0002013400662690401
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-
-
-๐ test_math_utils.py
-
-
-๐ง Function: `test_call_missing_function`
-
-
-โ
#12
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000193` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00020111899357289076
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00019251403864473104
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019887008238583803
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_addition_pass`
-
-
-โ
#13
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000162` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018319999799132347
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00016227306332439184
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019172602333128452
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_division_zero`
-
-
-โ
#15
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000202` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001823849743232131
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00020162598229944706
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0001924840034916997
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_memory_error`
-
-
-โ
#18
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000198` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00020187499467283487
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001978300279006362
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0001968831056728959
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_timeout_error`
-
-
-โ
#19
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000199` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018227496184408665
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001994029153138399
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0002059020334854722
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_recursion_error`
-
-
-โ
#20
-
-- **Status:** โ
`passed`
-- **Duration:** `0.001443` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001745640765875578
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0014425489353016019
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00021987489890307188
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_floating_point_error`
-
-
-โ
#21
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000182` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00019136304035782814
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00018198101315647364
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00020146090537309647
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_floating_point_overflow`
-
-
-โ
#22
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000191` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00017189793288707733
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00019117793999612331
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00019879511091858149
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_value_error`
-
-
-โ
#23
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000178` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018084002658724785
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00017843395471572876
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00018497800920158625
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_type_error`
-
-
-โ
#24
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000175` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001768319634720683
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00017453089822083712
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0001947280252352357
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_custom_error`
-
-
-โ
#26
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000211` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0002085230080410838
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00021129392553120852
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00022674188949167728
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_keyboard_interrupt_direct`
-
-
-โ
#29
-
-- **Status:** โ
`passed`
-- **Duration:** `None`
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00025891000404953957
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-
-
-
-
-โ Failed (7)
-
-
-๐ test_io_utils.py
-
-
-๐ง Function: `test_write_file_readonly`
-
-
-โ #9
-
-- **Status:** โ `failed`
-- **Duration:** `0.001276` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.000727538950741291
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0012757990043610334
-```
-
-
-
-๐ Outcome
-
-```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_io_utils.py
-lineno: 72
-message: Failed: DID NOT RAISE
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_io_utils.py
-lineno: 72
-message: Failed
-```
-
-
-
-๐ Longrepr
-
-```
-tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_write_file_readonly0')
-
- def test_write_file_readonly(tmp_path):
- # Writing to read-only file raises PermissionError
- file = tmp_path / "readonly.txt"
- file.write_text("data")
- os.chmod(file, 0o444)
- with pytest.raises(PermissionError):
- with open(file, "w") as f:
-> f.write("new content")
-E Failed: DID NOT RAISE
-
-tests/test_io_utils.py:72: Failed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0007802789332345128
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-
-
-๐ test_math_utils.py
+๐ test_forth_file.py
๐ง Function: `test_broken`
-โ #11
+โ #1
- **Status:** โ `failed`
-- **Duration:** `0.000187` s
+- **Duration:** `0.000239` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1594,7 +32,7 @@ passed
๐ Duration
```
-0.00020462693646550179
+0.0006893930258229375
```
@@ -1613,7 +51,7 @@ passed
๐ Duration
```
-0.0001870779087767005
+0.0002391110174357891
```
@@ -1629,7 +67,7 @@ failed
๐ Crash
```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
+path: /workspace/tligui_y/slic/tests/test_forth_file.py
lineno: 16
message: NameError: name 'want_the_test_to_fail' is not defined
```
@@ -1639,7 +77,7 @@ message: NameError: name 'want_the_test_to_fail' is not defined
๐ Traceback
```
-path: tests/test_math_utils.py
+path: tests/test_forth_file.py
lineno: 16
message: NameError
```
@@ -1654,7 +92,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:16: NameError
+tests/test_forth_file.py:16: NameError
```
@@ -1665,7 +103,7 @@ tests/test_math_utils.py:16: NameError
๐ Duration
```
-0.0002410049783065915
+0.00040574802551418543
```
@@ -1685,10 +123,10 @@ passed
๐ง Function: `test_addition_fail`
-โ #14
+โ #4
- **Status:** โ `failed`
-- **Duration:** `0.000485` s
+- **Duration:** `0.000551` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1697,7 +135,7 @@ passed
๐ Duration
```
-0.00017612299416214228
+0.00017923698760569096
```
@@ -1716,7 +154,7 @@ passed
๐ Duration
```
-0.000485491007566452
+0.0005509929032996297
```
@@ -1732,7 +170,7 @@ failed
๐ Crash
```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
+path: /workspace/tligui_y/slic/tests/test_forth_file.py
lineno: 29
message: assert 4 == 5
+ where 4 = addition(2, 2)
@@ -1743,7 +181,7 @@ message: assert 4 == 5
๐ Traceback
```
-path: tests/test_math_utils.py
+path: tests/test_forth_file.py
lineno: 29
message: AssertionError
```
@@ -1759,7 +197,7 @@ def test_addition_fail():
E assert 4 == 5
E + where 4 = addition(2, 2)
-tests/test_math_utils.py:29: AssertionError
+tests/test_forth_file.py:29: AssertionError
```
@@ -1770,7 +208,7 @@ tests/test_math_utils.py:29: AssertionError
๐ Duration
```
-0.00024204899091273546
+0.00024073407985270023
```
@@ -1790,10 +228,10 @@ passed
๐ง Function: `test_runtime_error`
-โ #17
+โ #7
- **Status:** โ `failed`
-- **Duration:** `0.000179` s
+- **Duration:** `0.000190` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1802,7 +240,7 @@ passed
๐ Duration
```
-0.00018451898358762264
+0.00018150394316762686
```
@@ -1821,7 +259,7 @@ passed
๐ Duration
```
-0.00017872394528239965
+0.00019014999270439148
```
@@ -1837,7 +275,7 @@ failed
๐ Crash
```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
+path: /workspace/tligui_y/slic/tests/test_forth_file.py
lineno: 43
message: RuntimeError: Forced runtime error
```
@@ -1847,7 +285,7 @@ message: RuntimeError: Forced runtime error
๐ Traceback
```
-path: tests/test_math_utils.py
+path: tests/test_forth_file.py
lineno: 43
message: RuntimeError
```
@@ -1862,7 +300,7 @@ def test_runtime_error():
> raise RuntimeError("Forced runtime error")
E RuntimeError: Forced runtime error
-tests/test_math_utils.py:43: RuntimeError
+tests/test_forth_file.py:43: RuntimeError
```
@@ -1873,7 +311,7 @@ tests/test_math_utils.py:43: RuntimeError
๐ Duration
```
-0.0002448339946568012
+0.00023773196153342724
```
@@ -1893,10 +331,10 @@ passed
๐ง Function: `test_unhandled_exception`
-โ #25
+โ #15
- **Status:** โ `failed`
-- **Duration:** `0.000173` s
+- **Duration:** `0.000168` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1905,7 +343,7 @@ passed
๐ Duration
```
-0.00017792906146496534
+0.000189063954167068
```
@@ -1924,7 +362,7 @@ passed
๐ Duration
```
-0.00017317396122962236
+0.00016809499356895685
```
@@ -1940,7 +378,7 @@ failed
๐ Crash
```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
+path: /workspace/tligui_y/slic/tests/test_forth_file.py
lineno: 84
message: Exception: Generic unhandled exception
```
@@ -1950,7 +388,7 @@ message: Exception: Generic unhandled exception
๐ Traceback
```
-path: tests/test_math_utils.py
+path: tests/test_forth_file.py
lineno: 84
message: Exception
```
@@ -1965,7 +403,7 @@ def test_unhandled_exception():
> raise Exception("Generic unhandled exception")
E Exception: Generic unhandled exception
-tests/test_math_utils.py:84: Exception
+tests/test_forth_file.py:84: Exception
```
@@ -1976,7 +414,7 @@ tests/test_math_utils.py:84: Exception
๐ Duration
```
-0.0002802991075441241
+0.00023407291155308485
```
@@ -1996,10 +434,10 @@ passed
๐ง Function: `test_stop_iteration_direct`
-โ #27
+โ #17
- **Status:** โ `failed`
-- **Duration:** `0.000181` s
+- **Duration:** `0.000168` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2008,7 +446,7 @@ passed
๐ Duration
```
-0.0001790820388123393
+0.00016887206584215164
```
@@ -2027,7 +465,7 @@ passed
๐ Duration
```
-0.00018104095943272114
+0.00016787310596555471
```
@@ -2098,12 +536,12 @@ def test_stop_iteration_direct():
> raise StopIteration()
E StopIteration
-tests/test_math_utils.py:93: StopIteration
+tests/test_forth_file.py:93: StopIteration
The above exception was the direct cause of the following exception:
cls =
-func = . at 0x7ff20018caf0>
+func = . at 0x7f97d8aadf70>
when = 'call'
reraise = (, )
@@ -2173,7 +611,7 @@ E RuntimeError: generator raised StopIteration
๐ Duration
```
-0.00042469101026654243
+0.000431785942055285
```
@@ -2193,10 +631,10 @@ passed
๐ง Function: `test_generator_exit_direct`
-โ #28
+โ #18
- **Status:** โ `failed`
-- **Duration:** `0.000220` s
+- **Duration:** `0.000205` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2205,7 +643,7 @@ passed
๐ Duration
```
-0.0002671960974112153
+0.00026067299768328667
```
@@ -2224,7 +662,7 @@ passed
๐ Duration
```
-0.00021969899535179138
+0.0002048569731414318
```
@@ -2240,7 +678,7 @@ failed
๐ Crash
```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
+path: /workspace/tligui_y/slic/tests/test_forth_file.py
lineno: 97
message: GeneratorExit
```
@@ -2250,7 +688,7 @@ message: GeneratorExit
๐ Traceback
```
-path: tests/test_math_utils.py
+path: tests/test_forth_file.py
lineno: 97
message: GeneratorExit
```
@@ -2265,7 +703,7 @@ def test_generator_exit_direct():
> raise GeneratorExit()
E GeneratorExit
-tests/test_math_utils.py:97: GeneratorExit
+tests/test_forth_file.py:97: GeneratorExit
```
@@ -2276,7 +714,819 @@ tests/test_math_utils.py:97: GeneratorExit
๐ Duration
```
-0.0003848819760605693
+0.0002849469892680645
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+
+
+
+
+โ
Passed (12)
+
+
+๐ test_forth_file.py
+
+
+๐ง Function: `test_call_missing_function`
+
+
+โ
#2
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000348` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00021859898697584867
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0003479650476947427
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00022768403869122267
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_addition_pass`
+
+
+โ
#3
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000160` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018485402688384056
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00015986000653356314
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00019734096713364124
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_division_zero`
+
+
+โ
#5
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000188` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0001809949753805995
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00018750398885458708
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00020392995793372393
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_memory_error`
+
+
+โ
#8
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000187` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018067099153995514
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0001867589307948947
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0002108309417963028
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_timeout_error`
+
+
+โ
#9
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000179` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00016977894119918346
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0001792839029803872
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00019060797058045864
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_recursion_error`
+
+
+โ
#10
+
+- **Status:** โ
`passed`
+- **Duration:** `0.001156` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00017970497719943523
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0011564389569684863
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00022565398830920458
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_floating_point_error`
+
+
+โ
#11
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000178` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00017345801461488008
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00017766200471669436
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0001910439459607005
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_floating_point_overflow`
+
+
+โ
#12
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000181` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018163002096116543
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00018085306510329247
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00020848901476711035
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_value_error`
+
+
+โ
#13
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000186` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0001763629261404276
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00018565298523753881
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00019433698616921902
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_type_error`
+
+
+โ
#14
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000180` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018283003009855747
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00017951102927327156
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00021045911125838757
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_custom_error`
+
+
+โ
#16
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000195` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018458801787346601
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00019533804152160883
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00019455899018794298
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_keyboard_interrupt_direct`
+
+
+โ
#19
+
+- **Status:** โ
`passed`
+- **Duration:** `None`
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00020513206254690886
```
@@ -2300,16 +1550,16 @@ passed
โ Xfailed (1)
-๐ test_math_utils.py
+๐ test_forth_file.py
๐ง Function: `test_multiply_xfail`
-โ #16
+โ #6
- **Status:** โ `xfailed`
-- **Duration:** `0.000302` s
+- **Duration:** `0.000284` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2318,7 +1568,7 @@ passed
๐ Duration
```
-0.00020009500440210104
+0.00019290205091238022
```
@@ -2337,7 +1587,7 @@ passed
๐ Duration
```
-0.00030249194242060184
+0.00028351694345474243
```
@@ -2353,7 +1603,7 @@ skipped
๐ Crash
```
-path: /workspace/tligui_y/slic/tests/test_math_utils.py
+path: /workspace/tligui_y/slic/tests/test_forth_file.py
lineno: 39
message: assert 4 == 5
+ where 4 = multiply(2, 2)
@@ -2364,7 +1614,7 @@ message: assert 4 == 5
๐ Traceback
```
-path: tests/test_math_utils.py
+path: tests/test_forth_file.py
lineno: 39
message: AssertionError
```
@@ -2381,7 +1631,7 @@ message: AssertionError
E assert 4 == 5
E + where 4 = multiply(2, 2)
-tests/test_math_utils.py:39: AssertionError
+tests/test_forth_file.py:39: AssertionError
```
@@ -2392,7 +1642,7 @@ tests/test_math_utils.py:39: AssertionError
๐ Duration
```
-0.0002650809474289417
+0.00026528502348810434
```
@@ -2524,7 +1774,7 @@ result:
-โ tests (6 tests)
+โ tests (7 tests)
โ
tests
@@ -2537,6 +1787,8 @@ result:
type: Module
nodeid: tests/test_collector_error.py
type: Module
+ nodeid: tests/test_forth_file.py
+ type: Module
nodeid: tests/test_io_utils.py
type: Module
nodeid: tests/test_math_utils.py
@@ -2607,6 +1859,92 @@ E ModuleNotFoundError: No module named 'no_existing_module'
```
+
+โ
tests/test_forth_file.py
+
+- **Outcome:** `passed`
+- **Details:**
+```
+result:
+ nodeid: tests/test_forth_file.py::test_broken
+ type: Function
+ lineno: 13
+ nodeid: tests/test_forth_file.py::test_call_missing_function
+ type: Function
+ lineno: 17
+ nodeid: tests/test_forth_file.py::test_addition_pass
+ type: Function
+ lineno: 22
+ nodeid: tests/test_forth_file.py::test_addition_fail
+ type: Function
+ lineno: 26
+ nodeid: tests/test_forth_file.py::test_division_zero
+ type: Function
+ lineno: 30
+ nodeid: tests/test_forth_file.py::test_multiply_xfail
+ type: Function
+ lineno: 35
+ nodeid: tests/test_forth_file.py::test_runtime_error
+ type: Function
+ lineno: 40
+ nodeid: tests/test_forth_file.py::test_memory_error
+ type: Function
+ lineno: 44
+ nodeid: tests/test_forth_file.py::test_timeout_error
+ type: Function
+ lineno: 49
+ nodeid: tests/test_forth_file.py::test_recursion_error
+ type: Function
+ lineno: 54
+ nodeid: tests/test_forth_file.py::test_floating_point_error
+ type: Function
+ lineno: 61
+ nodeid: tests/test_forth_file.py::test_floating_point_overflow
+ type: Function
+ lineno: 66
+ nodeid: tests/test_forth_file.py::test_value_error
+ type: Function
+ lineno: 71
+ nodeid: tests/test_forth_file.py::test_type_error
+ type: Function
+ lineno: 76
+ nodeid: tests/test_forth_file.py::test_unhandled_exception
+ type: Function
+ lineno: 81
+ nodeid: tests/test_forth_file.py::test_custom_error
+ type: Function
+ lineno: 85
+ nodeid: tests/test_forth_file.py::test_stop_iteration_direct
+ type: Function
+ lineno: 90
+ nodeid: tests/test_forth_file.py::test_generator_exit_direct
+ type: Function
+ lineno: 94
+ nodeid: tests/test_forth_file.py::test_keyboard_interrupt_direct
+ type: Function
+ lineno: 98
+ nodeid: tests/test_forth_file.py::test_recursion_limit
+ type: Function
+ lineno: 102
+ nodeid: tests/test_forth_file.py::test_malformed_code
+ type: Function
+ lineno: 112
+ nodeid: tests/test_forth_file.py::test_sys_exit
+ type: Function
+ lineno: 117
+ nodeid: tests/test_forth_file.py::test_broken_function
+ type: Function
+ lineno: 125
+ nodeid: tests/test_forth_file.py::test_import_error_patch
+ type: Function
+ lineno: 133
+ nodeid: tests/test_forth_file.py::test_module_not_found_error
+ type: Function
+ lineno: 144
+
+```
+
+
โ
tests/test_io_utils.py
diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json
index b8a10b1e..19f5808e 100644
--- a/ci-reports/markdown/pytest-report.json
+++ b/ci-reports/markdown/pytest-report.json
@@ -1 +1 @@
-{"created": 1752493421.3836434, "duration": 0.6619682312011719, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 21, "failed": 7, "xfailed": 1, "total": 29, "collected": 43}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 32}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 64}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 73}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_math_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 102}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 117}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 144}]}, {"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": 16}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 47}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Dir"}, {"nodeid": "tests", "type": "Package"}]}], "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.004239320056512952, "outcome": "passed"}, "call": {"duration": 0.0004897000035271049, "outcome": "passed"}, "teardown": {"duration": 0.0016046579694375396, "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.0006866640178486705, "outcome": "passed"}, "call": {"duration": 0.0003436520928516984, "outcome": "passed"}, "teardown": {"duration": 0.0006537459557875991, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "lineno": 22, "outcome": "passed", "keywords": ["test_cause_io_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018045399338006973, "outcome": "passed"}, "call": {"duration": 0.0003542429767549038, "outcome": "passed"}, "teardown": {"duration": 0.00021153700072318316, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "lineno": 27, "outcome": "passed", "keywords": ["test_file_not_found", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017764500807970762, "outcome": "passed"}, "call": {"duration": 0.0002001610118895769, "outcome": "passed"}, "teardown": {"duration": 0.00021133304107934237, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "lineno": 32, "outcome": "passed", "keywords": ["test_permission_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000362626975402236, "outcome": "passed"}, "call": {"duration": 0.00021213898435235023, "outcome": "passed"}, "teardown": {"duration": 0.0006475170375779271, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "lineno": 40, "outcome": "passed", "keywords": ["test_mock_open_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00034679193049669266, "outcome": "passed"}, "call": {"duration": 0.0034414019901305437, "outcome": "passed"}, "teardown": {"duration": 0.0006847159238532186, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "lineno": 49, "outcome": "passed", "keywords": ["test_file_handle_closed_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001808319939300418, "outcome": "passed"}, "call": {"duration": 0.00019045802764594555, "outcome": "passed"}, "teardown": {"duration": 0.00019602803513407707, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_os_error", "lineno": 56, "outcome": "passed", "keywords": ["test_os_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00037870102096349, "outcome": "passed"}, "call": {"duration": 0.00020458002109080553, "outcome": "passed"}, "teardown": {"duration": 0.000626250053755939, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "lineno": 64, "outcome": "failed", "keywords": ["test_write_file_readonly", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000727538950741291, "outcome": "passed"}, "call": {"duration": 0.0012757990043610334, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 72, "message": "Failed: DID NOT RAISE "}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 72, "message": "Failed"}], "longrepr": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_write_file_readonly0')\n\n def test_write_file_readonly(tmp_path):\n # Writing to read-only file raises PermissionError\n file = tmp_path / \"readonly.txt\"\n file.write_text(\"data\")\n os.chmod(file, 0o444)\n with pytest.raises(PermissionError):\n with open(file, \"w\") as f:\n> f.write(\"new content\")\nE Failed: DID NOT RAISE \n\ntests/test_io_utils.py:72: Failed"}, "teardown": {"duration": 0.0007802789332345128, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "lineno": 73, "outcome": "passed", "keywords": ["test_file_not_found_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001938809873536229, "outcome": "passed"}, "call": {"duration": 0.00020839192438870668, "outcome": "passed"}, "teardown": {"duration": 0.0002013400662690401, "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.00020462693646550179, "outcome": "passed"}, "call": {"duration": 0.0001870779087767005, "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.0002410049783065915, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "lineno": 17, "outcome": "passed", "keywords": ["test_call_missing_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020111899357289076, "outcome": "passed"}, "call": {"duration": 0.00019251403864473104, "outcome": "passed"}, "teardown": {"duration": 0.00019887008238583803, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018319999799132347, "outcome": "passed"}, "call": {"duration": 0.00016227306332439184, "outcome": "passed"}, "teardown": {"duration": 0.00019172602333128452, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 26, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017612299416214228, "outcome": "passed"}, "call": {"duration": 0.000485491007566452, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 29, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 29, "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:29: AssertionError"}, "teardown": {"duration": 0.00024204899091273546, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 30, "outcome": "passed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001823849743232131, "outcome": "passed"}, "call": {"duration": 0.00020162598229944706, "outcome": "passed"}, "teardown": {"duration": 0.0001924840034916997, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 35, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020009500440210104, "outcome": "passed"}, "call": {"duration": 0.00030249194242060184, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 39, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 39, "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:39: AssertionError"}, "teardown": {"duration": 0.0002650809474289417, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 40, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018451898358762264, "outcome": "passed"}, "call": {"duration": 0.00017872394528239965, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 43, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 43, "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:43: RuntimeError"}, "teardown": {"duration": 0.0002448339946568012, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 44, "outcome": "passed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020187499467283487, "outcome": "passed"}, "call": {"duration": 0.0001978300279006362, "outcome": "passed"}, "teardown": {"duration": 0.0001968831056728959, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 49, "outcome": "passed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018227496184408665, "outcome": "passed"}, "call": {"duration": 0.0001994029153138399, "outcome": "passed"}, "teardown": {"duration": 0.0002059020334854722, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 54, "outcome": "passed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001745640765875578, "outcome": "passed"}, "call": {"duration": 0.0014425489353016019, "outcome": "passed"}, "teardown": {"duration": 0.00021987489890307188, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 61, "outcome": "passed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019136304035782814, "outcome": "passed"}, "call": {"duration": 0.00018198101315647364, "outcome": "passed"}, "teardown": {"duration": 0.00020146090537309647, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 66, "outcome": "passed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017189793288707733, "outcome": "passed"}, "call": {"duration": 0.00019117793999612331, "outcome": "passed"}, "teardown": {"duration": 0.00019879511091858149, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 71, "outcome": "passed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018084002658724785, "outcome": "passed"}, "call": {"duration": 0.00017843395471572876, "outcome": "passed"}, "teardown": {"duration": 0.00018497800920158625, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 76, "outcome": "passed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001768319634720683, "outcome": "passed"}, "call": {"duration": 0.00017453089822083712, "outcome": "passed"}, "teardown": {"duration": 0.0001947280252352357, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 81, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017792906146496534, "outcome": "passed"}, "call": {"duration": 0.00017317396122962236, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 84, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 84, "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:84: Exception"}, "teardown": {"duration": 0.0002802991075441241, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 85, "outcome": "passed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002085230080410838, "outcome": "passed"}, "call": {"duration": 0.00021129392553120852, "outcome": "passed"}, "teardown": {"duration": 0.00022674188949167728, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 90, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001790820388123393, "outcome": "passed"}, "call": {"duration": 0.00018104095943272114, "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:93: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7ff20018caf0>\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.00042469101026654243, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 94, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002671960974112153, "outcome": "passed"}, "call": {"duration": 0.00021969899535179138, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 97, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 97, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:97: GeneratorExit"}, "teardown": {"duration": 0.0003848819760605693, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_keyboard_interrupt_direct", "lineno": 98, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00025891000404953957, "outcome": "passed"}}]}
\ No newline at end of file
+{"created": 1752493558.3166041, "duration": 0.5504918098449707, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"failed": 6, "passed": 12, "xfailed": 1, "total": 19, "collected": 68}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_forth_file.py", "outcome": "passed", "result": [{"nodeid": "tests/test_forth_file.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_forth_file.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_forth_file.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_forth_file.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_forth_file.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_forth_file.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_forth_file.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_forth_file.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_forth_file.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_forth_file.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_forth_file.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_forth_file.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_forth_file.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_forth_file.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_forth_file.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_forth_file.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_forth_file.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_forth_file.py::test_generator_exit_direct", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_forth_file.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_forth_file.py::test_recursion_limit", "type": "Function", "lineno": 102}, {"nodeid": "tests/test_forth_file.py::test_malformed_code", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_forth_file.py::test_sys_exit", "type": "Function", "lineno": 117}, {"nodeid": "tests/test_forth_file.py::test_broken_function", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_forth_file.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_forth_file.py::test_module_not_found_error", "type": "Function", "lineno": 144}]}, {"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": 27}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 32}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 64}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 73}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_math_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 102}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 117}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 144}]}, {"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": 16}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 47}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_forth_file.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Dir"}, {"nodeid": "tests", "type": "Package"}]}], "tests": [{"nodeid": "tests/test_forth_file.py::test_broken", "lineno": 13, "outcome": "failed", "keywords": ["test_broken", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0006893930258229375, "outcome": "passed"}, "call": {"duration": 0.0002391110174357891, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 16, "message": "NameError: name 'want_the_test_to_fail' is not defined"}, "traceback": [{"path": "tests/test_forth_file.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_forth_file.py:16: NameError"}, "teardown": {"duration": 0.00040574802551418543, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_call_missing_function", "lineno": 17, "outcome": "passed", "keywords": ["test_call_missing_function", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00021859898697584867, "outcome": "passed"}, "call": {"duration": 0.0003479650476947427, "outcome": "passed"}, "teardown": {"duration": 0.00022768403869122267, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_addition_pass", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018485402688384056, "outcome": "passed"}, "call": {"duration": 0.00015986000653356314, "outcome": "passed"}, "teardown": {"duration": 0.00019734096713364124, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_addition_fail", "lineno": 26, "outcome": "failed", "keywords": ["test_addition_fail", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00017923698760569096, "outcome": "passed"}, "call": {"duration": 0.0005509929032996297, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 29, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 29, "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_forth_file.py:29: AssertionError"}, "teardown": {"duration": 0.00024073407985270023, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_division_zero", "lineno": 30, "outcome": "passed", "keywords": ["test_division_zero", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001809949753805995, "outcome": "passed"}, "call": {"duration": 0.00018750398885458708, "outcome": "passed"}, "teardown": {"duration": 0.00020392995793372393, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_multiply_xfail", "lineno": 35, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00019290205091238022, "outcome": "passed"}, "call": {"duration": 0.00028351694345474243, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 39, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 39, "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_forth_file.py:39: AssertionError"}, "teardown": {"duration": 0.00026528502348810434, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_runtime_error", "lineno": 40, "outcome": "failed", "keywords": ["test_runtime_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018150394316762686, "outcome": "passed"}, "call": {"duration": 0.00019014999270439148, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 43, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 43, "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_forth_file.py:43: RuntimeError"}, "teardown": {"duration": 0.00023773196153342724, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_memory_error", "lineno": 44, "outcome": "passed", "keywords": ["test_memory_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018067099153995514, "outcome": "passed"}, "call": {"duration": 0.0001867589307948947, "outcome": "passed"}, "teardown": {"duration": 0.0002108309417963028, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_timeout_error", "lineno": 49, "outcome": "passed", "keywords": ["test_timeout_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00016977894119918346, "outcome": "passed"}, "call": {"duration": 0.0001792839029803872, "outcome": "passed"}, "teardown": {"duration": 0.00019060797058045864, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_recursion_error", "lineno": 54, "outcome": "passed", "keywords": ["test_recursion_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00017970497719943523, "outcome": "passed"}, "call": {"duration": 0.0011564389569684863, "outcome": "passed"}, "teardown": {"duration": 0.00022565398830920458, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_floating_point_error", "lineno": 61, "outcome": "passed", "keywords": ["test_floating_point_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00017345801461488008, "outcome": "passed"}, "call": {"duration": 0.00017766200471669436, "outcome": "passed"}, "teardown": {"duration": 0.0001910439459607005, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_floating_point_overflow", "lineno": 66, "outcome": "passed", "keywords": ["test_floating_point_overflow", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018163002096116543, "outcome": "passed"}, "call": {"duration": 0.00018085306510329247, "outcome": "passed"}, "teardown": {"duration": 0.00020848901476711035, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_value_error", "lineno": 71, "outcome": "passed", "keywords": ["test_value_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001763629261404276, "outcome": "passed"}, "call": {"duration": 0.00018565298523753881, "outcome": "passed"}, "teardown": {"duration": 0.00019433698616921902, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_type_error", "lineno": 76, "outcome": "passed", "keywords": ["test_type_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018283003009855747, "outcome": "passed"}, "call": {"duration": 0.00017951102927327156, "outcome": "passed"}, "teardown": {"duration": 0.00021045911125838757, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_unhandled_exception", "lineno": 81, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.000189063954167068, "outcome": "passed"}, "call": {"duration": 0.00016809499356895685, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 84, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 84, "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_forth_file.py:84: Exception"}, "teardown": {"duration": 0.00023407291155308485, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_custom_error", "lineno": 85, "outcome": "passed", "keywords": ["test_custom_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018458801787346601, "outcome": "passed"}, "call": {"duration": 0.00019533804152160883, "outcome": "passed"}, "teardown": {"duration": 0.00019455899018794298, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_stop_iteration_direct", "lineno": 90, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00016887206584215164, "outcome": "passed"}, "call": {"duration": 0.00016787310596555471, "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_forth_file.py:93: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f97d8aadf70>\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.000431785942055285, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_generator_exit_direct", "lineno": 94, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00026067299768328667, "outcome": "passed"}, "call": {"duration": 0.0002048569731414318, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 97, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 97, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_forth_file.py:97: GeneratorExit"}, "teardown": {"duration": 0.0002849469892680645, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_keyboard_interrupt_direct", "lineno": 98, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00020513206254690886, "outcome": "passed"}}]}
\ No newline at end of file