diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md
index f6df0fba..d72e947e 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 12:34:21*
+*Generated on 2025-07-14 12:59:52*
## ๐ Summary
-- **Failed**: `6`
+- **Failed**: `1`
- **Passed**: `12`
- **Xfailed**: `1`
-- **Total**: `19`
-- **Collected**: `36`
-- **Total Duration**: `0.433`s
+- **Total**: `14`
+- **Collected**: `14`
+- **Total Duration**: `0.104`s
## ๐ Tests
-โ Failed (6)
+โ Failed (1)
๐ test_forth_file.py
@@ -23,7 +23,7 @@
โ #1
- **Status:** โ `failed`
-- **Duration:** `0.000240` s
+- **Duration:** `0.000219` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -32,7 +32,7 @@
๐ Duration
```
-0.0006960809696465731
+0.0005942810093984008
```
@@ -51,7 +51,7 @@ passed
๐ Duration
```
-0.00023964501451700926
+0.00021894800011068583
```
@@ -103,618 +103,7 @@ tests/test_forth_file.py:16: NameError
๐ Duration
```
-0.0005134560633450747
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_addition_fail`
-
-
-โ #4
-
-- **Status:** โ `failed`
-- **Duration:** `0.000638` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00020415103062987328
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0006381669081747532
-```
-
-
-
-๐ Outcome
-
-```
-failed
-```
-
-
-
-๐ Crash
-
-```
-path: /workspace/tligui_y/slic/tests/test_forth_file.py
-lineno: 29
-message: assert 4 == 5
- + where 4 = addition(2, 2)
-```
-
-
-
-๐ Traceback
-
-```
-path: tests/test_forth_file.py
-lineno: 29
-message: AssertionError
-```
-
-
-
-๐ Longrepr
-
-```
-def test_addition_fail():
- # Assertion failure: expected incorrect result
-> assert addition(2, 2) == 5
-E assert 4 == 5
-E + where 4 = addition(2, 2)
-
-tests/test_forth_file.py:29: AssertionError
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00026892300229519606
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_runtime_error`
-
-
-โ #7
-
-- **Status:** โ `failed`
-- **Duration:** `0.000180` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018940900918096304
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001804889179766178
-```
-
-
-
-๐ 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():
- # Test raises an uncaught RuntimeError
-> raise RuntimeError("Forced runtime error")
-E RuntimeError: Forced runtime error
-
-tests/test_forth_file.py:43: RuntimeError
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0003203910309821367
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_unhandled_exception`
-
-
-โ #15
-
-- **Status:** โ `failed`
-- **Duration:** `0.000182` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0001842529745772481
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00018244003877043724
-```
-
-
-
-๐ 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():
- # Raises generic unhandled Exception
-> raise Exception("Generic unhandled exception")
-E Exception: Generic unhandled exception
-
-tests/test_forth_file.py:84: Exception
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0003082739422097802
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_stop_iteration_direct`
-
-
-โ #17
-
-- **Status:** โ `failed`
-- **Duration:** `0.000194` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018383399583399296
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001938960049301386
-```
-
-
-
-๐ 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():
- # Directly raise StopIteration exception
-> raise StopIteration()
-E StopIteration
-
-tests/test_forth_file.py:93: StopIteration
-
-The above exception was the direct cause of the following exception:
-
-cls =
-func = . at 0x7f44f61c3dc0>
-when = 'call'
-reraise = (, )
-
- @classmethod
- def from_call(
- cls,
- func: Callable[[], TResult],
- when: Literal["collect", "setup", "call", "teardown"],
- reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None,
- ) -> CallInfo[TResult]:
- """Call func, wrapping the result in a CallInfo.
-
- :param func:
- The function to call. Called without arguments.
- :type func: Callable[[], _pytest.runner.TResult]
- :param when:
- The phase in which the function is called.
- :param reraise:
- Exception or exceptions that shall propagate if raised by the
- function, instead of being wrapped in the CallInfo.
- """
- excinfo = None
- start = timing.time()
- precise_start = timing.perf_counter()
- try:
-> result: TResult | None = func()
-
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:341:
-_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:242: in
- lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
-.pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py:513: in __call__
- return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
-.pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py:120: in _hookexec
- return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:92: in pytest_runtest_call
- yield from thread_exception_runtest_hook()
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook
- yield
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call
- yield from unraisable_exception_runtest_hook()
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook
- yield
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:846: in pytest_runtest_call
- yield from self._runtest_for(item, "call")
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:829: in _runtest_for
- yield
-_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
-
-self = _capture_fixture=None>
-item =
-
- @hookimpl(wrapper=True)
- def pytest_runtest_call(self, item: Item) -> Generator[None]:
- with self.item_capture("call", item):
-> return (yield)
-E RuntimeError: generator raised StopIteration
-
-.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.0004361780593171716
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_generator_exit_direct`
-
-
-โ #18
-
-- **Status:** โ `failed`
-- **Duration:** `0.000220` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00032986397854983807
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00022034195717424154
-```
-
-
-
-๐ 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():
- # Directly raise GeneratorExit exception
-> raise GeneratorExit()
-E GeneratorExit
-
-tests/test_forth_file.py:97: GeneratorExit
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00033045304007828236
+0.0003624139353632927
```
@@ -747,7 +136,7 @@ passed
โ
#2
- **Status:** โ
`passed`
-- **Duration:** `0.000382` s
+- **Duration:** `0.000321` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -756,7 +145,7 @@ passed
๐ Duration
```
-0.0002668360248208046
+0.00020377396140247583
```
@@ -775,7 +164,7 @@ passed
๐ Duration
```
-0.0003822309663519263
+0.00032069499138742685
```
@@ -794,7 +183,7 @@ passed
๐ Duration
```
-0.00026240397710353136
+0.00021715799812227488
```
@@ -816,6 +205,511 @@ passed
โ
#3
+- **Status:** โ
`passed`
+- **Duration:** `0.000154` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0001838809112086892
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00015443190932273865
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00019237492233514786
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+
+
+๐ test_io_utils.py
+
+
+๐ง Function: `test_read_file`
+
+
+โ
#4
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000419` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.003222438972443342
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00041905802208930254
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0007211039774119854
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_write_file`
+
+
+โ
#5
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000345` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.0006347859743982553
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.0003452590899541974
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.0006361110135912895
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+
+
+๐ test_math_utils.py
+
+
+๐ง Function: `test_addition_pass`
+
+
+โ
#6
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000160` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00018885894678533077
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00016018899623304605
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.000195037922821939
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+
+
+๐ test_string_utils.py
+
+
+๐ง Function: `test_uppercase_normal`
+
+
+โ
#7
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000247` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00019929895643144846
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00024666194804012775
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00020118802785873413
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_uppercase_type_error`
+
+
+โ
#8
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000176` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00019271601922810078
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.000176324974745512
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.00018953008111566305
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_reverse_string`
+
+
+โ
#9
+
+- **Status:** โ
`passed`
+- **Duration:** `0.000147` s
+- **Severity:** `normal`
+
+### ๐ง Setup Phase
+
+
+๐ Duration
+
+```
+0.00017459806986153126
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Call Phase
+
+
+๐ Duration
+
+```
+0.00014700205065310001
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+### ๐ง Teardown Phase
+
+
+๐ Duration
+
+```
+0.000198149005882442
+```
+
+
+
+๐ Outcome
+
+```
+passed
+```
+
+
+
+
+
+
+
+๐ง Function: `test_warning_emit`
+
+
+โ
#10
+
- **Status:** โ
`passed`
- **Duration:** `0.000168` s
- **Severity:** `normal`
@@ -826,7 +720,7 @@ passed
๐ Duration
```
-0.00021143397316336632
+0.0001988059375435114
```
@@ -845,7 +739,7 @@ passed
๐ Duration
```
-0.0001675860257819295
+0.00016841304022818804
```
@@ -864,7 +758,7 @@ passed
๐ Duration
```
-0.00020150502678006887
+0.00019136210903525352
```
@@ -881,293 +775,13 @@ passed
-๐ง Function: `test_division_zero`
-
-
-โ
#5
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000213` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00019431905820965767
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0002131960354745388
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00022367900237441063
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_memory_error`
-
-
-โ
#8
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000219` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00022926495876163244
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00021948001813143492
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00021708104759454727
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_timeout_error`
-
-
-โ
#9
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000186` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00020008697174489498
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00018600700423121452
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00020275497809052467
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_recursion_error`
-
-
-โ
#10
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000950` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018186995293945074
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0009504560148343444
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00022404000628739595
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_floating_point_error`
+๐ง Function: `test_unicode_decode_error`
โ
#11
- **Status:** โ
`passed`
-- **Duration:** `0.000182` s
+- **Duration:** `0.000179` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1176,7 +790,7 @@ passed
๐ Duration
```
-0.00017846899572759867
+0.00018981099128723145
```
@@ -1195,7 +809,7 @@ passed
๐ Duration
```
-0.00018194399308413267
+0.00017914501950144768
```
@@ -1214,7 +828,7 @@ passed
๐ Duration
```
-0.00019664294086396694
+0.00019694003276526928
```
@@ -1231,13 +845,13 @@ passed
-๐ง Function: `test_floating_point_overflow`
+๐ง Function: `test_unicode_decode_surrogateescape`
โ
#12
- **Status:** โ
`passed`
-- **Duration:** `0.000185` s
+- **Duration:** `0.000188` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1246,7 +860,7 @@ passed
๐ Duration
```
-0.0001846920931711793
+0.00019790802616626024
```
@@ -1265,7 +879,7 @@ passed
๐ Duration
```
-0.0001847629901021719
+0.00018839607946574688
```
@@ -1284,7 +898,7 @@ passed
๐ Duration
```
-0.00020830391440540552
+0.00019431300461292267
```
@@ -1301,13 +915,13 @@ passed
-๐ง Function: `test_value_error`
+๐ง Function: `test_import_warning`
โ
#13
- **Status:** โ
`passed`
-- **Duration:** `0.000180` s
+- **Duration:** `0.000166` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1316,7 +930,7 @@ passed
๐ Duration
```
-0.0001698690466582775
+0.0001706430921331048
```
@@ -1335,7 +949,7 @@ passed
๐ Duration
```
-0.00017965096049010754
+0.00016609998419880867
```
@@ -1354,179 +968,7 @@ passed
๐ Duration
```
-0.000202178955078125
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_type_error`
-
-
-โ
#14
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000175` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00018455996178090572
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.0001750589581206441
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00018725101836025715
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_custom_error`
-
-
-โ
#16
-
-- **Status:** โ
`passed`
-- **Duration:** `0.000204` s
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.0002202700125053525
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Call Phase
-
-
-๐ Duration
-
-```
-0.00020441401284188032
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-### ๐ง Teardown Phase
-
-
-๐ Duration
-
-```
-0.00021478103008121252
-```
-
-
-
-๐ Outcome
-
-```
-passed
-```
-
-
-
-
-
-
-
-๐ง Function: `test_keyboard_interrupt_direct`
-
-
-โ
#19
-
-- **Status:** โ
`passed`
-- **Duration:** `None`
-- **Severity:** `normal`
-
-### ๐ง Setup Phase
-
-
-๐ Duration
-
-```
-0.00023200095165520906
+0.0001934629399329424
```
@@ -1550,16 +992,16 @@ passed
โ Xfailed (1)
-๐ test_forth_file.py
+๐ test_string_utils.py
-๐ง Function: `test_multiply_xfail`
+๐ง Function: `test_xfail_uppercase_digits`
-โ #6
+โ #14
- **Status:** โ `xfailed`
-- **Duration:** `0.000311` s
+- **Duration:** `0.000739` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1568,7 +1010,7 @@ passed
๐ Duration
```
-0.0002063959836959839
+0.0002049528993666172
```
@@ -1587,7 +1029,7 @@ passed
๐ Duration
```
-0.00031070003751665354
+0.0007391609251499176
```
@@ -1603,10 +1045,13 @@ skipped
๐ Crash
```
-path: /workspace/tligui_y/slic/tests/test_forth_file.py
-lineno: 39
-message: assert 4 == 5
- + where 4 = multiply(2, 2)
+path: /workspace/tligui_y/slic/tests/test_string_utils.py
+lineno: 51
+message: AssertionError: assert 'ABC123' == 'ABC1234'
+
+ - ABC1234
+ ? -
+ + ABC123
```
@@ -1614,8 +1059,8 @@ message: assert 4 == 5
๐ Traceback
```
-path: tests/test_forth_file.py
-lineno: 39
+path: tests/test_string_utils.py
+lineno: 51
message: AssertionError
```
@@ -1624,14 +1069,17 @@ message: AssertionError
๐ Longrepr
```
-@pytest.mark.xfail(reason="Expected failure")
- def test_multiply_xfail():
- # Expected fail test (xfail): incorrect expected multiply result
-> assert multiply(2, 2) == 5
-E assert 4 == 5
-E + where 4 = multiply(2, 2)
+@pytest.mark.xfail(reason="Expected failure: uppercase does not handle digits")
+ def test_xfail_uppercase_digits():
+ # Expected fail test because uppercase won't change digits
+> assert uppercase("abc123") == "ABC1234"
+E AssertionError: assert 'ABC123' == 'ABC1234'
+E
+E - ABC1234
+E ? -
+E + ABC123
-tests/test_forth_file.py:39: AssertionError
+tests/test_string_utils.py:51: AssertionError
```
@@ -1642,7 +1090,7 @@ tests/test_forth_file.py:39: AssertionError
๐ Duration
```
-0.00027445494197309017
+0.000593148055486381
```
@@ -1839,72 +1287,6 @@ result:
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
```
diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json
index f5f1a3a0..81f15ea2 100644
--- a/ci-reports/markdown/pytest-report.json
+++ b/ci-reports/markdown/pytest-report.json
@@ -1 +1 @@
-{"created": 1752496459.834565, "duration": 0.4334261417388916, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"failed": 6, "passed": 12, "xfailed": 1, "total": 19, "collected": 36}, "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": "passed", "result": []}, {"nodeid": "tests/test_collector_error.py", "outcome": "passed", "result": []}, {"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_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}]}, {"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": "Package"}, {"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.0006960809696465731, "outcome": "passed"}, "call": {"duration": 0.00023964501451700926, "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.0005134560633450747, "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.0002668360248208046, "outcome": "passed"}, "call": {"duration": 0.0003822309663519263, "outcome": "passed"}, "teardown": {"duration": 0.00026240397710353136, "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.00021143397316336632, "outcome": "passed"}, "call": {"duration": 0.0001675860257819295, "outcome": "passed"}, "teardown": {"duration": 0.00020150502678006887, "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.00020415103062987328, "outcome": "passed"}, "call": {"duration": 0.0006381669081747532, "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.00026892300229519606, "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.00019431905820965767, "outcome": "passed"}, "call": {"duration": 0.0002131960354745388, "outcome": "passed"}, "teardown": {"duration": 0.00022367900237441063, "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.0002063959836959839, "outcome": "passed"}, "call": {"duration": 0.00031070003751665354, "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.00027445494197309017, "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.00018940900918096304, "outcome": "passed"}, "call": {"duration": 0.0001804889179766178, "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.0003203910309821367, "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.00022926495876163244, "outcome": "passed"}, "call": {"duration": 0.00021948001813143492, "outcome": "passed"}, "teardown": {"duration": 0.00021708104759454727, "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.00020008697174489498, "outcome": "passed"}, "call": {"duration": 0.00018600700423121452, "outcome": "passed"}, "teardown": {"duration": 0.00020275497809052467, "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.00018186995293945074, "outcome": "passed"}, "call": {"duration": 0.0009504560148343444, "outcome": "passed"}, "teardown": {"duration": 0.00022404000628739595, "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.00017846899572759867, "outcome": "passed"}, "call": {"duration": 0.00018194399308413267, "outcome": "passed"}, "teardown": {"duration": 0.00019664294086396694, "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.0001846920931711793, "outcome": "passed"}, "call": {"duration": 0.0001847629901021719, "outcome": "passed"}, "teardown": {"duration": 0.00020830391440540552, "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.0001698690466582775, "outcome": "passed"}, "call": {"duration": 0.00017965096049010754, "outcome": "passed"}, "teardown": {"duration": 0.000202178955078125, "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.00018455996178090572, "outcome": "passed"}, "call": {"duration": 0.0001750589581206441, "outcome": "passed"}, "teardown": {"duration": 0.00018725101836025715, "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.0001842529745772481, "outcome": "passed"}, "call": {"duration": 0.00018244003877043724, "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.0003082739422097802, "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.0002202700125053525, "outcome": "passed"}, "call": {"duration": 0.00020441401284188032, "outcome": "passed"}, "teardown": {"duration": 0.00021478103008121252, "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.00018383399583399296, "outcome": "passed"}, "call": {"duration": 0.0001938960049301386, "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 0x7f44f61c3dc0>\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.0004361780593171716, "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.00032986397854983807, "outcome": "passed"}, "call": {"duration": 0.00022034195717424154, "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.00033045304007828236, "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.00023200095165520906, "outcome": "passed"}}]}
\ No newline at end of file
+{"created": 1752497990.9168532, "duration": 0.1036689281463623, "exitcode": 1, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"failed": 1, "passed": 12, "xfailed": 1, "total": 14, "collected": 14}, "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": "passed", "result": []}, {"nodeid": "tests/test_collector_error.py", "outcome": "passed", "result": []}, {"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_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_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}]}, {"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": "Package"}, {"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.0005942810093984008, "outcome": "passed"}, "call": {"duration": 0.00021894800011068583, "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.0003624139353632927, "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.00020377396140247583, "outcome": "passed"}, "call": {"duration": 0.00032069499138742685, "outcome": "passed"}, "teardown": {"duration": 0.00021715799812227488, "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.0001838809112086892, "outcome": "passed"}, "call": {"duration": 0.00015443190932273865, "outcome": "passed"}, "teardown": {"duration": 0.00019237492233514786, "outcome": "passed"}}, {"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.003222438972443342, "outcome": "passed"}, "call": {"duration": 0.00041905802208930254, "outcome": "passed"}, "teardown": {"duration": 0.0007211039774119854, "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.0006347859743982553, "outcome": "passed"}, "call": {"duration": 0.0003452590899541974, "outcome": "passed"}, "teardown": {"duration": 0.0006361110135912895, "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.00018885894678533077, "outcome": "passed"}, "call": {"duration": 0.00016018899623304605, "outcome": "passed"}, "teardown": {"duration": 0.000195037922821939, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "lineno": 7, "outcome": "passed", "keywords": ["test_uppercase_normal", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019929895643144846, "outcome": "passed"}, "call": {"duration": 0.00024666194804012775, "outcome": "passed"}, "teardown": {"duration": 0.00020118802785873413, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "lineno": 11, "outcome": "passed", "keywords": ["test_uppercase_type_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019271601922810078, "outcome": "passed"}, "call": {"duration": 0.000176324974745512, "outcome": "passed"}, "teardown": {"duration": 0.00018953008111566305, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "lineno": 16, "outcome": "passed", "keywords": ["test_reverse_string", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017459806986153126, "outcome": "passed"}, "call": {"duration": 0.00014700205065310001, "outcome": "passed"}, "teardown": {"duration": 0.000198149005882442, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "lineno": 20, "outcome": "passed", "keywords": ["test_warning_emit", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001988059375435114, "outcome": "passed"}, "call": {"duration": 0.00016841304022818804, "outcome": "passed"}, "teardown": {"duration": 0.00019136210903525352, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 30, "outcome": "passed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018981099128723145, "outcome": "passed"}, "call": {"duration": 0.00017914501950144768, "outcome": "passed"}, "teardown": {"duration": 0.00019694003276526928, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "lineno": 35, "outcome": "passed", "keywords": ["test_unicode_decode_surrogateescape", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019790802616626024, "outcome": "passed"}, "call": {"duration": 0.00018839607946574688, "outcome": "passed"}, "teardown": {"duration": 0.00019431300461292267, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "lineno": 40, "outcome": "passed", "keywords": ["test_import_warning", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001706430921331048, "outcome": "passed"}, "call": {"duration": 0.00016609998419880867, "outcome": "passed"}, "teardown": {"duration": 0.0001934629399329424, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "lineno": 47, "outcome": "xfailed", "keywords": ["test_xfail_uppercase_digits", "xfail", "pytestmark", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002049528993666172, "outcome": "passed"}, "call": {"duration": 0.0007391609251499176, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 51, "message": "AssertionError: assert 'ABC123' == 'ABC1234'\n \n - ABC1234\n ? -\n + ABC123"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 51, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure: uppercase does not handle digits\")\n def test_xfail_uppercase_digits():\n # Expected fail test because uppercase won't change digits\n> assert uppercase(\"abc123\") == \"ABC1234\"\nE AssertionError: assert 'ABC123' == 'ABC1234'\nE \nE - ABC1234\nE ? -\nE + ABC123\n\ntests/test_string_utils.py:51: AssertionError"}, "teardown": {"duration": 0.000593148055486381, "outcome": "passed"}}], "warnings": [{"message": "Test warning", "category": "UserWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 23}]}
\ No newline at end of file