diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index de3e7a2a..cf746358 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -1,17 +1,17 @@ # ๐Ÿงช Test Report -*Generated on 2025-07-14 13:54:45* +*Generated on 2025-07-14 13:56:32* ## ๐Ÿ“‹ Summary -- **Failed**: `5` -- **Passed**: `12` -- **Xfailed**: `1` -- **Total**: `18` +- **Failed**: `8` +- **Passed**: `25` +- **Xfailed**: `2` +- **Total**: `35` - **Collected**: `35` -- **Total Duration**: `0.493`s +- **Total Duration**: `0.277`s ## ๐Ÿ”Ž Tests
-โŒ Failed (5) +โŒ Failed (8)
๐Ÿ“ test_forth_file.py @@ -23,7 +23,7 @@ โŒ #1 - **Status:** โŒ `failed` -- **Duration:** `0.000239` s +- **Duration:** `0.000251` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -32,7 +32,7 @@ ๐Ÿ“Œ Duration ``` -0.0007421030895784497 +0.0007083449745550752 ```
@@ -51,7 +51,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002392960013821721 +0.00025121704675257206 ```
@@ -103,7 +103,7 @@ tests/test_forth_file.py:16: NameError ๐Ÿ“Œ Duration ``` -0.0007418409222736955 +0.0004370489623397589 ``` @@ -126,7 +126,7 @@ passed โŒ #4 - **Status:** โŒ `failed` -- **Duration:** `0.000566` s +- **Duration:** `0.000559` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -135,7 +135,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018483505118638277 +0.0001816960284486413 ``` @@ -154,7 +154,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0005662870826199651 +0.000559022999368608 ``` @@ -208,7 +208,7 @@ tests/test_forth_file.py:29: AssertionError ๐Ÿ“Œ Duration ``` -0.0002615350531414151 +0.0002422030083835125 ``` @@ -231,7 +231,7 @@ passed โŒ #7 - **Status:** โŒ `failed` -- **Duration:** `0.000208` s +- **Duration:** `0.000173` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -240,7 +240,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00028062600176781416 +0.00018934893887490034 ``` @@ -259,7 +259,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00020784803200513124 +0.00017291191034018993 ``` @@ -311,7 +311,7 @@ tests/test_forth_file.py:43: RuntimeError ๐Ÿ“Œ Duration ``` -0.0005093610379844904 +0.00023302598856389523 ``` @@ -334,7 +334,7 @@ passed โŒ #15 - **Status:** โŒ `failed` -- **Duration:** `0.000302` s +- **Duration:** `0.000173` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -343,7 +343,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002813199535012245 +0.00016556400805711746 ``` @@ -362,7 +362,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003023820463567972 +0.0001733150565996766 ``` @@ -414,7 +414,7 @@ tests/test_forth_file.py:84: Exception ๐Ÿ“Œ Duration ``` -0.0005011290777474642 +0.00023452099412679672 ``` @@ -437,7 +437,7 @@ passed โŒ #17 - **Status:** โŒ `failed` -- **Duration:** `0.000300` s +- **Duration:** `0.000173` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -446,7 +446,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00030014500953257084 +0.00018919899594038725 ``` @@ -465,7 +465,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00029993196949362755 +0.00017331598792225122 ``` @@ -541,7 +541,7 @@ tests/test_forth_file.py:93: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7ff0f024bc10> +func = . at 0x7f0182577c10> when = 'call' reraise = (, ) @@ -611,7 +611,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -0.0004487080732360482 +0.00042587006464600563 ``` @@ -627,24 +627,14 @@ passed - - - +
+๐Ÿ”ง Function: `test_generator_exit_direct`
-โœ… Passed (12) +โŒ #18 -
-๐Ÿ“ test_forth_file.py - -
-๐Ÿ”ง Function: `test_call_missing_function` - -
-โœ… #2 - -- **Status:** โœ… `passed` -- **Duration:** `0.000416` s +- **Status:** โŒ `failed` +- **Duration:** `0.000213` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -653,7 +643,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00032268406357616186 +0.0002655079588294029 ```
@@ -672,7 +662,333 @@ passed ๐Ÿ“Œ Duration ``` -0.00041561201214790344 +0.00021340290550142527 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +failed +``` +
+ +
+๐Ÿ“Œ Crash + +``` +path: /workspace/tligui_y/slic/tests/test_forth_file.py +lineno: 97 +message: GeneratorExit +``` +
+ +
+๐Ÿ“Œ Traceback + +``` +path: tests/test_forth_file.py +lineno: 97 +message: GeneratorExit +``` +
+ +
+๐Ÿ“Œ Longrepr + +``` +def test_generator_exit_direct(): + # Directly raise GeneratorExit exception +> raise GeneratorExit() +E GeneratorExit + +tests/test_forth_file.py:97: GeneratorExit +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0002864260459318757 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_recursion_limit` + +
+โŒ #19 + +- **Status:** โŒ `failed` +- **Duration:** `0.000224` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.0007916189497336745 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.0002237670123577118 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +failed +``` +
+ +
+๐Ÿ“Œ Crash + +``` +path: /workspace/tligui_y/slic/tests/test_forth_file.py +lineno: 108 +message: RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low +``` +
+ +
+๐Ÿ“Œ Traceback + +``` +path: tests/test_forth_file.py +lineno: 108 +message: RecursionError +``` +
+ +
+๐Ÿ“Œ Longrepr + +``` +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f0184b134f0> + + def test_recursion_limit(monkeypatch): + # Lower recursion limit to force RecursionError on deep recursion + original_limit = sys.getrecursionlimit() +> sys.setrecursionlimit(50) +E RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low + +tests/test_forth_file.py:108: RecursionError +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0008754680166020989 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_broken_function` + +
+โŒ #22 + +- **Status:** โŒ `failed` +- **Duration:** `0.000201` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.0003613360458984971 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00020063691772520542 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +failed +``` +
+ +
+๐Ÿ“Œ Crash + +``` +path: /workspace/tligui_y/slic/tests/test_forth_file.py +lineno: 132 +message: AttributeError: 'tests.test_forth_file' has no attribute 'test_broken_function' +``` +
+ +
+๐Ÿ“Œ Traceback + +``` +path: tests/test_forth_file.py +lineno: 132 +message: AttributeError +``` +
+ +
+๐Ÿ“Œ Longrepr + +``` +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f0182313250> + + def test_broken_function(monkeypatch): + # Simulate broken function raising TypeError + def broken_func(*args, **kwargs): + raise TypeError("Broken function") +> monkeypatch.setattr(__name__, "test_broken_function", broken_func) +E AttributeError: 'tests.test_forth_file' has no attribute 'test_broken_function' + +tests/test_forth_file.py:132: AttributeError +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0008137590484693646 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+ + + +
+โœ… Passed (25) + +
+๐Ÿ“ test_forth_file.py + +
+๐Ÿ”ง Function: `test_call_missing_function` + +
+โœ… #2 + +- **Status:** โœ… `passed` +- **Duration:** `0.000393` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.0002335800090804696 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.0003926289500668645 ```
@@ -691,7 +1007,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003971499390900135 +0.0002344469539821148 ```
@@ -714,7 +1030,7 @@ passed โœ… #3 - **Status:** โœ… `passed` -- **Duration:** `0.000197` s +- **Duration:** `0.000170` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -723,7 +1039,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00021692097652703524 +0.000188387930393219 ```
@@ -742,7 +1058,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019710103515535593 +0.0001696390099823475 ```
@@ -761,7 +1077,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00021280802320688963 +0.00019668310414999723 ```
@@ -784,7 +1100,7 @@ passed โœ… #5 - **Status:** โœ… `passed` -- **Duration:** `0.000225` s +- **Duration:** `0.000197` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -793,7 +1109,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00020572799257934093 +0.00018344202544540167 ``` @@ -812,7 +1128,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00022457796148955822 +0.00019724806770682335 ``` @@ -831,7 +1147,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00021777302026748657 +0.000206297030672431 ``` @@ -854,7 +1170,7 @@ passed โœ… #8 - **Status:** โœ… `passed` -- **Duration:** `0.000227` s +- **Duration:** `0.000199` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -863,7 +1179,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002494590589776635 +0.0001786960056051612 ``` @@ -882,7 +1198,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002271789126098156 +0.00019910698756575584 ``` @@ -901,7 +1217,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002313009463250637 +0.00019047199748456478 ``` @@ -924,7 +1240,7 @@ passed โœ… #9 - **Status:** โœ… `passed` -- **Duration:** `0.000189` s +- **Duration:** `0.000183` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -933,7 +1249,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00019633700139820576 +0.00018285890109837055 ``` @@ -952,7 +1268,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018933298997581005 +0.00018316600471735 ``` @@ -971,7 +1287,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001993790501728654 +0.00018987699877470732 ``` @@ -994,7 +1310,7 @@ passed โœ… #10 - **Status:** โœ… `passed` -- **Duration:** `0.001046` s +- **Duration:** `0.000945` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1003,7 +1319,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018623308278620243 +0.00017388199921697378 ``` @@ -1022,7 +1338,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0010463409125804901 +0.0009453559760004282 ``` @@ -1041,7 +1357,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00022575806360691786 +0.00020230899099260569 ``` @@ -1064,7 +1380,7 @@ passed โœ… #11 - **Status:** โœ… `passed` -- **Duration:** `0.000306` s +- **Duration:** `0.000177` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1073,7 +1389,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002039320534095168 +0.00017708598170429468 ``` @@ -1092,7 +1408,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003056050045415759 +0.0001771509414538741 ``` @@ -1111,7 +1427,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002721439814195037 +0.00018952402751892805 ``` @@ -1134,7 +1450,7 @@ passed โœ… #12 - **Status:** โœ… `passed` -- **Duration:** `0.000198` s +- **Duration:** `0.000180` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1143,7 +1459,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00018194399308413267 +0.00017261598259210587 ``` @@ -1162,7 +1478,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0001976420171558857 +0.00018002197612076998 ``` @@ -1181,7 +1497,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00020974292419850826 +0.0002023288980126381 ``` @@ -1204,7 +1520,7 @@ passed โœ… #13 - **Status:** โœ… `passed` -- **Duration:** `0.000311` s +- **Duration:** `0.000182` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1213,7 +1529,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002657750155776739 +0.0001635539811104536 ``` @@ -1232,7 +1548,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003109739627689123 +0.00018231908325105906 ``` @@ -1251,7 +1567,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003344969591125846 +0.00019180495291948318 ``` @@ -1274,7 +1590,7 @@ passed โœ… #14 - **Status:** โœ… `passed` -- **Duration:** `0.000263` s +- **Duration:** `0.000185` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1283,7 +1599,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00027781003154814243 +0.0001626800512894988 ``` @@ -1302,7 +1618,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0002632120158523321 +0.00018513097893446684 ``` @@ -1321,7 +1637,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003281719982624054 +0.00020690006203949451 ``` @@ -1344,7 +1660,7 @@ passed โœ… #16 - **Status:** โœ… `passed` -- **Duration:** `0.000348` s +- **Duration:** `0.000194` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1353,7 +1669,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00037020002491772175 +0.0001877150498330593 ``` @@ -1372,7 +1688,7 @@ passed ๐Ÿ“Œ Duration ``` -0.0003478738944977522 +0.00019354501273483038 ``` @@ -1391,7 +1707,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00035355298314243555 +0.0001978680957108736 ``` @@ -1408,13 +1724,13 @@ passed
-๐Ÿ”ง Function: `test_keyboard_interrupt_direct` +๐Ÿ”ง Function: `test_malformed_code`
-โœ… #18 +โœ… #20 - **Status:** โœ… `passed` -- **Duration:** `None` +- **Duration:** `0.000217` s - **Severity:** `normal` ### ๐Ÿ”ง Setup Phase @@ -1423,49 +1739,7 @@ passed ๐Ÿ“Œ Duration ``` -0.00026710901875048876 -``` -
- -
-๐Ÿ“Œ Outcome - -``` -passed -``` -
- -
- - - - - - - -
-โŒ Xfailed (1) - -
-๐Ÿ“ test_forth_file.py - -
-๐Ÿ”ง Function: `test_multiply_xfail` - -
-โŒ #6 - -- **Status:** โŒ `xfailed` -- **Duration:** `0.000392` s -- **Severity:** `normal` - -### ๐Ÿ”ง Setup Phase - -
-๐Ÿ“Œ Duration - -``` -0.0002807640703395009 +0.00020879600197076797 ```
@@ -1484,7 +1758,1012 @@ passed ๐Ÿ“Œ Duration ``` -0.0003923960030078888 +0.0002170410007238388 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0002087100874632597 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_sys_exit` + +
+โœ… #21 + +- **Status:** โœ… `passed` +- **Duration:** `0.000223` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.00040942791383713484 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.0002232069382444024 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0006739639211446047 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_import_error_patch` + +
+โœ… #23 + +- **Status:** โœ… `passed` +- **Duration:** `0.000244` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.000414495007134974 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00024421093985438347 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0006829900667071342 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_module_not_found_error` + +
+โœ… #24 + +- **Status:** โœ… `passed` +- **Duration:** `0.000499` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.0001858629984781146 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.0004987800493836403 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.000213495921343565 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+ +
+๐Ÿ“ test_io_utils.py + +
+๐Ÿ”ง Function: `test_read_file` + +
+โœ… #25 + +- **Status:** โœ… `passed` +- **Duration:** `0.000450` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.003936559078283608 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00045023299753665924 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0006950490642338991 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_write_file` + +
+โœ… #26 + +- **Status:** โœ… `passed` +- **Duration:** `0.000351` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.000665029976516962 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.0003509699599817395 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0006303070113062859 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+ +
+๐Ÿ“ test_math_utils.py + +
+๐Ÿ”ง Function: `test_addition_pass` + +
+โœ… #27 + +- **Status:** โœ… `passed` +- **Duration:** `0.000176` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.00018750096205621958 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.0001757349818944931 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.00019387505017220974 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+ +
+๐Ÿ“ test_string_utils.py + +
+๐Ÿ”ง Function: `test_uppercase_normal` + +
+โœ… #28 + +- **Status:** โœ… `passed` +- **Duration:** `0.000162` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.0001893569715321064 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00016156898345798254 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.00018764310516417027 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_uppercase_type_error` + +
+โœ… #29 + +- **Status:** โœ… `passed` +- **Duration:** `0.000197` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.00016569101717323065 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00019672303460538387 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.00018909189384430647 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_reverse_string` + +
+โœ… #30 + +- **Status:** โœ… `passed` +- **Duration:** `0.000156` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.0001736240228638053 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00015557289589196444 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.00018560199532657862 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_warning_emit` + +
+โœ… #31 + +- **Status:** โœ… `passed` +- **Duration:** `0.000196` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.00019038806203752756 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00019591697491705418 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.00020914396736770868 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_unicode_decode_error` + +
+โœ… #32 + +- **Status:** โœ… `passed` +- **Duration:** `0.000188` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.00017341203056275845 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00018773297779262066 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.00019404198974370956 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_unicode_decode_surrogateescape` + +
+โœ… #33 + +- **Status:** โœ… `passed` +- **Duration:** `0.000179` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.00016642094124108553 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00017920800019055605 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.00019590905867516994 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+๐Ÿ”ง Function: `test_import_warning` + +
+โœ… #34 + +- **Status:** โœ… `passed` +- **Duration:** `0.000176` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.00017425802070647478 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.00017647992353886366 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0002052009804174304 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+ + + +
+โŒ Xfailed (2) + +
+๐Ÿ“ test_forth_file.py + +
+๐Ÿ”ง Function: `test_multiply_xfail` + +
+โŒ #6 + +- **Status:** โŒ `xfailed` +- **Duration:** `0.000301` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.0001995039638131857 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.0003012629458680749 ```
@@ -1539,7 +2818,124 @@ tests/test_forth_file.py:39: AssertionError ๐Ÿ“Œ Duration ``` -0.00034274288918823004 +0.00025164498947560787 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ +
+ +
+ +
+ +
+๐Ÿ“ test_string_utils.py + +
+๐Ÿ”ง Function: `test_xfail_uppercase_digits` + +
+โŒ #35 + +- **Status:** โŒ `xfailed` +- **Duration:** `0.000704` s +- **Severity:** `normal` + +### ๐Ÿ”ง Setup Phase + +
+๐Ÿ“Œ Duration + +``` +0.00018081197049468756 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +passed +``` +
+ + +### ๐Ÿ”ง Call Phase + +
+๐Ÿ“Œ Duration + +``` +0.0007043529767543077 +``` +
+ +
+๐Ÿ“Œ Outcome + +``` +skipped +``` +
+ +
+๐Ÿ“Œ Crash + +``` +path: /workspace/tligui_y/slic/tests/test_string_utils.py +lineno: 51 +message: AssertionError: assert 'ABC123' == 'ABC1234' + + - ABC1234 + ? - + + ABC123 +``` +
+ +
+๐Ÿ“Œ Traceback + +``` +path: tests/test_string_utils.py +lineno: 51 +message: AssertionError +``` +
+ +
+๐Ÿ“Œ Longrepr + +``` +@pytest.mark.xfail(reason="Expected failure: uppercase does not handle digits") + def test_xfail_uppercase_digits(): + # Expected fail test because uppercase won't change digits +> assert uppercase("abc123") == "ABC1234" +E AssertionError: assert 'ABC123' == 'ABC1234' +E +E - ABC1234 +E ? - +E + ABC123 + +tests/test_string_utils.py:51: AssertionError +``` +
+ + +### ๐Ÿ”ง Teardown Phase + +
+๐Ÿ“Œ Duration + +``` +0.0006655260222032666 ```
@@ -1778,9 +3174,9 @@ result: nodeid: tests/test_forth_file.py::test_stop_iteration_direct type: Function lineno: 90 - nodeid: tests/test_forth_file.py::test_keyboard_interrupt_direct + nodeid: tests/test_forth_file.py::test_generator_exit_direct type: Function - lineno: 100 + lineno: 94 nodeid: tests/test_forth_file.py::test_recursion_limit type: Function lineno: 104 diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index 05d2e4e9..dc954c7b 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752501283.4367847, "duration": 0.4933323860168457, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"failed": 5, "passed": 12, "xfailed": 1, "total": 18, "collected": 35}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "passed", "result": []}, {"nodeid": "tests/test_collector_error.py", "outcome": "passed", "result": []}, {"nodeid": "tests/test_forth_file.py", "outcome": "passed", "result": [{"nodeid": "tests/test_forth_file.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_forth_file.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_forth_file.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_forth_file.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_forth_file.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_forth_file.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_forth_file.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_forth_file.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_forth_file.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_forth_file.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_forth_file.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_forth_file.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_forth_file.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_forth_file.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_forth_file.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_forth_file.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_forth_file.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_forth_file.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_forth_file.py::test_recursion_limit", "type": "Function", "lineno": 104}, {"nodeid": "tests/test_forth_file.py::test_malformed_code", "type": "Function", "lineno": 114}, {"nodeid": "tests/test_forth_file.py::test_sys_exit", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_forth_file.py::test_broken_function", "type": "Function", "lineno": 127}, {"nodeid": "tests/test_forth_file.py::test_import_error_patch", "type": "Function", "lineno": 135}, {"nodeid": "tests/test_forth_file.py::test_module_not_found_error", "type": "Function", "lineno": 146}]}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 47}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_forth_file.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Package"}]}], "tests": [{"nodeid": "tests/test_forth_file.py::test_broken", "lineno": 13, "outcome": "failed", "keywords": ["test_broken", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0007421030895784497, "outcome": "passed"}, "call": {"duration": 0.0002392960013821721, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 16, "message": "NameError: name 'want_the_test_to_fail' is not defined"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 16, "message": "NameError"}], "longrepr": "def test_broken():\n # simulating a broken or faulty test implementation that will cause the test to error\n> want_the_test_to_fail\nE NameError: name 'want_the_test_to_fail' is not defined\n\ntests/test_forth_file.py:16: NameError"}, "teardown": {"duration": 0.0007418409222736955, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_call_missing_function", "lineno": 17, "outcome": "passed", "keywords": ["test_call_missing_function", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00032268406357616186, "outcome": "passed"}, "call": {"duration": 0.00041561201214790344, "outcome": "passed"}, "teardown": {"duration": 0.0003971499390900135, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_addition_pass", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00021692097652703524, "outcome": "passed"}, "call": {"duration": 0.00019710103515535593, "outcome": "passed"}, "teardown": {"duration": 0.00021280802320688963, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_addition_fail", "lineno": 26, "outcome": "failed", "keywords": ["test_addition_fail", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018483505118638277, "outcome": "passed"}, "call": {"duration": 0.0005662870826199651, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 29, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 29, "message": "AssertionError"}], "longrepr": "def test_addition_fail():\n # Assertion failure: expected incorrect result\n> assert addition(2, 2) == 5\nE assert 4 == 5\nE + where 4 = addition(2, 2)\n\ntests/test_forth_file.py:29: AssertionError"}, "teardown": {"duration": 0.0002615350531414151, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_division_zero", "lineno": 30, "outcome": "passed", "keywords": ["test_division_zero", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00020572799257934093, "outcome": "passed"}, "call": {"duration": 0.00022457796148955822, "outcome": "passed"}, "teardown": {"duration": 0.00021777302026748657, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_multiply_xfail", "lineno": 35, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0002807640703395009, "outcome": "passed"}, "call": {"duration": 0.0003923960030078888, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 39, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure\")\n def test_multiply_xfail():\n # Expected fail test (xfail): incorrect expected multiply result\n> assert multiply(2, 2) == 5\nE assert 4 == 5\nE + where 4 = multiply(2, 2)\n\ntests/test_forth_file.py:39: AssertionError"}, "teardown": {"duration": 0.00034274288918823004, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_runtime_error", "lineno": 40, "outcome": "failed", "keywords": ["test_runtime_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00028062600176781416, "outcome": "passed"}, "call": {"duration": 0.00020784803200513124, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 43, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 43, "message": "RuntimeError"}], "longrepr": "def test_runtime_error():\n # Test raises an uncaught RuntimeError\n> raise RuntimeError(\"Forced runtime error\")\nE RuntimeError: Forced runtime error\n\ntests/test_forth_file.py:43: RuntimeError"}, "teardown": {"duration": 0.0005093610379844904, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_memory_error", "lineno": 44, "outcome": "passed", "keywords": ["test_memory_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0002494590589776635, "outcome": "passed"}, "call": {"duration": 0.0002271789126098156, "outcome": "passed"}, "teardown": {"duration": 0.0002313009463250637, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_timeout_error", "lineno": 49, "outcome": "passed", "keywords": ["test_timeout_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00019633700139820576, "outcome": "passed"}, "call": {"duration": 0.00018933298997581005, "outcome": "passed"}, "teardown": {"duration": 0.0001993790501728654, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_recursion_error", "lineno": 54, "outcome": "passed", "keywords": ["test_recursion_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018623308278620243, "outcome": "passed"}, "call": {"duration": 0.0010463409125804901, "outcome": "passed"}, "teardown": {"duration": 0.00022575806360691786, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_floating_point_error", "lineno": 61, "outcome": "passed", "keywords": ["test_floating_point_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0002039320534095168, "outcome": "passed"}, "call": {"duration": 0.0003056050045415759, "outcome": "passed"}, "teardown": {"duration": 0.0002721439814195037, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_floating_point_overflow", "lineno": 66, "outcome": "passed", "keywords": ["test_floating_point_overflow", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018194399308413267, "outcome": "passed"}, "call": {"duration": 0.0001976420171558857, "outcome": "passed"}, "teardown": {"duration": 0.00020974292419850826, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_value_error", "lineno": 71, "outcome": "passed", "keywords": ["test_value_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0002657750155776739, "outcome": "passed"}, "call": {"duration": 0.0003109739627689123, "outcome": "passed"}, "teardown": {"duration": 0.0003344969591125846, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_type_error", "lineno": 76, "outcome": "passed", "keywords": ["test_type_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00027781003154814243, "outcome": "passed"}, "call": {"duration": 0.0002632120158523321, "outcome": "passed"}, "teardown": {"duration": 0.0003281719982624054, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_unhandled_exception", "lineno": 81, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0002813199535012245, "outcome": "passed"}, "call": {"duration": 0.0003023820463567972, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 84, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 84, "message": "Exception"}], "longrepr": "def test_unhandled_exception():\n # Raises generic unhandled Exception\n> raise Exception(\"Generic unhandled exception\")\nE Exception: Generic unhandled exception\n\ntests/test_forth_file.py:84: Exception"}, "teardown": {"duration": 0.0005011290777474642, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_custom_error", "lineno": 85, "outcome": "passed", "keywords": ["test_custom_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00037020002491772175, "outcome": "passed"}, "call": {"duration": 0.0003478738944977522, "outcome": "passed"}, "teardown": {"duration": 0.00035355298314243555, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_stop_iteration_direct", "lineno": 90, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00030014500953257084, "outcome": "passed"}, "call": {"duration": 0.00029993196949362755, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError: generator raised StopIteration"}, "traceback": [{"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 341, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 242, "message": "in "}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py", "lineno": 513, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py", "lineno": 120, "message": "in _hookexec"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py", "lineno": 92, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py", "lineno": 68, "message": "in thread_exception_runtest_hook"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py", "lineno": 95, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py", "lineno": 70, "message": "in unraisable_exception_runtest_hook"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py", "lineno": 846, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py", "lineno": 829, "message": "in _runtest_for"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError"}], "longrepr": "def test_stop_iteration_direct():\n # Directly raise StopIteration exception\n> raise StopIteration()\nE StopIteration\n\ntests/test_forth_file.py:93: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7ff0f024bc10>\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.0004487080732360482, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_keyboard_interrupt_direct", "lineno": 100, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00026710901875048876, "outcome": "passed"}}]} \ No newline at end of file +{"created": 1752501390.5960822, "duration": 0.27726054191589355, "exitcode": 1, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"failed": 8, "passed": 25, "xfailed": 2, "total": 35, "collected": 35}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "allure-results", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "functions", "outcome": "passed", "result": []}, {"nodeid": "tests/test_broken_fct.py", "outcome": "passed", "result": []}, {"nodeid": "tests/test_collector_error.py", "outcome": "passed", "result": []}, {"nodeid": "tests/test_forth_file.py", "outcome": "passed", "result": [{"nodeid": "tests/test_forth_file.py::test_broken", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_forth_file.py::test_call_missing_function", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_forth_file.py::test_addition_pass", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_forth_file.py::test_addition_fail", "type": "Function", "lineno": 26}, {"nodeid": "tests/test_forth_file.py::test_division_zero", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_forth_file.py::test_multiply_xfail", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_forth_file.py::test_runtime_error", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_forth_file.py::test_memory_error", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_forth_file.py::test_timeout_error", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_forth_file.py::test_recursion_error", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_forth_file.py::test_floating_point_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_forth_file.py::test_floating_point_overflow", "type": "Function", "lineno": 66}, {"nodeid": "tests/test_forth_file.py::test_value_error", "type": "Function", "lineno": 71}, {"nodeid": "tests/test_forth_file.py::test_type_error", "type": "Function", "lineno": 76}, {"nodeid": "tests/test_forth_file.py::test_unhandled_exception", "type": "Function", "lineno": 81}, {"nodeid": "tests/test_forth_file.py::test_custom_error", "type": "Function", "lineno": 85}, {"nodeid": "tests/test_forth_file.py::test_stop_iteration_direct", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_forth_file.py::test_generator_exit_direct", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_forth_file.py::test_recursion_limit", "type": "Function", "lineno": 104}, {"nodeid": "tests/test_forth_file.py::test_malformed_code", "type": "Function", "lineno": 114}, {"nodeid": "tests/test_forth_file.py::test_sys_exit", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_forth_file.py::test_broken_function", "type": "Function", "lineno": 127}, {"nodeid": "tests/test_forth_file.py::test_import_error_patch", "type": "Function", "lineno": 135}, {"nodeid": "tests/test_forth_file.py::test_module_not_found_error", "type": "Function", "lineno": 146}]}, {"nodeid": "tests/test_io_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_io_utils.py::test_read_file", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_io_utils.py::test_write_file", "type": "Function", "lineno": 16}]}, {"nodeid": "tests/test_math_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_math_utils.py::test_addition_pass", "type": "Function", "lineno": 22}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 7}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 16}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 20}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 30}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 47}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_broken_fct.py", "type": "Module"}, {"nodeid": "tests/test_collector_error.py", "type": "Module"}, {"nodeid": "tests/test_forth_file.py", "type": "Module"}, {"nodeid": "tests/test_io_utils.py", "type": "Module"}, {"nodeid": "tests/test_math_utils.py", "type": "Module"}, {"nodeid": "tests/test_string_utils.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "allure-results", "type": "Dir"}, {"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "functions", "type": "Package"}, {"nodeid": "tests", "type": "Package"}]}], "tests": [{"nodeid": "tests/test_forth_file.py::test_broken", "lineno": 13, "outcome": "failed", "keywords": ["test_broken", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0007083449745550752, "outcome": "passed"}, "call": {"duration": 0.00025121704675257206, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 16, "message": "NameError: name 'want_the_test_to_fail' is not defined"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 16, "message": "NameError"}], "longrepr": "def test_broken():\n # simulating a broken or faulty test implementation that will cause the test to error\n> want_the_test_to_fail\nE NameError: name 'want_the_test_to_fail' is not defined\n\ntests/test_forth_file.py:16: NameError"}, "teardown": {"duration": 0.0004370489623397589, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_call_missing_function", "lineno": 17, "outcome": "passed", "keywords": ["test_call_missing_function", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0002335800090804696, "outcome": "passed"}, "call": {"duration": 0.0003926289500668645, "outcome": "passed"}, "teardown": {"duration": 0.0002344469539821148, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_addition_pass", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.000188387930393219, "outcome": "passed"}, "call": {"duration": 0.0001696390099823475, "outcome": "passed"}, "teardown": {"duration": 0.00019668310414999723, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_addition_fail", "lineno": 26, "outcome": "failed", "keywords": ["test_addition_fail", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001816960284486413, "outcome": "passed"}, "call": {"duration": 0.000559022999368608, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 29, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 29, "message": "AssertionError"}], "longrepr": "def test_addition_fail():\n # Assertion failure: expected incorrect result\n> assert addition(2, 2) == 5\nE assert 4 == 5\nE + where 4 = addition(2, 2)\n\ntests/test_forth_file.py:29: AssertionError"}, "teardown": {"duration": 0.0002422030083835125, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_division_zero", "lineno": 30, "outcome": "passed", "keywords": ["test_division_zero", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018344202544540167, "outcome": "passed"}, "call": {"duration": 0.00019724806770682335, "outcome": "passed"}, "teardown": {"duration": 0.000206297030672431, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_multiply_xfail", "lineno": 35, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001995039638131857, "outcome": "passed"}, "call": {"duration": 0.0003012629458680749, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 39, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure\")\n def test_multiply_xfail():\n # Expected fail test (xfail): incorrect expected multiply result\n> assert multiply(2, 2) == 5\nE assert 4 == 5\nE + where 4 = multiply(2, 2)\n\ntests/test_forth_file.py:39: AssertionError"}, "teardown": {"duration": 0.00025164498947560787, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_runtime_error", "lineno": 40, "outcome": "failed", "keywords": ["test_runtime_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018934893887490034, "outcome": "passed"}, "call": {"duration": 0.00017291191034018993, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 43, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 43, "message": "RuntimeError"}], "longrepr": "def test_runtime_error():\n # Test raises an uncaught RuntimeError\n> raise RuntimeError(\"Forced runtime error\")\nE RuntimeError: Forced runtime error\n\ntests/test_forth_file.py:43: RuntimeError"}, "teardown": {"duration": 0.00023302598856389523, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_memory_error", "lineno": 44, "outcome": "passed", "keywords": ["test_memory_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001786960056051612, "outcome": "passed"}, "call": {"duration": 0.00019910698756575584, "outcome": "passed"}, "teardown": {"duration": 0.00019047199748456478, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_timeout_error", "lineno": 49, "outcome": "passed", "keywords": ["test_timeout_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018285890109837055, "outcome": "passed"}, "call": {"duration": 0.00018316600471735, "outcome": "passed"}, "teardown": {"duration": 0.00018987699877470732, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_recursion_error", "lineno": 54, "outcome": "passed", "keywords": ["test_recursion_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00017388199921697378, "outcome": "passed"}, "call": {"duration": 0.0009453559760004282, "outcome": "passed"}, "teardown": {"duration": 0.00020230899099260569, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_floating_point_error", "lineno": 61, "outcome": "passed", "keywords": ["test_floating_point_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00017708598170429468, "outcome": "passed"}, "call": {"duration": 0.0001771509414538741, "outcome": "passed"}, "teardown": {"duration": 0.00018952402751892805, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_floating_point_overflow", "lineno": 66, "outcome": "passed", "keywords": ["test_floating_point_overflow", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00017261598259210587, "outcome": "passed"}, "call": {"duration": 0.00018002197612076998, "outcome": "passed"}, "teardown": {"duration": 0.0002023288980126381, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_value_error", "lineno": 71, "outcome": "passed", "keywords": ["test_value_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001635539811104536, "outcome": "passed"}, "call": {"duration": 0.00018231908325105906, "outcome": "passed"}, "teardown": {"duration": 0.00019180495291948318, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_type_error", "lineno": 76, "outcome": "passed", "keywords": ["test_type_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001626800512894988, "outcome": "passed"}, "call": {"duration": 0.00018513097893446684, "outcome": "passed"}, "teardown": {"duration": 0.00020690006203949451, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_unhandled_exception", "lineno": 81, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00016556400805711746, "outcome": "passed"}, "call": {"duration": 0.0001733150565996766, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 84, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 84, "message": "Exception"}], "longrepr": "def test_unhandled_exception():\n # Raises generic unhandled Exception\n> raise Exception(\"Generic unhandled exception\")\nE Exception: Generic unhandled exception\n\ntests/test_forth_file.py:84: Exception"}, "teardown": {"duration": 0.00023452099412679672, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_custom_error", "lineno": 85, "outcome": "passed", "keywords": ["test_custom_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001877150498330593, "outcome": "passed"}, "call": {"duration": 0.00019354501273483038, "outcome": "passed"}, "teardown": {"duration": 0.0001978680957108736, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_stop_iteration_direct", "lineno": 90, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00018919899594038725, "outcome": "passed"}, "call": {"duration": 0.00017331598792225122, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError: generator raised StopIteration"}, "traceback": [{"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 341, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py", "lineno": 242, "message": "in "}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py", "lineno": 513, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py", "lineno": 120, "message": "in _hookexec"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py", "lineno": 92, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py", "lineno": 68, "message": "in thread_exception_runtest_hook"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py", "lineno": 95, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py", "lineno": 70, "message": "in unraisable_exception_runtest_hook"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py", "lineno": 846, "message": "in pytest_runtest_call"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py", "lineno": 829, "message": "in _runtest_for"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py", "lineno": 880, "message": "RuntimeError"}], "longrepr": "def test_stop_iteration_direct():\n # Directly raise StopIteration exception\n> raise StopIteration()\nE StopIteration\n\ntests/test_forth_file.py:93: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f0182577c10>\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.00042587006464600563, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_generator_exit_direct", "lineno": 94, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0002655079588294029, "outcome": "passed"}, "call": {"duration": 0.00021340290550142527, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 97, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 97, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_forth_file.py:97: GeneratorExit"}, "teardown": {"duration": 0.0002864260459318757, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_recursion_limit", "lineno": 104, "outcome": "failed", "keywords": ["test_recursion_limit", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0007916189497336745, "outcome": "passed"}, "call": {"duration": 0.0002237670123577118, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 108, "message": "RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 108, "message": "RecursionError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f0184b134f0>\n\n def test_recursion_limit(monkeypatch):\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_forth_file.py:108: RecursionError"}, "teardown": {"duration": 0.0008754680166020989, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_malformed_code", "lineno": 114, "outcome": "passed", "keywords": ["test_malformed_code", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00020879600197076797, "outcome": "passed"}, "call": {"duration": 0.0002170410007238388, "outcome": "passed"}, "teardown": {"duration": 0.0002087100874632597, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_sys_exit", "lineno": 119, "outcome": "passed", "keywords": ["test_sys_exit", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.00040942791383713484, "outcome": "passed"}, "call": {"duration": 0.0002232069382444024, "outcome": "passed"}, "teardown": {"duration": 0.0006739639211446047, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_broken_function", "lineno": 127, "outcome": "failed", "keywords": ["test_broken_function", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0003613360458984971, "outcome": "passed"}, "call": {"duration": 0.00020063691772520542, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_forth_file.py", "lineno": 132, "message": "AttributeError: 'tests.test_forth_file' has no attribute 'test_broken_function'"}, "traceback": [{"path": "tests/test_forth_file.py", "lineno": 132, "message": "AttributeError"}], "longrepr": "monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f0182313250>\n\n def test_broken_function(monkeypatch):\n # Simulate broken function raising TypeError\n def broken_func(*args, **kwargs):\n raise TypeError(\"Broken function\")\n> monkeypatch.setattr(__name__, \"test_broken_function\", broken_func)\nE AttributeError: 'tests.test_forth_file' has no attribute 'test_broken_function'\n\ntests/test_forth_file.py:132: AttributeError"}, "teardown": {"duration": 0.0008137590484693646, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_import_error_patch", "lineno": 135, "outcome": "passed", "keywords": ["test_import_error_patch", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.000414495007134974, "outcome": "passed"}, "call": {"duration": 0.00024421093985438347, "outcome": "passed"}, "teardown": {"duration": 0.0006829900667071342, "outcome": "passed"}}, {"nodeid": "tests/test_forth_file.py::test_module_not_found_error", "lineno": 146, "outcome": "passed", "keywords": ["test_module_not_found_error", "test_forth_file.py", "tests", "slic", ""], "setup": {"duration": 0.0001858629984781146, "outcome": "passed"}, "call": {"duration": 0.0004987800493836403, "outcome": "passed"}, "teardown": {"duration": 0.000213495921343565, "outcome": "passed"}}, {"nodeid": "tests/test_io_utils.py::test_read_file", "lineno": 9, "outcome": "passed", "keywords": ["test_read_file", "test_io_utils.py", "tests", "slic", ""], "setup": {"duration": 0.003936559078283608, "outcome": "passed"}, "call": {"duration": 0.00045023299753665924, "outcome": "passed"}, "teardown": {"duration": 0.0006950490642338991, "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.000665029976516962, "outcome": "passed"}, "call": {"duration": 0.0003509699599817395, "outcome": "passed"}, "teardown": {"duration": 0.0006303070113062859, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018750096205621958, "outcome": "passed"}, "call": {"duration": 0.0001757349818944931, "outcome": "passed"}, "teardown": {"duration": 0.00019387505017220974, "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.0001893569715321064, "outcome": "passed"}, "call": {"duration": 0.00016156898345798254, "outcome": "passed"}, "teardown": {"duration": 0.00018764310516417027, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "lineno": 11, "outcome": "passed", "keywords": ["test_uppercase_type_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00016569101717323065, "outcome": "passed"}, "call": {"duration": 0.00019672303460538387, "outcome": "passed"}, "teardown": {"duration": 0.00018909189384430647, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "lineno": 16, "outcome": "passed", "keywords": ["test_reverse_string", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001736240228638053, "outcome": "passed"}, "call": {"duration": 0.00015557289589196444, "outcome": "passed"}, "teardown": {"duration": 0.00018560199532657862, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "lineno": 20, "outcome": "passed", "keywords": ["test_warning_emit", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00019038806203752756, "outcome": "passed"}, "call": {"duration": 0.00019591697491705418, "outcome": "passed"}, "teardown": {"duration": 0.00020914396736770868, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 30, "outcome": "passed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017341203056275845, "outcome": "passed"}, "call": {"duration": 0.00018773297779262066, "outcome": "passed"}, "teardown": {"duration": 0.00019404198974370956, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "lineno": 35, "outcome": "passed", "keywords": ["test_unicode_decode_surrogateescape", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00016642094124108553, "outcome": "passed"}, "call": {"duration": 0.00017920800019055605, "outcome": "passed"}, "teardown": {"duration": 0.00019590905867516994, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "lineno": 40, "outcome": "passed", "keywords": ["test_import_warning", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017425802070647478, "outcome": "passed"}, "call": {"duration": 0.00017647992353886366, "outcome": "passed"}, "teardown": {"duration": 0.0002052009804174304, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "lineno": 47, "outcome": "xfailed", "keywords": ["test_xfail_uppercase_digits", "xfail", "pytestmark", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00018081197049468756, "outcome": "passed"}, "call": {"duration": 0.0007043529767543077, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 51, "message": "AssertionError: assert 'ABC123' == 'ABC1234'\n \n - ABC1234\n ? -\n + ABC123"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 51, "message": "AssertionError"}], "longrepr": "@pytest.mark.xfail(reason=\"Expected failure: uppercase does not handle digits\")\n def test_xfail_uppercase_digits():\n # Expected fail test because uppercase won't change digits\n> assert uppercase(\"abc123\") == \"ABC1234\"\nE AssertionError: assert 'ABC123' == 'ABC1234'\nE \nE - ABC1234\nE ? -\nE + ABC123\n\ntests/test_string_utils.py:51: AssertionError"}, "teardown": {"duration": 0.0006655260222032666, "outcome": "passed"}}], "warnings": [{"message": "Test warning", "category": "UserWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 23}]} \ No newline at end of file