", line 1
+ def bad(:
+ ^
+SyntaxError: invalid syntax
+FAILED tests/test_math_utils.py::test_sys_exit - SystemExit: 1
+FAILED tests/test_math_utils.py::test_broken_function - TypeError: Broken function
+FAILED tests/test_math_utils.py::test_import_error_patch - ImportError: Simulated ImportError
+FAILED tests/test_math_utils.py::test_module_not_found_error - ModuleNotFoundError: No module named 'non_existent_module_xyz'
+FAILED tests/test_string_utils.py::test_uppercase_type_error - TypeError: Input cannot be None
+FAILED tests/test_string_utils.py::test_unicode_decode_error - UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
+FAILED tests/test_string_utils.py::test_unicode_decode_surrogateescape - UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
+ERROR tests/test_broken_fct.py
+ERROR tests/test_collector_error.py
+!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+/workspace/tligui_y/slic/tests/test_string_utils.py:43: KeyboardInterrupt
+(to show a full traceback on KeyboardInterrupt use --full-trace)
+======== 32 failed, 10 passed, 2 xfailed, 1 warning, 2 errors in 0.79s =========
```
---
# ๐งช Test Report
-*Generated on 2025-07-15 11:24:03*
+*Generated on 2025-07-15 11:26:04*
## ๐ Summary
- **Passed**: `11`
@@ -79,7 +634,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
- **Xfailed**: `2`
- **Total**: `45`
- **Collected**: `45`
-- **Total Duration**: `0.780`s
+- **Total Duration**: `0.793`s
## ๐ Tests
@@ -99,7 +654,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#1
- **Status:** โ
`passed`
-- **Duration:** `0.000544` s
+- **Duration:** `0.000530` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -109,7 +664,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.004506391007453203`
+`0.004070373950526118`
```
@@ -134,7 +689,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0005441459361463785`
+`0.0005299960030242801`
```
@@ -159,7 +714,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0017403290839865804`
+`0.0016725619789212942`
```
@@ -193,7 +748,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#2
- **Status:** โ
`passed`
-- **Duration:** `0.000368` s
+- **Duration:** `0.000369` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -203,7 +758,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0007578879594802856`
+`0.0006958170561119914`
```
@@ -228,7 +783,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00036801095120608807`
+`0.0003691840684041381`
```
@@ -253,7 +808,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0007254750235006213`
+`0.0006994550349190831`
```
@@ -287,7 +842,8 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#9
- **Status:** โ
`passed`
-- **Duration:** `0.001218` s
+- **Duration:** `0.000999` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -296,7 +852,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0008416379569098353`
+`0.0008304920047521591`
```
@@ -321,7 +877,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0012182740028947592`
+`0.0009990530088543892`
```
@@ -346,7 +902,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0007255329983308911`
+`0.0007279539713636041`
```
@@ -388,7 +944,13 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#13
- **Status:** โ
`passed`
-- **Duration:** `0.000224` s
+- **Duration:** `0.000218` s
+- **Parameters (Allure):**
+ - `a` = `3`
+ - `b` = `4`
+ - `expected` = `7`
+
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -397,7 +959,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0016042559873312712`
+`0.0016526490217074752`
```
@@ -422,7 +984,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00022420205641537905`
+`0.00021820398978888988`
```
@@ -447,7 +1009,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0009944828925654292`
+`0.0010266220197081566`
```
@@ -473,7 +1035,13 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#14
- **Status:** โ
`passed`
-- **Duration:** `0.000194` s
+- **Duration:** `0.000185` s
+- **Parameters (Allure):**
+ - `a` = `3`
+ - `b` = `4`
+ - `expected` = `7`
+
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -482,7 +1050,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0005949789192527533`
+`0.0005940969567745924`
```
@@ -507,7 +1075,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00019372603856027126`
+`0.00018547300714999437`
```
@@ -532,7 +1100,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0009457810083404183`
+`0.0008847239660099149`
```
@@ -558,7 +1126,13 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#15
- **Status:** โ
`passed`
-- **Duration:** `0.000191` s
+- **Duration:** `0.000185` s
+- **Parameters (Allure):**
+ - `a` = `3`
+ - `b` = `4`
+ - `expected` = `7`
+
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -567,7 +1141,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0005542120197787881`
+`0.0005749780684709549`
```
@@ -592,7 +1166,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00019125291146337986`
+`0.0001853780122473836`
```
@@ -617,7 +1191,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.000869528972543776`
+`0.0009076249552890658`
```
@@ -659,7 +1233,8 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#37
- **Status:** โ
`passed`
-- **Duration:** `0.000219` s
+- **Duration:** `0.000178` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -668,7 +1243,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.000240510911680758`
+`0.00020775699522346258`
```
@@ -693,7 +1268,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0002189819933846593`
+`0.0001777529250830412`
```
@@ -718,7 +1293,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00020951498299837112`
+`0.00020723906345665455`
```
@@ -752,7 +1327,8 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#39
- **Status:** โ
`passed`
-- **Duration:** `0.000170` s
+- **Duration:** `0.000169` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -761,7 +1337,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00019066594541072845`
+`0.00019134697504341602`
```
@@ -786,7 +1362,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00017019198276102543`
+`0.00016856600996106863`
```
@@ -811,7 +1387,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00020808703266084194`
+`0.000194310094229877`
```
@@ -845,7 +1421,8 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#40
- **Status:** โ
`passed`
-- **Duration:** `0.000184` s
+- **Duration:** `0.000174` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -854,7 +1431,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00017246196512132883`
+`0.0001757129793986678`
```
@@ -879,7 +1456,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0001842110650613904`
+`0.00017426698468625546`
```
@@ -904,7 +1481,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0001949489815160632`
+`0.00020488596055656672`
```
@@ -938,7 +1515,8 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ
#43
- **Status:** โ
`passed`
-- **Duration:** `0.000167` s
+- **Duration:** `0.000169` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -947,7 +1525,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.000186647055670619`
+`0.00018420896958559752`
```
@@ -972,7 +1550,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0001671529607847333`
+`0.0001688109477981925`
```
@@ -997,7 +1575,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.0002057109959423542`
+`0.0001924809766933322`
```
@@ -1032,6 +1610,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
- **Status:** โ
`passed`
- **Duration:** `None`
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1040,7 +1619,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00018300896044820547`
+`0.00018237705808132887`
```
@@ -1090,7 +1669,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
โ #3
- **Status:** โ `failed`
-- **Duration:** `0.000210` s
+- **Duration:** `0.000194` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1100,7 +1679,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00019392999820411205`
+`0.00022022798657417297`
```
@@ -1125,7 +1704,7 @@ For more information see https://pluggy.readthedocs.io/en/stable/api_reference.h
๐ Duration
```
-`0.00021005398593842983`
+`0.0001943330280482769`
```
@@ -1194,7 +1773,7 @@ functions/io_utils.py:10: OSError`
๐ Duration
```
-`0.00031253090128302574`
+`0.00025686807930469513`
```
@@ -1228,7 +1807,7 @@ functions/io_utils.py:10: OSError`
โ #4
- **Status:** โ `failed`
-- **Duration:** `0.000237` s
+- **Duration:** `0.000209` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1238,7 +1817,7 @@ functions/io_utils.py:10: OSError`
๐ Duration
```
-`0.00023122900165617466`
+`0.00019534502644091845`
```
@@ -1263,7 +1842,7 @@ functions/io_utils.py:10: OSError`
๐ Duration
```
-`0.00023698399309068918`
+`0.0002090230118483305`
```
@@ -1334,7 +1913,7 @@ functions/io_utils.py:2: FileNotFoundError`
๐ Duration
```
-`0.0002910649636760354`
+`0.0002528789918869734`
```
@@ -1368,7 +1947,7 @@ functions/io_utils.py:2: FileNotFoundError`
โ #5
- **Status:** โ `failed`
-- **Duration:** `0.000260` s
+- **Duration:** `0.000251` s
- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1378,7 +1957,7 @@ functions/io_utils.py:2: FileNotFoundError`
๐ Duration
```
-`0.00048126408364623785`
+`0.0004192540654912591`
```
@@ -1403,7 +1982,7 @@ functions/io_utils.py:2: FileNotFoundError`
๐ Duration
```
-`0.0002600300358608365`
+`0.0002509410260245204`
```
@@ -1447,7 +2026,7 @@ functions/io_utils.py:2: FileNotFoundError`
๐ Longrepr
```
-`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c74e9940>
+`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f17289de640>
def test_permission_error(monkeypatch):
# Patch open to raise PermissionError simulating access denial
@@ -1482,7 +2061,7 @@ tests/test_io_utils.py:34: PermissionError`
๐ Duration
```
-`0.0009406610624864697`
+`0.0007780720479786396`
```
@@ -1516,7 +2095,8 @@ tests/test_io_utils.py:34: PermissionError`
โ #6
- **Status:** โ `failed`
-- **Duration:** `0.003549` s
+- **Duration:** `0.003502` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1525,7 +2105,7 @@ tests/test_io_utils.py:34: PermissionError`
๐ Duration
```
-`0.0004419619217514992`
+`0.0004215140361338854`
```
@@ -1550,7 +2130,7 @@ tests/test_io_utils.py:34: PermissionError`
๐ Duration
```
-`0.003549445071257651`
+`0.0035020479699596763`
```
@@ -1594,7 +2174,7 @@ tests/test_io_utils.py:34: PermissionError`
๐ Longrepr
```
-`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c77aec10>
+`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f17286b6070>
def test_mock_open_error(monkeypatch):
# Mock open() to raise IOError simulating read error
@@ -1611,7 +2191,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
return self._execute_mock_call(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
-self =
+self =
args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError')
def _execute_mock_call(self, /, *args, **kwargs):
@@ -1638,7 +2218,7 @@ E OSError: Mocked IOError
๐ Duration
```
-`0.0012472099624574184`
+`0.0012469840003177524`
```
@@ -1672,7 +2252,8 @@ E OSError: Mocked IOError
โ #7
- **Status:** โ `failed`
-- **Duration:** `0.000220` s
+- **Duration:** `0.000210` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1681,7 +2262,7 @@ E OSError: Mocked IOError
๐ Duration
```
-`0.00025869300588965416`
+`0.0002523689763620496`
```
@@ -1706,7 +2287,7 @@ E OSError: Mocked IOError
๐ Duration
```
-`0.0002198460279032588`
+`0.00021008402109146118`
```
@@ -1771,7 +2352,7 @@ tests/test_io_utils.py:50: ValueError`
๐ Duration
```
-`0.0002962290309369564`
+`0.00027700397185981274`
```
@@ -1805,7 +2386,8 @@ tests/test_io_utils.py:50: ValueError`
โ #8
- **Status:** โ `failed`
-- **Duration:** `0.000242` s
+- **Duration:** `0.000237` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1814,7 +2396,7 @@ tests/test_io_utils.py:50: ValueError`
๐ Duration
```
-`0.00047241803258657455`
+`0.0004694100935012102`
```
@@ -1839,7 +2421,7 @@ tests/test_io_utils.py:50: ValueError`
๐ Duration
```
-`0.0002423529513180256`
+`0.00023722299374639988`
```
@@ -1883,7 +2465,7 @@ tests/test_io_utils.py:50: ValueError`
๐ Longrepr
```
-`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c75d4280>
+`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f17286b6b20>
def test_os_error(monkeypatch):
# Patch os.remove to raise OSError simulating filesystem error
@@ -1915,7 +2497,7 @@ tests/test_io_utils.py:55: OSError`
๐ Duration
```
-`0.0008173950482159853`
+`0.0007774259429425001`
```
@@ -1949,7 +2531,8 @@ tests/test_io_utils.py:55: OSError`
โ #10
- **Status:** โ `failed`
-- **Duration:** `0.000216` s
+- **Duration:** `0.000203` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -1958,7 +2541,7 @@ tests/test_io_utils.py:55: OSError`
๐ Duration
```
-`0.00019915506709367037`
+`0.0001961439847946167`
```
@@ -1983,7 +2566,7 @@ tests/test_io_utils.py:55: OSError`
๐ Duration
```
-`0.00021600292529910803`
+`0.00020266498904675245`
```
@@ -2046,7 +2629,7 @@ tests/test_io_utils.py:69: FileNotFoundError`
๐ Duration
```
-`0.00025011005345731974`
+`0.00025913899298757315`
```
@@ -2088,7 +2671,8 @@ tests/test_io_utils.py:69: FileNotFoundError`
โ #11
- **Status:** โ `failed`
-- **Duration:** `0.000183` s
+- **Duration:** `0.000203` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2097,7 +2681,7 @@ tests/test_io_utils.py:69: FileNotFoundError`
๐ Duration
```
-`0.00019270996563136578`
+`0.0002018370432779193`
```
@@ -2122,7 +2706,7 @@ tests/test_io_utils.py:69: FileNotFoundError`
๐ Duration
```
-`0.0001827090745791793`
+`0.0002029850147664547`
```
@@ -2185,7 +2769,7 @@ tests/test_math_utils.py:16: NameError`
๐ Duration
```
-`0.0002627200447022915`
+`0.0002535770181566477`
```
@@ -2219,7 +2803,8 @@ tests/test_math_utils.py:16: NameError`
โ #12
- **Status:** โ `failed`
-- **Duration:** `0.000184` s
+- **Duration:** `0.000185` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2228,7 +2813,7 @@ tests/test_math_utils.py:16: NameError`
๐ Duration
```
-`0.00020303402561694384`
+`0.00019005406647920609`
```
@@ -2253,7 +2838,7 @@ tests/test_math_utils.py:16: NameError`
๐ Duration
```
-`0.00018441700376570225`
+`0.00018509197980165482`
```
@@ -2316,7 +2901,7 @@ tests/test_math_utils.py:20: AttributeError`
๐ Duration
```
-`0.0002553409431129694`
+`0.000270980061031878`
```
@@ -2350,7 +2935,8 @@ tests/test_math_utils.py:20: AttributeError`
โ #16
- **Status:** โ `failed`
-- **Duration:** `0.000568` s
+- **Duration:** `0.000620` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2359,7 +2945,7 @@ tests/test_math_utils.py:20: AttributeError`
๐ Duration
```
-`0.00019694899674504995`
+`0.00018893799278885126`
```
@@ -2384,7 +2970,7 @@ tests/test_math_utils.py:20: AttributeError`
๐ Duration
```
-`0.0005684029310941696`
+`0.0006201629294082522`
```
@@ -2449,7 +3035,7 @@ tests/test_math_utils.py:35: AssertionError`
๐ Duration
```
-`0.0002523289294913411`
+`0.0002489240141585469`
```
@@ -2483,7 +3069,8 @@ tests/test_math_utils.py:35: AssertionError`
โ #17
- **Status:** โ `failed`
-- **Duration:** `0.000188` s
+- **Duration:** `0.000199` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2492,7 +3079,7 @@ tests/test_math_utils.py:35: AssertionError`
๐ Duration
```
-`0.00019968603737652302`
+`0.00018417311366647482`
```
@@ -2517,7 +3104,7 @@ tests/test_math_utils.py:35: AssertionError`
๐ Duration
```
-`0.00018753891345113516`
+`0.0001987260766327381`
```
@@ -2588,7 +3175,7 @@ functions/math_utils.py:5: ZeroDivisionError`
๐ Duration
```
-`0.00023975293152034283`
+`0.0002452830085530877`
```
@@ -2622,7 +3209,8 @@ functions/math_utils.py:5: ZeroDivisionError`
โ #19
- **Status:** โ `failed`
-- **Duration:** `0.000185` s
+- **Duration:** `0.000198` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2631,7 +3219,7 @@ functions/math_utils.py:5: ZeroDivisionError`
๐ Duration
```
-`0.0001838579773902893`
+`0.0002006739377975464`
```
@@ -2656,7 +3244,7 @@ functions/math_utils.py:5: ZeroDivisionError`
๐ Duration
```
-`0.00018510990776121616`
+`0.0001978309592232108`
```
@@ -2719,7 +3307,7 @@ tests/test_math_utils.py:48: RuntimeError`
๐ Duration
```
-`0.0002613560063764453`
+`0.00024038192350417376`
```
@@ -2753,7 +3341,8 @@ tests/test_math_utils.py:48: RuntimeError`
โ #20
- **Status:** โ `failed`
-- **Duration:** `0.000186` s
+- **Duration:** `0.000184` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2762,7 +3351,7 @@ tests/test_math_utils.py:48: RuntimeError`
๐ Duration
```
-`0.00020573008805513382`
+`0.0001944570103660226`
```
@@ -2787,7 +3376,7 @@ tests/test_math_utils.py:48: RuntimeError`
๐ Duration
```
-`0.0001858919858932495`
+`0.00018371199257671833`
```
@@ -2850,7 +3439,7 @@ tests/test_math_utils.py:52: MemoryError`
๐ Duration
```
-`0.00025425897911190987`
+`0.0002396279014647007`
```
@@ -2884,7 +3473,8 @@ tests/test_math_utils.py:52: MemoryError`
โ #21
- **Status:** โ `failed`
-- **Duration:** `0.000182` s
+- **Duration:** `0.000176` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -2893,7 +3483,7 @@ tests/test_math_utils.py:52: MemoryError`
๐ Duration
```
-`0.00019395200069993734`
+`0.0001893400913104415`
```
@@ -2918,7 +3508,7 @@ tests/test_math_utils.py:52: MemoryError`
๐ Duration
```
-`0.00018239393830299377`
+`0.00017596094403415918`
```
@@ -2981,7 +3571,7 @@ tests/test_math_utils.py:56: TimeoutError`
๐ Duration
```
-`0.0002632379764690995`
+`0.00024721899535506964`
```
@@ -3015,7 +3605,8 @@ tests/test_math_utils.py:56: TimeoutError`
โ #22
- **Status:** โ `failed`
-- **Duration:** `0.001218` s
+- **Duration:** `0.001257` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -3024,7 +3615,7 @@ tests/test_math_utils.py:56: TimeoutError`
๐ Duration
```
-`0.00020272692199796438`
+`0.00018991099204868078`
```
@@ -3049,7 +3640,7 @@ tests/test_math_utils.py:56: TimeoutError`
๐ Duration
```
-`0.0012184979859739542`
+`0.0012571540428325534`
```
@@ -3120,7 +3711,7 @@ E RecursionError: maximum recursion depth exceeded
๐ Duration
```
-`0.0003474840195849538`
+`0.0003450640942901373`
```
@@ -3154,7 +3745,8 @@ E RecursionError: maximum recursion depth exceeded
โ #23
- **Status:** โ `failed`
-- **Duration:** `0.000201` s
+- **Duration:** `0.000189` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -3163,7 +3755,7 @@ E RecursionError: maximum recursion depth exceeded
๐ Duration
```
-`0.00023180106654763222`
+`0.00022946903482079506`
```
@@ -3188,7 +3780,7 @@ E RecursionError: maximum recursion depth exceeded
๐ Duration
```
-`0.00020147801842540503`
+`0.00018921296577900648`
```
@@ -3251,7 +3843,7 @@ tests/test_math_utils.py:66: FloatingPointError`
๐ Duration
```
-`0.0002597910352051258`
+`0.0003174000885337591`
```
@@ -3285,7 +3877,8 @@ tests/test_math_utils.py:66: FloatingPointError`
โ #24
- **Status:** โ `failed`
-- **Duration:** `0.000192` s
+- **Duration:** `0.000206` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -3294,7 +3887,7 @@ tests/test_math_utils.py:66: FloatingPointError`
๐ Duration
```
-`0.00019929197151213884`
+`0.00023552996572107077`
```
@@ -3319,7 +3912,7 @@ tests/test_math_utils.py:66: FloatingPointError`
๐ Duration
```
-`0.00019157095812261105`
+`0.00020551797933876514`
```
@@ -3382,7 +3975,7 @@ tests/test_math_utils.py:70: OverflowError`
๐ Duration
```
-`0.0002573220990598202`
+`0.00026772799901664257`
```
@@ -3416,7 +4009,8 @@ tests/test_math_utils.py:70: OverflowError`
โ #25
- **Status:** โ `failed`
-- **Duration:** `0.000193` s
+- **Duration:** `0.000212` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -3425,7 +4019,7 @@ tests/test_math_utils.py:70: OverflowError`
๐ Duration
```
-`0.00019577203784137964`
+`0.0002027810551226139`
```
@@ -3450,7 +4044,7 @@ tests/test_math_utils.py:70: OverflowError`
๐ Duration
```
-`0.0001927800476551056`
+`0.0002121210563927889`
```
@@ -3513,7 +4107,7 @@ tests/test_math_utils.py:74: ValueError`
๐ Duration
```
-`0.00025621894747018814`
+`0.000280798994936049`
```
@@ -3547,7 +4141,8 @@ tests/test_math_utils.py:74: ValueError`
โ #26
- **Status:** โ `failed`
-- **Duration:** `0.000184` s
+- **Duration:** `0.000183` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -3556,7 +4151,7 @@ tests/test_math_utils.py:74: ValueError`
๐ Duration
```
-`0.000191971892490983`
+`0.00020098802633583546`
```
@@ -3581,7 +4176,7 @@ tests/test_math_utils.py:74: ValueError`
๐ Duration
```
-`0.00018392992205917835`
+`0.0001831080298870802`
```
@@ -3644,7 +4239,7 @@ tests/test_math_utils.py:78: TypeError`
๐ Duration
```
-`0.0002466929145157337`
+`0.0002528500044718385`
```
@@ -3678,7 +4273,8 @@ tests/test_math_utils.py:78: TypeError`
โ #27
- **Status:** โ `failed`
-- **Duration:** `0.000195` s
+- **Duration:** `0.000197` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -3687,7 +4283,7 @@ tests/test_math_utils.py:78: TypeError`
๐ Duration
```
-`0.0001924140378832817`
+`0.00018820492550730705`
```
@@ -3712,7 +4308,7 @@ tests/test_math_utils.py:78: TypeError`
๐ Duration
```
-`0.0001952099846675992`
+`0.0001968670403584838`
```
@@ -3775,7 +4371,7 @@ tests/test_math_utils.py:82: Exception`
๐ Duration
```
-`0.0002456019865348935`
+`0.00024755008053034544`
```
@@ -3809,7 +4405,8 @@ tests/test_math_utils.py:82: Exception`
โ #28
- **Status:** โ `failed`
-- **Duration:** `0.000177` s
+- **Duration:** `0.000182` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -3818,7 +4415,7 @@ tests/test_math_utils.py:82: Exception`
๐ Duration
```
-`0.0001948499120771885`
+`0.00018701900262385607`
```
@@ -3843,7 +4440,7 @@ tests/test_math_utils.py:82: Exception`
๐ Duration
```
-`0.00017702404875308275`
+`0.0001824450446292758`
```
@@ -3906,7 +4503,7 @@ tests/test_math_utils.py:86: CustomError`
๐ Duration
```
-`0.00025283906143158674`
+`0.00024213700089603662`
```
@@ -3940,7 +4537,8 @@ tests/test_math_utils.py:86: CustomError`
โ #29
- **Status:** โ `failed`
-- **Duration:** `0.000179` s
+- **Duration:** `0.000193` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -3949,7 +4547,7 @@ tests/test_math_utils.py:86: CustomError`
๐ Duration
```
-`0.00018330104649066925`
+`0.0001901660580188036`
```
@@ -3974,7 +4572,7 @@ tests/test_math_utils.py:86: CustomError`
๐ Duration
```
-`0.0001794359413906932`
+`0.00019264197908341885`
```
@@ -4028,7 +4626,7 @@ tests/test_math_utils.py:90: StopIteration
The above exception was the direct cause of the following exception:
cls =
-func = . at 0x7f43c77a1c10>
+func = . at 0x7f172b3a9c10>
when = 'call'
reraise = (, )
@@ -4101,7 +4699,7 @@ E RuntimeError: generator raised StopIteration
๐ Duration
```
-`0.00042499194387346506`
+`0.00045342801604419947`
```
@@ -4135,7 +4733,8 @@ E RuntimeError: generator raised StopIteration
โ #30
- **Status:** โ `failed`
-- **Duration:** `0.000210` s
+- **Duration:** `0.000215` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -4144,7 +4743,7 @@ E RuntimeError: generator raised StopIteration
๐ Duration
```
-`0.0002670619869604707`
+`0.0002630040980875492`
```
@@ -4169,7 +4768,7 @@ E RuntimeError: generator raised StopIteration
๐ Duration
```
-`0.0002095879754051566`
+`0.00021539302542805672`
```
@@ -4232,7 +4831,7 @@ tests/test_math_utils.py:94: GeneratorExit`
๐ Duration
```
-`0.00030425796285271645`
+`0.0002912849886342883`
```
@@ -4266,7 +4865,8 @@ tests/test_math_utils.py:94: GeneratorExit`
โ #31
- **Status:** โ `failed`
-- **Duration:** `0.000191` s
+- **Duration:** `0.000198` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -4275,7 +4875,7 @@ tests/test_math_utils.py:94: GeneratorExit`
๐ Duration
```
-`0.00021403504069894552`
+`0.00021244492381811142`
```
@@ -4300,7 +4900,7 @@ tests/test_math_utils.py:94: GeneratorExit`
๐ Duration
```
-`0.00019100296776741743`
+`0.00019777496345341206`
```
@@ -4364,7 +4964,7 @@ tests/test_math_utils.py:99: RecursionError`
๐ Duration
```
-`0.00024889304768294096`
+`0.0002587869530543685`
```
@@ -4398,7 +4998,8 @@ tests/test_math_utils.py:99: RecursionError`
โ #32
- **Status:** โ `failed`
-- **Duration:** `0.000186` s
+- **Duration:** `0.000207` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -4407,7 +5008,7 @@ tests/test_math_utils.py:99: RecursionError`
๐ Duration
```
-`0.0001850089756771922`
+`0.00019379693549126387`
```
@@ -4432,7 +5033,7 @@ tests/test_math_utils.py:99: RecursionError`
๐ Duration
```
-`0.00018619804177433252`
+`0.00020685105118900537`
```
@@ -4501,7 +5102,7 @@ tests/test_math_utils.py:109: SyntaxError`
๐ Duration
```
-`0.00023834698367863894`
+`0.00025622209068387747`
```
@@ -4535,7 +5136,8 @@ tests/test_math_utils.py:109: SyntaxError`
โ #33
- **Status:** โ `failed`
-- **Duration:** `0.000187` s
+- **Duration:** `0.000185` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -4544,7 +5146,7 @@ tests/test_math_utils.py:109: SyntaxError`
๐ Duration
```
-`0.0001814790302887559`
+`0.00019590393640100956`
```
@@ -4569,7 +5171,7 @@ tests/test_math_utils.py:109: SyntaxError`
๐ Duration
```
-`0.00018671201542019844`
+`0.00018510303925722837`
```
@@ -4632,7 +5234,7 @@ tests/test_math_utils.py:113: SystemExit`
๐ Duration
```
-`0.00025275489315390587`
+`0.00024900399148464203`
```
@@ -4666,7 +5268,8 @@ tests/test_math_utils.py:113: SystemExit`
โ #34
- **Status:** โ `failed`
-- **Duration:** `0.000180` s
+- **Duration:** `0.000184` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -4675,7 +5278,7 @@ tests/test_math_utils.py:113: SystemExit`
๐ Duration
```
-`0.00018218194600194693`
+`0.00018769793678075075`
```
@@ -4700,7 +5303,7 @@ tests/test_math_utils.py:113: SystemExit`
๐ Duration
```
-`0.00018016702961176634`
+`0.00018446508329361677`
```
@@ -4773,7 +5376,7 @@ tests/test_math_utils.py:118: TypeError`
๐ Duration
```
-`0.00023476302158087492`
+`0.0002490769838914275`
```
@@ -4807,7 +5410,8 @@ tests/test_math_utils.py:118: TypeError`
โ #35
- **Status:** โ `failed`
-- **Duration:** `0.000186` s
+- **Duration:** `0.000191` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -4816,7 +5420,7 @@ tests/test_math_utils.py:118: TypeError`
๐ Duration
```
-`0.00018643902149051428`
+`0.0001904789824038744`
```
@@ -4841,7 +5445,7 @@ tests/test_math_utils.py:118: TypeError`
๐ Duration
```
-`0.0001858660252764821`
+`0.0001911580329760909`
```
@@ -4921,7 +5525,7 @@ tests/test_math_utils.py:126: ImportError`
๐ Duration
```
-`0.0002515579108148813`
+`0.00024713901802897453`
```
@@ -4955,7 +5559,8 @@ tests/test_math_utils.py:126: ImportError`
โ #36
- **Status:** โ `failed`
-- **Duration:** `0.000491` s
+- **Duration:** `0.000544` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -4964,7 +5569,7 @@ tests/test_math_utils.py:126: ImportError`
๐ Duration
```
-`0.00019419798627495766`
+`0.00018521002493798733`
```
@@ -4989,7 +5594,7 @@ tests/test_math_utils.py:126: ImportError`
๐ Duration
```
-`0.000491070095449686`
+`0.0005435419734567404`
```
@@ -5048,7 +5653,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
name = 'non_existent_module_xyz'
-import_ =
+import_ =
> ???
E ModuleNotFoundError: No module named 'non_existent_module_xyz'
@@ -5067,7 +5672,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz'
๐ Duration
```
-`0.0003281200770288706`
+`0.0002942659193649888`
```
@@ -5109,7 +5714,8 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz'
โ #38
- **Status:** โ `failed`
-- **Duration:** `0.000181` s
+- **Duration:** `0.000179` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -5118,7 +5724,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz'
๐ Duration
```
-`0.00018509197980165482`
+`0.00018793996423482895`
```
@@ -5143,7 +5749,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz'
๐ Duration
```
-`0.00018063699826598167`
+`0.00017893209587782621`
```
@@ -5215,7 +5821,7 @@ functions/string_utils.py:3: TypeError`
๐ Duration
```
-`0.00024201301857829094`
+`0.00025851093232631683`
```
@@ -5250,6 +5856,7 @@ functions/string_utils.py:3: TypeError`
- **Status:** โ `failed`
- **Duration:** `0.000171` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -5258,7 +5865,7 @@ functions/string_utils.py:3: TypeError`
๐ Duration
```
-`0.00016880896873772144`
+`0.00017999508418142796`
```
@@ -5283,7 +5890,7 @@ functions/string_utils.py:3: TypeError`
๐ Duration
```
-`0.00017148302868008614`
+`0.00017117592506110668`
```
@@ -5346,7 +5953,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError`
๐ Duration
```
-`0.0002468100283294916`
+`0.00023630098439753056`
```
@@ -5380,7 +5987,8 @@ tests/test_string_utils.py:26: UnicodeDecodeError`
โ #42
- **Status:** โ `failed`
-- **Duration:** `0.000177` s
+- **Duration:** `0.000176` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -5389,7 +5997,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError`
๐ Duration
```
-`0.00018249102868139744`
+`0.00017983990255743265`
```
@@ -5414,7 +6022,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError`
๐ Duration
```
-`0.00017683510668575764`
+`0.000176400993950665`
```
@@ -5477,7 +6085,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError`
๐ Duration
```
-`0.0002292250283062458`
+`0.00025129702407866716`
```
@@ -5527,7 +6135,8 @@ tests/test_string_utils.py:30: UnicodeDecodeError`
โ #18
- **Status:** โ `xfailed`
-- **Duration:** `0.000299` s
+- **Duration:** `0.000311` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -5536,7 +6145,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError`
๐ Duration
```
-`0.0002140250289812684`
+`0.00020388304255902767`
```
@@ -5561,7 +6170,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError`
๐ Duration
```
-`0.00029873300809413195`
+`0.000311365001834929`
```
@@ -5627,7 +6236,7 @@ tests/test_math_utils.py:44: AssertionError`
๐ Duration
```
-`0.0002536880783736706`
+`0.00026395299937576056`
```
@@ -5669,7 +6278,8 @@ tests/test_math_utils.py:44: AssertionError`
โ #44
- **Status:** โ `xfailed`
-- **Duration:** `0.000652` s
+- **Duration:** `0.000664` s
+- **Severity:** `normal`
### ๐ง Setup Phase
@@ -5678,7 +6288,7 @@ tests/test_math_utils.py:44: AssertionError`
๐ Duration
```
-`0.0001909548882395029`
+`0.0001968640135601163`
```
@@ -5703,7 +6313,7 @@ tests/test_math_utils.py:44: AssertionError`
๐ Duration
```
-`0.0006523599149659276`
+`0.0006642569787800312`
```
@@ -5775,7 +6385,7 @@ tests/test_string_utils.py:39: AssertionError`
๐ Duration
```
-`0.0002673988929018378`
+`0.0002554800594225526`
```
diff --git a/ci-reports/markdown/coverage-summary.md b/ci-reports/markdown/coverage-summary.md
index 2f4acdf8..ff0891a9 100644
--- a/ci-reports/markdown/coverage-summary.md
+++ b/ci-reports/markdown/coverage-summary.md
@@ -1 +1,7 @@
-No data to report.
+| Name | Stmts | Miss | Cover |
+|--------------------------- | -------: | -------: | -------: |
+| functions/\_\_init\_\_.py | 0 | 0 | 100% |
+| functions/io\_utils.py | 8 | 0 | 100% |
+| functions/math\_utils.py | 6 | 0 | 100% |
+| functions/string\_utils.py | 6 | 0 | 100% |
+| **TOTAL** | **20** | **0** | **100%** |
diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json
index 6b5702e6..93503ea9 100644
--- a/ci-reports/markdown/pytest-report.json
+++ b/ci-reports/markdown/pytest-report.json
@@ -1 +1 @@
-{"created": 1752577859.3199596, "duration": 0.7795929908752441, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 11, "failed": 32, "xfailed": 2, "total": 45, "collected": 45}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 66}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 32}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 53}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 57}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 63}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 67}, {"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": 75}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 95}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 106}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 110}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 114}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 120}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 134}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 15}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 23}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 31}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 40}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.004506391007453203, "outcome": "passed"}, "call": {"duration": 0.0005441459361463785, "outcome": "passed"}, "teardown": {"duration": 0.0017403290839865804, "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.0007578879594802856, "outcome": "passed"}, "call": {"duration": 0.00036801095120608807, "outcome": "passed"}, "teardown": {"duration": 0.0007254750235006213, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "lineno": 22, "outcome": "failed", "keywords": ["test_cause_io_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019392999820411205, "outcome": "passed"}, "call": {"duration": 0.00021005398593842983, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/io_utils.py", "lineno": 10, "message": "OSError: Forced IO Error for testing"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 25, "message": ""}, {"path": "functions/io_utils.py", "lineno": 10, "message": "OSError"}], "longrepr": "def test_cause_io_error():\n # Raises manual IOError to simulate IO failure\n> cause_io_error()\n\ntests/test_io_utils.py:25: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n def cause_io_error():\n> raise IOError(\"Forced IO Error for testing\")\nE OSError: Forced IO Error for testing\n\nfunctions/io_utils.py:10: OSError"}, "teardown": {"duration": 0.00031253090128302574, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "lineno": 26, "outcome": "failed", "keywords": ["test_file_not_found", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023122900165617466, "outcome": "passed"}, "call": {"duration": 0.00023698399309068918, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/io_utils.py", "lineno": 2, "message": "FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 29, "message": ""}, {"path": "functions/io_utils.py", "lineno": 2, "message": "FileNotFoundError"}], "longrepr": "def test_file_not_found():\n # Reading non-existing file raises FileNotFoundError\n> read_file(\"nonexistent.file\")\n\ntests/test_io_utils.py:29: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\npath = 'nonexistent.file'\n\n def read_file(path):\n> with open(path, \"r\", encoding=\"utf-8\") as f:\nE FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'\n\nfunctions/io_utils.py:2: FileNotFoundError"}, "teardown": {"duration": 0.0002910649636760354, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "lineno": 30, "outcome": "failed", "keywords": ["test_permission_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00048126408364623785, "outcome": "passed"}, "call": {"duration": 0.0002600300358608365, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 34, "message": "PermissionError: Permission denied"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 36, "message": ""}, {"path": "functions/io_utils.py", "lineno": 2, "message": "in read_file"}, {"path": "tests/test_io_utils.py", "lineno": 34, "message": "PermissionError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c74e9940>\n\n def test_permission_error(monkeypatch):\n # Patch open to raise PermissionError simulating access denial\n def raise_perm_error(*args, **kwargs):\n raise PermissionError(\"Permission denied\")\n monkeypatch.setattr(\"builtins.open\", raise_perm_error)\n> read_file(\"anyfile.txt\")\n\ntests/test_io_utils.py:36: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nfunctions/io_utils.py:2: in read_file\n with open(path, \"r\", encoding=\"utf-8\") as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'}\n\n def raise_perm_error(*args, **kwargs):\n> raise PermissionError(\"Permission denied\")\nE PermissionError: Permission denied\n\ntests/test_io_utils.py:34: PermissionError"}, "teardown": {"duration": 0.0009406610624864697, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "lineno": 37, "outcome": "failed", "keywords": ["test_mock_open_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0004419619217514992, "outcome": "passed"}, "call": {"duration": 0.003549445071257651, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1140, "message": "OSError: Mocked IOError"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 43, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1081, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1085, "message": "in _mock_call"}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1140, "message": "OSError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c77aec10>\n\n def test_mock_open_error(monkeypatch):\n # Mock open() to raise IOError simulating read error\n mocked_open = mock.mock_open()\n mocked_open.side_effect = IOError(\"Mocked IOError\")\n monkeypatch.setattr(\"builtins.open\", mocked_open)\n> with open(\"file.txt\", \"r\") as f:\n\ntests/test_io_utils.py:43: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/unittest/mock.py:1081: in __call__\n return self._mock_call(*args, **kwargs)\n.pixi/envs/default/lib/python3.8/unittest/mock.py:1085: in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError')\n\n def _execute_mock_call(self, /, *args, **kwargs):\n # separate from _increment_mock_call so that awaited functions are\n # executed separately from their call, also AsyncMock overrides this method\n \n effect = self.side_effect\n if effect is not None:\n if _is_exception(effect):\n> raise effect\nE OSError: Mocked IOError\n\n.pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError"}, "teardown": {"duration": 0.0012472099624574184, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "lineno": 45, "outcome": "failed", "keywords": ["test_file_handle_closed_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00025869300588965416, "outcome": "passed"}, "call": {"duration": 0.0002198460279032588, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 50, "message": "ValueError: I/O operation on closed file"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 50, "message": "ValueError"}], "longrepr": "def test_file_handle_closed_error():\n # Accessing closed file raises ValueError\n f = io.StringIO(\"content\")\n f.close()\n> f.read()\nE ValueError: I/O operation on closed file\n\ntests/test_io_utils.py:50: ValueError"}, "teardown": {"duration": 0.0002962290309369564, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_os_error", "lineno": 51, "outcome": "failed", "keywords": ["test_os_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00047241803258657455, "outcome": "passed"}, "call": {"duration": 0.0002423529513180256, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 55, "message": "OSError: Simulated OSError"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 57, "message": ""}, {"path": "tests/test_io_utils.py", "lineno": 55, "message": "OSError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f43c75d4280>\n\n def test_os_error(monkeypatch):\n # Patch os.remove to raise OSError simulating filesystem error\n def raise_os_error(path):\n raise OSError(\"Simulated OSError\")\n monkeypatch.setattr(\"os.remove\", raise_os_error)\n> os.remove(\"file.txt\")\n\ntests/test_io_utils.py:57: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\npath = 'file.txt'\n\n def raise_os_error(path):\n> raise OSError(\"Simulated OSError\")\nE OSError: Simulated OSError\n\ntests/test_io_utils.py:55: OSError"}, "teardown": {"duration": 0.0008173950482159853, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "lineno": 58, "outcome": "passed", "keywords": ["test_write_file_readonly", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0008416379569098353, "outcome": "passed"}, "call": {"duration": 0.0012182740028947592, "outcome": "passed"}, "teardown": {"duration": 0.0007255329983308911, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "lineno": 66, "outcome": "failed", "keywords": ["test_file_not_found_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019915506709367037, "outcome": "passed"}, "call": {"duration": 0.00021600292529910803, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 69, "message": "FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt'"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 69, "message": "FileNotFoundError"}], "longrepr": "def test_file_not_found_error():\n # Raises FileNotFoundError when opening a non-existent file\n> open(\"no_such_file.txt\", \"r\")\nE FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt'\n\ntests/test_io_utils.py:69: FileNotFoundError"}, "teardown": {"duration": 0.00025011005345731974, "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.00019270996563136578, "outcome": "passed"}, "call": {"duration": 0.0001827090745791793, "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.0002627200447022915, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "lineno": 17, "outcome": "failed", "keywords": ["test_call_missing_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020303402561694384, "outcome": "passed"}, "call": {"duration": 0.00018441700376570225, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 20, "message": "AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 20, "message": "AttributeError"}], "longrepr": "def test_call_missing_function():\n # Accessing a missing function attribute raises AttributeError\n> getattr(math_utils, \"non_existent_function\")()\nE AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function'\n\ntests/test_math_utils.py:20: AttributeError"}, "teardown": {"duration": 0.0002553409431129694, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0016042559873312712, "outcome": "passed"}, "call": {"duration": 0.00022420205641537905, "outcome": "passed"}, "teardown": {"duration": 0.0009944828925654292, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0005949789192527533, "outcome": "passed"}, "call": {"duration": 0.00019372603856027126, "outcome": "passed"}, "teardown": {"duration": 0.0009457810083404183, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0005542120197787881, "outcome": "passed"}, "call": {"duration": 0.00019125291146337986, "outcome": "passed"}, "teardown": {"duration": 0.000869528972543776, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 32, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019694899674504995, "outcome": "passed"}, "call": {"duration": 0.0005684029310941696, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 35, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 35, "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:35: AssertionError"}, "teardown": {"duration": 0.0002523289294913411, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 36, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019968603737652302, "outcome": "passed"}, "call": {"duration": 0.00018753891345113516, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError: division by zero"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 39, "message": ""}, {"path": "functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError"}], "longrepr": "def test_division_zero():\n # Will raise ZeroDivisionError if not handled in division\n> division(1, 0)\n\ntests/test_math_utils.py:39: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\na = 1, b = 0\n\n def division(a, b):\n> return a / b\nE ZeroDivisionError: division by zero\n\nfunctions/math_utils.py:5: ZeroDivisionError"}, "teardown": {"duration": 0.00023975293152034283, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 40, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002140250289812684, "outcome": "passed"}, "call": {"duration": 0.00029873300809413195, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 44, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 44, "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:44: AssertionError"}, "teardown": {"duration": 0.0002536880783736706, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 45, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001838579773902893, "outcome": "passed"}, "call": {"duration": 0.00018510990776121616, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 48, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 48, "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:48: RuntimeError"}, "teardown": {"duration": 0.0002613560063764453, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 49, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020573008805513382, "outcome": "passed"}, "call": {"duration": 0.0001858919858932495, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 52, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 52, "message": "MemoryError"}], "longrepr": "def test_memory_error():\n # Manually raise MemoryError to simulate out-of-memory condition\n> raise MemoryError(\"Simulated memory error\")\nE MemoryError: Simulated memory error\n\ntests/test_math_utils.py:52: MemoryError"}, "teardown": {"duration": 0.00025425897911190987, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 53, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019395200069993734, "outcome": "passed"}, "call": {"duration": 0.00018239393830299377, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 56, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 56, "message": "TimeoutError"}], "longrepr": "def test_timeout_error():\n # Manually raise TimeoutError simulating timeout conditions\n> raise TimeoutError(\"Simulated timeout error\")\nE TimeoutError: Simulated timeout error\n\ntests/test_math_utils.py:56: TimeoutError"}, "teardown": {"duration": 0.0002632379764690995, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 57, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020272692199796438, "outcome": "passed"}, "call": {"duration": 0.0012184979859739542, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 61, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 62, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 61, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 61, "message": "in recursive"}], "longrepr": "def test_recursion_error():\n # Infinite recursion triggers RecursionError\n def recursive():\n return recursive()\n> recursive()\n\ntests/test_math_utils.py:62: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:61: in recursive\n return recursive()\ntests/test_math_utils.py:61: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.0003474840195849538, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 63, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023180106654763222, "outcome": "passed"}, "call": {"duration": 0.00020147801842540503, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 66, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 66, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError (rare in practice)\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:66: FloatingPointError"}, "teardown": {"duration": 0.0002597910352051258, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 67, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019929197151213884, "outcome": "passed"}, "call": {"duration": 0.00019157095812261105, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 70, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 70, "message": "OverflowError"}], "longrepr": "def test_floating_point_overflow():\n # Exponential overflow triggers OverflowError\n> math.exp(1000)\nE OverflowError: math range error\n\ntests/test_math_utils.py:70: OverflowError"}, "teardown": {"duration": 0.0002573220990598202, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 71, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019577203784137964, "outcome": "passed"}, "call": {"duration": 0.0001927800476551056, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 74, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 74, "message": "ValueError"}], "longrepr": "def test_value_error():\n # ValueError on invalid integer conversion\n> int(\"invalid\")\nE ValueError: invalid literal for int() with base 10: 'invalid'\n\ntests/test_math_utils.py:74: ValueError"}, "teardown": {"duration": 0.00025621894747018814, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 75, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000191971892490983, "outcome": "passed"}, "call": {"duration": 0.00018392992205917835, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 78, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 78, "message": "TypeError"}], "longrepr": "def test_type_error():\n # TypeError when passing wrong argument type to sum\n> sum(5)\nE TypeError: 'int' object is not iterable\n\ntests/test_math_utils.py:78: TypeError"}, "teardown": {"duration": 0.0002466929145157337, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 79, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001924140378832817, "outcome": "passed"}, "call": {"duration": 0.0001952099846675992, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 82, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 82, "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:82: Exception"}, "teardown": {"duration": 0.0002456019865348935, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 83, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001948499120771885, "outcome": "passed"}, "call": {"duration": 0.00017702404875308275, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 86, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 86, "message": "CustomError"}], "longrepr": "def test_custom_error():\n # Raises user-defined CustomError exception\n> raise CustomError(\"Custom error simulation\")\nE test_math_utils.CustomError: Custom error simulation\n\ntests/test_math_utils.py:86: CustomError"}, "teardown": {"duration": 0.00025283906143158674, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 87, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018330104649066925, "outcome": "passed"}, "call": {"duration": 0.0001794359413906932, "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:90: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f43c77a1c10>\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.00042499194387346506, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 91, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002670619869604707, "outcome": "passed"}, "call": {"duration": 0.0002095879754051566, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 94, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 94, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:94: GeneratorExit"}, "teardown": {"duration": 0.00030425796285271645, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 95, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00021403504069894552, "outcome": "passed"}, "call": {"duration": 0.00019100296776741743, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 99, "message": "RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 99, "message": "RecursionError"}], "longrepr": "def test_recursion_limit():\n # Lower recursion limit to force RecursionError on deep recursion\n original_limit = sys.getrecursionlimit()\n> sys.setrecursionlimit(50)\nE RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low\n\ntests/test_math_utils.py:99: RecursionError"}, "teardown": {"duration": 0.00024889304768294096, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 106, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001850089756771922, "outcome": "passed"}, "call": {"duration": 0.00018619804177433252, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 109, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 109, "message": "SyntaxError"}], "longrepr": "def test_malformed_code():\n # SyntaxError when executing malformed Python code\n> exec(\"def bad(:\\n pass\")\nE File \"\", line 1\nE def bad(:\nE ^\nE SyntaxError: invalid syntax\n\ntests/test_math_utils.py:109: SyntaxError"}, "teardown": {"duration": 0.00023834698367863894, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 110, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001814790302887559, "outcome": "passed"}, "call": {"duration": 0.00018671201542019844, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 113, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 113, "message": "SystemExit"}], "longrepr": "def test_sys_exit():\n # Simulate SystemExit via sys.exit\n> sys.exit(1)\nE SystemExit: 1\n\ntests/test_math_utils.py:113: SystemExit"}, "teardown": {"duration": 0.00025275489315390587, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 114, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018218194600194693, "outcome": "passed"}, "call": {"duration": 0.00018016702961176634, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 119, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 118, "message": "TypeError"}], "longrepr": "def test_broken_function():\n # Simulate broken function raising TypeError\n def broken_func(*args, **kwargs):\n raise TypeError(\"Broken function\")\n> broken_func()\n\ntests/test_math_utils.py:119: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = (), kwargs = {}\n\n def broken_func(*args, **kwargs):\n> raise TypeError(\"Broken function\")\nE TypeError: Broken function\n\ntests/test_math_utils.py:118: TypeError"}, "teardown": {"duration": 0.00023476302158087492, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 120, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018643902149051428, "outcome": "passed"}, "call": {"duration": 0.0001858660252764821, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 126, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 126, "message": "ImportError"}], "longrepr": "def test_import_error_patch():\n # Patch import to simulate ImportError on specific module\n original_import = __import__\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n raise ImportError(\"Simulated ImportError\")\n return original_import(name, *args, **kwargs)\n import builtins\n builtins.__import__, old_import = fake_import, builtins.__import__\n try:\n> __import__(\"fake_module\")\n\ntests/test_math_utils.py:131: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'fake_module', args = (), kwargs = {}\n\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:126: ImportError"}, "teardown": {"duration": 0.0002515579108148813, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 134, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019419798627495766, "outcome": "passed"}, "call": {"duration": 0.000491070095449686, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 137, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/importlib/__init__.py", "lineno": 127, "message": "in import_module"}, {"path": "", "lineno": 1014, "message": "in _gcd_import"}, {"path": "", "lineno": 991, "message": "in _find_and_load"}, {"path": "", "lineno": 973, "message": "ModuleNotFoundError"}], "longrepr": "def test_module_not_found_error():\n # Raises ModuleNotFoundError (subclass of ImportError) for missing module\n> importlib.import_module(\"non_existent_module_xyz\")\n\ntests/test_math_utils.py:137: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'non_existent_module_xyz'\nimport_ = \n\n> ???\nE ModuleNotFoundError: No module named 'non_existent_module_xyz'\n\n:973: ModuleNotFoundError"}, "teardown": {"duration": 0.0003281200770288706, "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.000240510911680758, "outcome": "passed"}, "call": {"duration": 0.0002189819933846593, "outcome": "passed"}, "teardown": {"duration": 0.00020951498299837112, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "lineno": 11, "outcome": "failed", "keywords": ["test_uppercase_type_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018509197980165482, "outcome": "passed"}, "call": {"duration": 0.00018063699826598167, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/string_utils.py", "lineno": 3, "message": "TypeError: Input cannot be None"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 14, "message": ""}, {"path": "functions/string_utils.py", "lineno": 3, "message": "TypeError"}], "longrepr": "def test_uppercase_type_error():\n # TypeError when input is None (invalid input)\n> uppercase(None)\n\ntests/test_string_utils.py:14: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ns = None\n\n def uppercase(s):\n if s is None:\n> raise TypeError(\"Input cannot be None\")\nE TypeError: Input cannot be None\n\nfunctions/string_utils.py:3: TypeError"}, "teardown": {"duration": 0.00024201301857829094, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "lineno": 15, "outcome": "passed", "keywords": ["test_reverse_string", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019066594541072845, "outcome": "passed"}, "call": {"duration": 0.00017019198276102543, "outcome": "passed"}, "teardown": {"duration": 0.00020808703266084194, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "lineno": 19, "outcome": "passed", "keywords": ["test_warning_emit", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017246196512132883, "outcome": "passed"}, "call": {"duration": 0.0001842110650613904, "outcome": "passed"}, "teardown": {"duration": 0.0001949489815160632, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 23, "outcome": "failed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00016880896873772144, "outcome": "passed"}, "call": {"duration": 0.00017148302868008614, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 26, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 26, "message": "UnicodeDecodeError"}], "longrepr": "def test_unicode_decode_error():\n # UnicodeDecodeError when decoding invalid byte sequence\n> b'\\xff'.decode('utf-8')\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte\n\ntests/test_string_utils.py:26: UnicodeDecodeError"}, "teardown": {"duration": 0.0002468100283294916, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "lineno": 27, "outcome": "failed", "keywords": ["test_unicode_decode_surrogateescape", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018249102868139744, "outcome": "passed"}, "call": {"duration": 0.00017683510668575764, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 30, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 30, "message": "UnicodeDecodeError"}], "longrepr": "def test_unicode_decode_surrogateescape():\n # UnicodeDecodeError with strict error handler on invalid byte\n> b\"\\x80\".decode(\"utf-8\", errors=\"strict\")\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte\n\ntests/test_string_utils.py:30: UnicodeDecodeError"}, "teardown": {"duration": 0.0002292250283062458, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "lineno": 31, "outcome": "passed", "keywords": ["test_import_warning", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000186647055670619, "outcome": "passed"}, "call": {"duration": 0.0001671529607847333, "outcome": "passed"}, "teardown": {"duration": 0.0002057109959423542, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "lineno": 35, "outcome": "xfailed", "keywords": ["test_xfail_uppercase_digits", "xfail", "pytestmark", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001909548882395029, "outcome": "passed"}, "call": {"duration": 0.0006523599149659276, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 39, "message": "AssertionError: assert 'ABC123' == 'ABC1234'\n \n - ABC1234\n ? -\n + ABC123"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure: uppercase does not handle digits\")\n def test_xfail_uppercase_digits():\n # Expected fail test because uppercase won't change digits\n> assert uppercase(\"abc123\") == \"ABC1234\"\nE AssertionError: assert 'ABC123' == 'ABC1234'\nE \nE - ABC1234\nE ? -\nE + ABC123\n\ntests/test_string_utils.py:39: AssertionError"}, "teardown": {"duration": 0.0002673988929018378, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "lineno": 40, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018300896044820547, "outcome": "passed"}}], "warnings": [{"message": "Test warning", "category": "UserWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 22}]}
\ No newline at end of file
+{"created": 1752578762.7604659, "duration": 0.792525053024292, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 11, "failed": 32, "xfailed": 2, "total": 45, "collected": 45}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "failed", "result": [], "longrepr": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule\n mod = import_path(\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path\n importlib.import_module(module_name)\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n:975: in _find_and_load_unlocked\n ???\n:671: in _load_unlocked\n ???\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module\n source_stat, co = _rewrite_test(fn, self.config)\n.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test\n tree = ast.parse(source, filename=strfn)\n.pixi/envs/default/lib/python3.8/ast.py:47: in parse\n return compile(source, filename, mode, flags,\nE File \"/workspace/tligui_y/slic/tests/test_broken_fct.py\", line 8\nE def test_valid_2():\nE ^\nE SyntaxError: invalid syntax"}, {"nodeid": "tests/test_collector_error.py", "outcome": "failed", "result": [], "longrepr": "ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'.\nHint: make sure your test modules/packages have valid Python names.\nTraceback:\n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\ntests/test_collector_error.py:1: in \n from no_existing_module.math_utils import *\nE ModuleNotFoundError: No module named 'no_existing_module'"}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_io_utils.py::test_os_error", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "type": "Function", "lineno": 58}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "type": "Function", "lineno": 66}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 32}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 45}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 53}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 57}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 63}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 67}, {"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": 75}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 95}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 106}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 110}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 114}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 120}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 134}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 15}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 23}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 31}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 40}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.004070373950526118, "outcome": "passed"}, "call": {"duration": 0.0005299960030242801, "outcome": "passed"}, "teardown": {"duration": 0.0016725619789212942, "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.0006958170561119914, "outcome": "passed"}, "call": {"duration": 0.0003691840684041381, "outcome": "passed"}, "teardown": {"duration": 0.0006994550349190831, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_cause_io_error", "lineno": 22, "outcome": "failed", "keywords": ["test_cause_io_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00022022798657417297, "outcome": "passed"}, "call": {"duration": 0.0001943330280482769, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/io_utils.py", "lineno": 10, "message": "OSError: Forced IO Error for testing"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 25, "message": ""}, {"path": "functions/io_utils.py", "lineno": 10, "message": "OSError"}], "longrepr": "def test_cause_io_error():\n # Raises manual IOError to simulate IO failure\n> cause_io_error()\n\ntests/test_io_utils.py:25: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\n def cause_io_error():\n> raise IOError(\"Forced IO Error for testing\")\nE OSError: Forced IO Error for testing\n\nfunctions/io_utils.py:10: OSError"}, "teardown": {"duration": 0.00025686807930469513, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found", "lineno": 26, "outcome": "failed", "keywords": ["test_file_not_found", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019534502644091845, "outcome": "passed"}, "call": {"duration": 0.0002090230118483305, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/io_utils.py", "lineno": 2, "message": "FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 29, "message": ""}, {"path": "functions/io_utils.py", "lineno": 2, "message": "FileNotFoundError"}], "longrepr": "def test_file_not_found():\n # Reading non-existing file raises FileNotFoundError\n> read_file(\"nonexistent.file\")\n\ntests/test_io_utils.py:29: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\npath = 'nonexistent.file'\n\n def read_file(path):\n> with open(path, \"r\", encoding=\"utf-8\") as f:\nE FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'\n\nfunctions/io_utils.py:2: FileNotFoundError"}, "teardown": {"duration": 0.0002528789918869734, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_permission_error", "lineno": 30, "outcome": "failed", "keywords": ["test_permission_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0004192540654912591, "outcome": "passed"}, "call": {"duration": 0.0002509410260245204, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 34, "message": "PermissionError: Permission denied"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 36, "message": ""}, {"path": "functions/io_utils.py", "lineno": 2, "message": "in read_file"}, {"path": "tests/test_io_utils.py", "lineno": 34, "message": "PermissionError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f17289de640>\n\n def test_permission_error(monkeypatch):\n # Patch open to raise PermissionError simulating access denial\n def raise_perm_error(*args, **kwargs):\n raise PermissionError(\"Permission denied\")\n monkeypatch.setattr(\"builtins.open\", raise_perm_error)\n> read_file(\"anyfile.txt\")\n\ntests/test_io_utils.py:36: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nfunctions/io_utils.py:2: in read_file\n with open(path, \"r\", encoding=\"utf-8\") as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'}\n\n def raise_perm_error(*args, **kwargs):\n> raise PermissionError(\"Permission denied\")\nE PermissionError: Permission denied\n\ntests/test_io_utils.py:34: PermissionError"}, "teardown": {"duration": 0.0007780720479786396, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_mock_open_error", "lineno": 37, "outcome": "failed", "keywords": ["test_mock_open_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0004215140361338854, "outcome": "passed"}, "call": {"duration": 0.0035020479699596763, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1140, "message": "OSError: Mocked IOError"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 43, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1081, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1085, "message": "in _mock_call"}, {"path": ".pixi/envs/default/lib/python3.8/unittest/mock.py", "lineno": 1140, "message": "OSError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f17286b6070>\n\n def test_mock_open_error(monkeypatch):\n # Mock open() to raise IOError simulating read error\n mocked_open = mock.mock_open()\n mocked_open.side_effect = IOError(\"Mocked IOError\")\n monkeypatch.setattr(\"builtins.open\", mocked_open)\n> with open(\"file.txt\", \"r\") as f:\n\ntests/test_io_utils.py:43: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/unittest/mock.py:1081: in __call__\n return self._mock_call(*args, **kwargs)\n.pixi/envs/default/lib/python3.8/unittest/mock.py:1085: in _mock_call\n return self._execute_mock_call(*args, **kwargs)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError')\n\n def _execute_mock_call(self, /, *args, **kwargs):\n # separate from _increment_mock_call so that awaited functions are\n # executed separately from their call, also AsyncMock overrides this method\n \n effect = self.side_effect\n if effect is not None:\n if _is_exception(effect):\n> raise effect\nE OSError: Mocked IOError\n\n.pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError"}, "teardown": {"duration": 0.0012469840003177524, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_handle_closed_error", "lineno": 45, "outcome": "failed", "keywords": ["test_file_handle_closed_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002523689763620496, "outcome": "passed"}, "call": {"duration": 0.00021008402109146118, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 50, "message": "ValueError: I/O operation on closed file"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 50, "message": "ValueError"}], "longrepr": "def test_file_handle_closed_error():\n # Accessing closed file raises ValueError\n f = io.StringIO(\"content\")\n f.close()\n> f.read()\nE ValueError: I/O operation on closed file\n\ntests/test_io_utils.py:50: ValueError"}, "teardown": {"duration": 0.00027700397185981274, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_os_error", "lineno": 51, "outcome": "failed", "keywords": ["test_os_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0004694100935012102, "outcome": "passed"}, "call": {"duration": 0.00023722299374639988, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 55, "message": "OSError: Simulated OSError"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 57, "message": ""}, {"path": "tests/test_io_utils.py", "lineno": 55, "message": "OSError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f17286b6b20>\n\n def test_os_error(monkeypatch):\n # Patch os.remove to raise OSError simulating filesystem error\n def raise_os_error(path):\n raise OSError(\"Simulated OSError\")\n monkeypatch.setattr(\"os.remove\", raise_os_error)\n> os.remove(\"file.txt\")\n\ntests/test_io_utils.py:57: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\npath = 'file.txt'\n\n def raise_os_error(path):\n> raise OSError(\"Simulated OSError\")\nE OSError: Simulated OSError\n\ntests/test_io_utils.py:55: OSError"}, "teardown": {"duration": 0.0007774259429425001, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_write_file_readonly", "lineno": 58, "outcome": "passed", "keywords": ["test_write_file_readonly", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0008304920047521591, "outcome": "passed"}, "call": {"duration": 0.0009990530088543892, "outcome": "passed"}, "teardown": {"duration": 0.0007279539713636041, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_file_not_found_error", "lineno": 66, "outcome": "failed", "keywords": ["test_file_not_found_error", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001961439847946167, "outcome": "passed"}, "call": {"duration": 0.00020266498904675245, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_io_utils.py", "lineno": 69, "message": "FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt'"}, "traceback": [{"path": "tests/test_io_utils.py", "lineno": 69, "message": "FileNotFoundError"}], "longrepr": "def test_file_not_found_error():\n # Raises FileNotFoundError when opening a non-existent file\n> open(\"no_such_file.txt\", \"r\")\nE FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt'\n\ntests/test_io_utils.py:69: FileNotFoundError"}, "teardown": {"duration": 0.00025913899298757315, "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.0002018370432779193, "outcome": "passed"}, "call": {"duration": 0.0002029850147664547, "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.0002535770181566477, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_call_missing_function", "lineno": 17, "outcome": "failed", "keywords": ["test_call_missing_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019005406647920609, "outcome": "passed"}, "call": {"duration": 0.00018509197980165482, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 20, "message": "AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 20, "message": "AttributeError"}], "longrepr": "def test_call_missing_function():\n # Accessing a missing function attribute raises AttributeError\n> getattr(math_utils, \"non_existent_function\")()\nE AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function'\n\ntests/test_math_utils.py:20: AttributeError"}, "teardown": {"duration": 0.000270980061031878, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0016526490217074752, "outcome": "passed"}, "call": {"duration": 0.00021820398978888988, "outcome": "passed"}, "teardown": {"duration": 0.0010266220197081566, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0005940969567745924, "outcome": "passed"}, "call": {"duration": 0.00018547300714999437, "outcome": "passed"}, "teardown": {"duration": 0.0008847239660099149, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0005749780684709549, "outcome": "passed"}, "call": {"duration": 0.0001853780122473836, "outcome": "passed"}, "teardown": {"duration": 0.0009076249552890658, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 32, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018893799278885126, "outcome": "passed"}, "call": {"duration": 0.0006201629294082522, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 35, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 35, "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:35: AssertionError"}, "teardown": {"duration": 0.0002489240141585469, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 36, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018417311366647482, "outcome": "passed"}, "call": {"duration": 0.0001987260766327381, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError: division by zero"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 39, "message": ""}, {"path": "functions/math_utils.py", "lineno": 5, "message": "ZeroDivisionError"}], "longrepr": "def test_division_zero():\n # Will raise ZeroDivisionError if not handled in division\n> division(1, 0)\n\ntests/test_math_utils.py:39: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\na = 1, b = 0\n\n def division(a, b):\n> return a / b\nE ZeroDivisionError: division by zero\n\nfunctions/math_utils.py:5: ZeroDivisionError"}, "teardown": {"duration": 0.0002452830085530877, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 40, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020388304255902767, "outcome": "passed"}, "call": {"duration": 0.000311365001834929, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 44, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 44, "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:44: AssertionError"}, "teardown": {"duration": 0.00026395299937576056, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 45, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002006739377975464, "outcome": "passed"}, "call": {"duration": 0.0001978309592232108, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 48, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 48, "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:48: RuntimeError"}, "teardown": {"duration": 0.00024038192350417376, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 49, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001944570103660226, "outcome": "passed"}, "call": {"duration": 0.00018371199257671833, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 52, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 52, "message": "MemoryError"}], "longrepr": "def test_memory_error():\n # Manually raise MemoryError to simulate out-of-memory condition\n> raise MemoryError(\"Simulated memory error\")\nE MemoryError: Simulated memory error\n\ntests/test_math_utils.py:52: MemoryError"}, "teardown": {"duration": 0.0002396279014647007, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 53, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001893400913104415, "outcome": "passed"}, "call": {"duration": 0.00017596094403415918, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 56, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 56, "message": "TimeoutError"}], "longrepr": "def test_timeout_error():\n # Manually raise TimeoutError simulating timeout conditions\n> raise TimeoutError(\"Simulated timeout error\")\nE TimeoutError: Simulated timeout error\n\ntests/test_math_utils.py:56: TimeoutError"}, "teardown": {"duration": 0.00024721899535506964, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 57, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018991099204868078, "outcome": "passed"}, "call": {"duration": 0.0012571540428325534, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 61, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 62, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 61, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 61, "message": "in recursive"}], "longrepr": "def test_recursion_error():\n # Infinite recursion triggers RecursionError\n def recursive():\n return recursive()\n> recursive()\n\ntests/test_math_utils.py:62: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:61: in recursive\n return recursive()\ntests/test_math_utils.py:61: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.0003450640942901373, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 63, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00022946903482079506, "outcome": "passed"}, "call": {"duration": 0.00018921296577900648, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 66, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 66, "message": "FloatingPointError"}], "longrepr": "def test_floating_point_error():\n # Manually raise FloatingPointError (rare in practice)\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:66: FloatingPointError"}, "teardown": {"duration": 0.0003174000885337591, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 67, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023552996572107077, "outcome": "passed"}, "call": {"duration": 0.00020551797933876514, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 70, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 70, "message": "OverflowError"}], "longrepr": "def test_floating_point_overflow():\n # Exponential overflow triggers OverflowError\n> math.exp(1000)\nE OverflowError: math range error\n\ntests/test_math_utils.py:70: OverflowError"}, "teardown": {"duration": 0.00026772799901664257, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 71, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002027810551226139, "outcome": "passed"}, "call": {"duration": 0.0002121210563927889, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 74, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 74, "message": "ValueError"}], "longrepr": "def test_value_error():\n # ValueError on invalid integer conversion\n> int(\"invalid\")\nE ValueError: invalid literal for int() with base 10: 'invalid'\n\ntests/test_math_utils.py:74: ValueError"}, "teardown": {"duration": 0.000280798994936049, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 75, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00020098802633583546, "outcome": "passed"}, "call": {"duration": 0.0001831080298870802, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 78, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 78, "message": "TypeError"}], "longrepr": "def test_type_error():\n # TypeError when passing wrong argument type to sum\n> sum(5)\nE TypeError: 'int' object is not iterable\n\ntests/test_math_utils.py:78: TypeError"}, "teardown": {"duration": 0.0002528500044718385, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 79, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018820492550730705, "outcome": "passed"}, "call": {"duration": 0.0001968670403584838, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 82, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 82, "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:82: Exception"}, "teardown": {"duration": 0.00024755008053034544, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 83, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018701900262385607, "outcome": "passed"}, "call": {"duration": 0.0001824450446292758, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 86, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 86, "message": "CustomError"}], "longrepr": "def test_custom_error():\n # Raises user-defined CustomError exception\n> raise CustomError(\"Custom error simulation\")\nE test_math_utils.CustomError: Custom error simulation\n\ntests/test_math_utils.py:86: CustomError"}, "teardown": {"duration": 0.00024213700089603662, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 87, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001901660580188036, "outcome": "passed"}, "call": {"duration": 0.00019264197908341885, "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:90: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f172b3a9c10>\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.00045342801604419947, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 91, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002630040980875492, "outcome": "passed"}, "call": {"duration": 0.00021539302542805672, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 94, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 94, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:94: GeneratorExit"}, "teardown": {"duration": 0.0002912849886342883, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 95, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00021244492381811142, "outcome": "passed"}, "call": {"duration": 0.00019777496345341206, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 99, "message": "RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 99, "message": "RecursionError"}], "longrepr": "def test_recursion_limit():\n # Lower recursion limit to force RecursionError on deep recursion\n original_limit = sys.getrecursionlimit()\n> sys.setrecursionlimit(50)\nE RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low\n\ntests/test_math_utils.py:99: RecursionError"}, "teardown": {"duration": 0.0002587869530543685, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 106, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019379693549126387, "outcome": "passed"}, "call": {"duration": 0.00020685105118900537, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 109, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 109, "message": "SyntaxError"}], "longrepr": "def test_malformed_code():\n # SyntaxError when executing malformed Python code\n> exec(\"def bad(:\\n pass\")\nE File \"\", line 1\nE def bad(:\nE ^\nE SyntaxError: invalid syntax\n\ntests/test_math_utils.py:109: SyntaxError"}, "teardown": {"duration": 0.00025622209068387747, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 110, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019590393640100956, "outcome": "passed"}, "call": {"duration": 0.00018510303925722837, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 113, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 113, "message": "SystemExit"}], "longrepr": "def test_sys_exit():\n # Simulate SystemExit via sys.exit\n> sys.exit(1)\nE SystemExit: 1\n\ntests/test_math_utils.py:113: SystemExit"}, "teardown": {"duration": 0.00024900399148464203, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 114, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018769793678075075, "outcome": "passed"}, "call": {"duration": 0.00018446508329361677, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 119, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 118, "message": "TypeError"}], "longrepr": "def test_broken_function():\n # Simulate broken function raising TypeError\n def broken_func(*args, **kwargs):\n raise TypeError(\"Broken function\")\n> broken_func()\n\ntests/test_math_utils.py:119: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = (), kwargs = {}\n\n def broken_func(*args, **kwargs):\n> raise TypeError(\"Broken function\")\nE TypeError: Broken function\n\ntests/test_math_utils.py:118: TypeError"}, "teardown": {"duration": 0.0002490769838914275, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 120, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001904789824038744, "outcome": "passed"}, "call": {"duration": 0.0001911580329760909, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 126, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 126, "message": "ImportError"}], "longrepr": "def test_import_error_patch():\n # Patch import to simulate ImportError on specific module\n original_import = __import__\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n raise ImportError(\"Simulated ImportError\")\n return original_import(name, *args, **kwargs)\n import builtins\n builtins.__import__, old_import = fake_import, builtins.__import__\n try:\n> __import__(\"fake_module\")\n\ntests/test_math_utils.py:131: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'fake_module', args = (), kwargs = {}\n\n def fake_import(name, *args, **kwargs):\n if name == \"fake_module\":\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:126: ImportError"}, "teardown": {"duration": 0.00024713901802897453, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 134, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018521002493798733, "outcome": "passed"}, "call": {"duration": 0.0005435419734567404, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 137, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/importlib/__init__.py", "lineno": 127, "message": "in import_module"}, {"path": "", "lineno": 1014, "message": "in _gcd_import"}, {"path": "", "lineno": 991, "message": "in _find_and_load"}, {"path": "", "lineno": 973, "message": "ModuleNotFoundError"}], "longrepr": "def test_module_not_found_error():\n # Raises ModuleNotFoundError (subclass of ImportError) for missing module\n> importlib.import_module(\"non_existent_module_xyz\")\n\ntests/test_math_utils.py:137: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n:1014: in _gcd_import\n ???\n:991: in _find_and_load\n ???\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nname = 'non_existent_module_xyz'\nimport_ = \n\n> ???\nE ModuleNotFoundError: No module named 'non_existent_module_xyz'\n\n:973: ModuleNotFoundError"}, "teardown": {"duration": 0.0002942659193649888, "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.00020775699522346258, "outcome": "passed"}, "call": {"duration": 0.0001777529250830412, "outcome": "passed"}, "teardown": {"duration": 0.00020723906345665455, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "lineno": 11, "outcome": "failed", "keywords": ["test_uppercase_type_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018793996423482895, "outcome": "passed"}, "call": {"duration": 0.00017893209587782621, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/functions/string_utils.py", "lineno": 3, "message": "TypeError: Input cannot be None"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 14, "message": ""}, {"path": "functions/string_utils.py", "lineno": 3, "message": "TypeError"}], "longrepr": "def test_uppercase_type_error():\n # TypeError when input is None (invalid input)\n> uppercase(None)\n\ntests/test_string_utils.py:14: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ns = None\n\n def uppercase(s):\n if s is None:\n> raise TypeError(\"Input cannot be None\")\nE TypeError: Input cannot be None\n\nfunctions/string_utils.py:3: TypeError"}, "teardown": {"duration": 0.00025851093232631683, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "lineno": 15, "outcome": "passed", "keywords": ["test_reverse_string", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019134697504341602, "outcome": "passed"}, "call": {"duration": 0.00016856600996106863, "outcome": "passed"}, "teardown": {"duration": 0.000194310094229877, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "lineno": 19, "outcome": "passed", "keywords": ["test_warning_emit", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001757129793986678, "outcome": "passed"}, "call": {"duration": 0.00017426698468625546, "outcome": "passed"}, "teardown": {"duration": 0.00020488596055656672, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 23, "outcome": "failed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017999508418142796, "outcome": "passed"}, "call": {"duration": 0.00017117592506110668, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 26, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 26, "message": "UnicodeDecodeError"}], "longrepr": "def test_unicode_decode_error():\n # UnicodeDecodeError when decoding invalid byte sequence\n> b'\\xff'.decode('utf-8')\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte\n\ntests/test_string_utils.py:26: UnicodeDecodeError"}, "teardown": {"duration": 0.00023630098439753056, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "lineno": 27, "outcome": "failed", "keywords": ["test_unicode_decode_surrogateescape", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017983990255743265, "outcome": "passed"}, "call": {"duration": 0.000176400993950665, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 30, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 30, "message": "UnicodeDecodeError"}], "longrepr": "def test_unicode_decode_surrogateescape():\n # UnicodeDecodeError with strict error handler on invalid byte\n> b\"\\x80\".decode(\"utf-8\", errors=\"strict\")\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte\n\ntests/test_string_utils.py:30: UnicodeDecodeError"}, "teardown": {"duration": 0.00025129702407866716, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "lineno": 31, "outcome": "passed", "keywords": ["test_import_warning", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018420896958559752, "outcome": "passed"}, "call": {"duration": 0.0001688109477981925, "outcome": "passed"}, "teardown": {"duration": 0.0001924809766933322, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "lineno": 35, "outcome": "xfailed", "keywords": ["test_xfail_uppercase_digits", "xfail", "pytestmark", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001968640135601163, "outcome": "passed"}, "call": {"duration": 0.0006642569787800312, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 39, "message": "AssertionError: assert 'ABC123' == 'ABC1234'\n \n - ABC1234\n ? -\n + ABC123"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure: uppercase does not handle digits\")\n def test_xfail_uppercase_digits():\n # Expected fail test because uppercase won't change digits\n> assert uppercase(\"abc123\") == \"ABC1234\"\nE AssertionError: assert 'ABC123' == 'ABC1234'\nE \nE - ABC1234\nE ? -\nE + ABC123\n\ntests/test_string_utils.py:39: AssertionError"}, "teardown": {"duration": 0.0002554800594225526, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "lineno": 40, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018237705808132887, "outcome": "passed"}}], "warnings": [{"message": "Test warning", "category": "UserWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 22}]}
\ No newline at end of file