From f9cf9f8a7fab74aa046dde12d66e67cb73f79eb4 Mon Sep 17 00:00:00 2001 From: ci-bot Date: Tue, 15 Jul 2025 14:00:05 +0000 Subject: [PATCH] CI: update test report and coverage files --- ci-reports/markdown/TEST-REPORT.md | 604 ++++++++++++------------ ci-reports/markdown/pytest-report.json | 2 +- ci-reports/markdown/raw-test-output.log | 64 +-- 3 files changed, 335 insertions(+), 335 deletions(-) diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 91378c669..1cc409787 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -48,7 +48,7 @@ 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, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.75s ========= +======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s ========= ``` @@ -59,7 +59,7 @@ ERROR tests/test_collector_error.py ============================= test session starts ============================== platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 rootdir: /workspace/tligui_y/slic -plugins: allure-pytest-2.13.5, cov-5.0.0, html-4.1.1, metadata-3.1.1, json-report-1.5.0, md-report-0.6.2 +plugins: metadata-3.1.1, html-4.1.1, cov-5.0.0, allure-pytest-2.13.5, md-report-0.6.2, json-report-1.5.0 collected 50 items / 2 errors tests/test_io_utils.py ..FFFFFF.F @@ -134,7 +134,7 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.fil functions/io_utils.py:2: FileNotFoundError ____________________________ test_permission_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f03013c15b0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc781160> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -158,7 +158,7 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError _____________________________ test_mock_open_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f03013ca8b0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc4972b0> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -175,7 +175,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): @@ -201,7 +201,7 @@ E ValueError: I/O operation on closed file tests/test_io_utils.py:50: ValueError ________________________________ test_os_error _________________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f02fea9ec70> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc72a730> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -252,14 +252,14 @@ ______________________________ test_addition_fail ______________________________ E assert 4 == 5 E + where 4 = addition(2, 2) -tests/test_math_utils.py:50: AssertionError +tests/test_math_utils.py:51: AssertionError ______________________________ test_division_zero ______________________________ def test_division_zero(): # Will raise ZeroDivisionError if not handled in division > division(1, 0) -tests/test_math_utils.py:54: +tests/test_math_utils.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = 1, b = 0 @@ -276,7 +276,7 @@ ______________________________ test_runtime_error ______________________________ > raise RuntimeError("Forced runtime error") E RuntimeError: Forced runtime error -tests/test_math_utils.py:63: RuntimeError +tests/test_math_utils.py:64: RuntimeError ______________________________ test_memory_error _______________________________ def test_memory_error(): @@ -284,7 +284,7 @@ ______________________________ test_memory_error _______________________________ > raise MemoryError("Simulated memory error") E MemoryError: Simulated memory error -tests/test_math_utils.py:67: MemoryError +tests/test_math_utils.py:68: MemoryError ______________________________ test_timeout_error ______________________________ def test_timeout_error(): @@ -292,7 +292,7 @@ ______________________________ test_timeout_error ______________________________ > raise TimeoutError("Simulated timeout error") E TimeoutError: Simulated timeout error -tests/test_math_utils.py:71: TimeoutError +tests/test_math_utils.py:72: TimeoutError _____________________________ test_recursion_error _____________________________ def test_recursion_error(): @@ -301,11 +301,11 @@ _____________________________ test_recursion_error _____________________________ return recursive() > recursive() -tests/test_math_utils.py:77: +tests/test_math_utils.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -tests/test_math_utils.py:76: in recursive +tests/test_math_utils.py:77: in recursive return recursive() -tests/test_math_utils.py:76: in recursive +tests/test_math_utils.py:77: in recursive return recursive() E RecursionError: maximum recursion depth exceeded !!! Recursion detected (same locals & position) @@ -316,7 +316,7 @@ __________________________ test_floating_point_error ___________________________ > raise FloatingPointError("Simulated floating point error") E FloatingPointError: Simulated floating point error -tests/test_math_utils.py:81: FloatingPointError +tests/test_math_utils.py:82: FloatingPointError _________________________ test_floating_point_overflow _________________________ def test_floating_point_overflow(): @@ -324,7 +324,7 @@ _________________________ test_floating_point_overflow _________________________ > math.exp(1000) E OverflowError: math range error -tests/test_math_utils.py:85: OverflowError +tests/test_math_utils.py:86: OverflowError _______________________________ test_value_error _______________________________ def test_value_error(): @@ -332,7 +332,7 @@ _______________________________ test_value_error _______________________________ > int("invalid") E ValueError: invalid literal for int() with base 10: 'invalid' -tests/test_math_utils.py:89: ValueError +tests/test_math_utils.py:90: ValueError _______________________________ test_type_error ________________________________ def test_type_error(): @@ -340,7 +340,7 @@ _______________________________ test_type_error ________________________________ > sum(5) E TypeError: 'int' object is not iterable -tests/test_math_utils.py:93: TypeError +tests/test_math_utils.py:94: TypeError ___________________________ test_unhandled_exception ___________________________ def test_unhandled_exception(): @@ -348,7 +348,7 @@ ___________________________ test_unhandled_exception ___________________________ > raise Exception("Generic unhandled exception") E Exception: Generic unhandled exception -tests/test_math_utils.py:97: Exception +tests/test_math_utils.py:98: Exception ______________________________ test_custom_error _______________________________ def test_custom_error(): @@ -356,7 +356,7 @@ ______________________________ test_custom_error _______________________________ > raise CustomError("Custom error simulation") E test_math_utils.CustomError: Custom error simulation -tests/test_math_utils.py:101: CustomError +tests/test_math_utils.py:102: CustomError __________________________ test_stop_iteration_direct __________________________ def test_stop_iteration_direct(): @@ -364,12 +364,12 @@ __________________________ test_stop_iteration_direct __________________________ > raise StopIteration() E StopIteration -tests/test_math_utils.py:105: StopIteration +tests/test_math_utils.py:106: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f030096d9d0> +func = . at 0x7f31dee5e550> when = 'call' reraise = (, ) @@ -436,7 +436,7 @@ __________________________ test_generator_exit_direct __________________________ > raise GeneratorExit() E GeneratorExit -tests/test_math_utils.py:109: GeneratorExit +tests/test_math_utils.py:110: GeneratorExit _____________________________ test_recursion_limit _____________________________ def test_recursion_limit(): @@ -445,7 +445,7 @@ _____________________________ test_recursion_limit _____________________________ > sys.setrecursionlimit(50) E RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low -tests/test_math_utils.py:114: RecursionError +tests/test_math_utils.py:115: RecursionError _____________________________ test_malformed_code ______________________________ def test_malformed_code(): @@ -456,7 +456,7 @@ E def bad(: E ^ E SyntaxError: invalid syntax -tests/test_math_utils.py:124: SyntaxError +tests/test_math_utils.py:125: SyntaxError ________________________________ test_sys_exit _________________________________ def test_sys_exit(): @@ -464,7 +464,7 @@ ________________________________ test_sys_exit _________________________________ > sys.exit(1) E SystemExit: 1 -tests/test_math_utils.py:128: SystemExit +tests/test_math_utils.py:129: SystemExit _____________________________ test_broken_function _____________________________ def test_broken_function(): @@ -473,7 +473,7 @@ _____________________________ test_broken_function _____________________________ raise TypeError("Broken function") > broken_func() -tests/test_math_utils.py:134: +tests/test_math_utils.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (), kwargs = {} @@ -482,7 +482,7 @@ args = (), kwargs = {} > raise TypeError("Broken function") E TypeError: Broken function -tests/test_math_utils.py:133: TypeError +tests/test_math_utils.py:134: TypeError ___________________________ test_import_error_patch ____________________________ def test_import_error_patch(): @@ -497,7 +497,7 @@ ___________________________ test_import_error_patch ____________________________ try: > __import__("fake_module") -tests/test_math_utils.py:146: +tests/test_math_utils.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'fake_module', args = (), kwargs = {} @@ -507,14 +507,14 @@ name = 'fake_module', args = (), kwargs = {} > raise ImportError("Simulated ImportError") E ImportError: Simulated ImportError -tests/test_math_utils.py:141: ImportError +tests/test_math_utils.py:142: ImportError _________________________ test_module_not_found_error __________________________ def test_module_not_found_error(): # Raises ModuleNotFoundError (subclass of ImportError) for missing module > importlib.import_module("non_existent_module_xyz") -tests/test_math_utils.py:152: +tests/test_math_utils.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) @@ -525,7 +525,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -619,14 +619,14 @@ 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, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.75s ========= +======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s ========= ``` --- # ๐Ÿงช Test Report -*Generated on 2025-07-15 13:51:54* +*Generated on 2025-07-15 14:00:05* ## ๐Ÿ“‹ Summary - **Passed**: `16` @@ -634,7 +634,7 @@ ERROR tests/test_collector_error.py - **Xfailed**: `2` - **Total**: `50` - **Collected**: `50` -- **Total Duration**: `0.756`s +- **Total Duration**: `0.743`s ## ๐Ÿ”Ž Tests
@@ -654,7 +654,7 @@ ERROR tests/test_collector_error.py โœ… #1 - **Status:** โœ… `passed` -- **Duration:** `0.000503` s +- **Duration:** `0.000424` s ### ๐Ÿ”ง Setup Phase @@ -663,7 +663,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0036816440988332033` +`0.0033735809847712517` ``` @@ -688,7 +688,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.000503355055116117` +`0.00042359402868896723` ``` @@ -713,7 +713,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0002825219416990876` +`0.0002462459960952401` ``` @@ -747,7 +747,7 @@ ERROR tests/test_collector_error.py โœ… #2 - **Status:** โœ… `passed` -- **Duration:** `0.000286` s +- **Duration:** `0.000287` s ### ๐Ÿ”ง Setup Phase @@ -756,7 +756,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0004970759619027376` +`0.00046941894106566906` ``` @@ -781,7 +781,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00028648192528635263` +`0.0002867040457203984` ``` @@ -806,7 +806,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00015090894885361195` +`0.0001459750346839428` ``` @@ -840,7 +840,7 @@ ERROR tests/test_collector_error.py โœ… #9 - **Status:** โœ… `passed` -- **Duration:** `0.000904` s +- **Duration:** `0.002269` s ### ๐Ÿ”ง Setup Phase @@ -849,7 +849,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0006749160820618272` +`0.0006457470590248704` ``` @@ -874,7 +874,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0009044880280271173` +`0.0022690659388899803` ``` @@ -899,7 +899,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014435395132750273` +`0.0001616560621187091` ``` @@ -941,7 +941,7 @@ ERROR tests/test_collector_error.py โœ… #13 parameters: [2-2-4] - **Status:** โœ… `passed` -- **Duration:** `0.000145` s +- **Duration:** `0.000147` s - **Parameters:** `2-2-4` ### ๐Ÿ”ง Setup Phase @@ -951,7 +951,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00030277902260422707` +`0.0002823648974299431` ``` @@ -976,7 +976,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014513707719743252` +`0.0001466450048610568` ``` @@ -1001,7 +1001,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014051096513867378` +`0.00014970102347433567` ``` @@ -1027,7 +1027,7 @@ ERROR tests/test_collector_error.py โœ… #14 parameters: [1-5-6] - **Status:** โœ… `passed` -- **Duration:** `0.000130` s +- **Duration:** `0.000131` s - **Parameters:** `1-5-6` ### ๐Ÿ”ง Setup Phase @@ -1037,7 +1037,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0002525770105421543` +`0.00024374201893806458` ``` @@ -1062,7 +1062,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001303229946643114` +`0.00013089796993881464` ``` @@ -1087,7 +1087,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014770799316465855` +`0.0001460390631109476` ``` @@ -1113,7 +1113,7 @@ ERROR tests/test_collector_error.py โœ… #15 parameters: [3-4-7] - **Status:** โœ… `passed` -- **Duration:** `0.000127` s +- **Duration:** `0.000128` s - **Parameters:** `3-4-7` ### ๐Ÿ”ง Setup Phase @@ -1123,7 +1123,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00024298194330185652` +`0.00023743591737002134` ``` @@ -1148,7 +1148,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00012683402746915817` +`0.00012800702825188637` ``` @@ -1173,7 +1173,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014035101048648357` +`0.00015280500520020723` ``` @@ -1199,7 +1199,7 @@ ERROR tests/test_collector_error.py โœ… #16 parameters: [3-5-8] - **Status:** โœ… `passed` -- **Duration:** `0.000129` s +- **Duration:** `0.000130` s - **Parameters:** `3-5-8` ### ๐Ÿ”ง Setup Phase @@ -1209,7 +1209,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00024600804317742586` +`0.0002529140328988433` ``` @@ -1234,7 +1234,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00012940599117428064` +`0.00012970995157957077` ``` @@ -1259,7 +1259,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014450098387897015` +`0.00014206895139068365` ``` @@ -1285,7 +1285,7 @@ ERROR tests/test_collector_error.py โœ… #17 parameters: [3-6-9] - **Status:** โœ… `passed` -- **Duration:** `0.000126` s +- **Duration:** `0.000129` s - **Parameters:** `3-6-9` ### ๐Ÿ”ง Setup Phase @@ -1295,7 +1295,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0002417759969830513` +`0.00024891900829970837` ``` @@ -1320,7 +1320,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.000125961028970778` +`0.00012946093920618296` ``` @@ -1345,7 +1345,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00015570002142339945` +`0.00015946896746754646` ``` @@ -1379,7 +1379,7 @@ ERROR tests/test_collector_error.py โœ… #18 parameters: [a=2,b=2,expected=4] - **Status:** โœ… `passed` -- **Duration:** `0.000131` s +- **Duration:** `0.000139` s - **Parameters:** `a=2,b=2,expected=4` ### ๐Ÿ”ง Setup Phase @@ -1389,7 +1389,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00025086000096052885` +`0.00024087494239211082` ``` @@ -1414,7 +1414,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00013080297503620386` +`0.0001389619428664446` ``` @@ -1439,7 +1439,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014473998453468084` +`0.0001494560856372118` ``` @@ -1465,7 +1465,7 @@ ERROR tests/test_collector_error.py โœ… #19 parameters: [a=1,b=5,expected=6] - **Status:** โœ… `passed` -- **Duration:** `0.000129` s +- **Duration:** `0.000128` s - **Parameters:** `a=1,b=5,expected=6` ### ๐Ÿ”ง Setup Phase @@ -1475,7 +1475,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00023895094636827707` +`0.00023587699979543686` ``` @@ -1500,7 +1500,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.000128881074488163` +`0.00012756104115396738` ``` @@ -1525,7 +1525,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014578807167708874` +`0.0001475409371778369` ``` @@ -1551,7 +1551,7 @@ ERROR tests/test_collector_error.py โœ… #20 parameters: [a=3,b=4,expected=7] - **Status:** โœ… `passed` -- **Duration:** `0.000134` s +- **Duration:** `0.000125` s - **Parameters:** `a=3,b=4,expected=7` ### ๐Ÿ”ง Setup Phase @@ -1561,7 +1561,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00024484191089868546` +`0.0002494209911674261` ``` @@ -1586,7 +1586,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.000133963068947196` +`0.00012471992522478104` ``` @@ -1611,7 +1611,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014379806816577911` +`0.0001386499498039484` ``` @@ -1653,7 +1653,7 @@ ERROR tests/test_collector_error.py โœ… #42 - **Status:** โœ… `passed` -- **Duration:** `0.000143` s +- **Duration:** `0.000158` s ### ๐Ÿ”ง Setup Phase @@ -1662,7 +1662,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00012803496792912483` +`0.00013578799553215504` ``` @@ -1687,7 +1687,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014317408204078674` +`0.00015809410251677036` ``` @@ -1712,7 +1712,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00010237994138151407` +`0.00010278797708451748` ``` @@ -1746,7 +1746,7 @@ ERROR tests/test_collector_error.py โœ… #44 - **Status:** โœ… `passed` -- **Duration:** `0.000138` s +- **Duration:** `0.000139` s ### ๐Ÿ”ง Setup Phase @@ -1755,7 +1755,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00012447102926671505` +`0.00011723104398697615` ``` @@ -1780,7 +1780,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.000138439005240798` +`0.00013940699864178896` ``` @@ -1805,7 +1805,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00011320796329528093` +`0.00010029901750385761` ``` @@ -1839,7 +1839,7 @@ ERROR tests/test_collector_error.py โœ… #45 - **Status:** โœ… `passed` -- **Duration:** `0.000143` s +- **Duration:** `0.000152` s ### ๐Ÿ”ง Setup Phase @@ -1848,7 +1848,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00010644097346812487` +`0.00010724598541855812` ``` @@ -1873,7 +1873,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014270504470914602` +`0.0001519469078630209` ``` @@ -1898,7 +1898,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00010328798089176416` +`9.930797386914492e-05` ``` @@ -1932,7 +1932,7 @@ ERROR tests/test_collector_error.py โœ… #48 - **Status:** โœ… `passed` -- **Duration:** `0.000199` s +- **Duration:** `0.000136` s ### ๐Ÿ”ง Setup Phase @@ -1941,7 +1941,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00017817597836256027` +`0.00012103305198252201` ``` @@ -1966,7 +1966,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00019916100427508354` +`0.00013561907690018415` ``` @@ -1991,7 +1991,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00014575093518942595` +`0.00010839698370546103` ``` @@ -2034,7 +2034,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.0001372440019622445` +`0.00011962803546339273` ``` @@ -2084,7 +2084,7 @@ ERROR tests/test_collector_error.py โŒ #3 - **Status:** โŒ `failed` -- **Duration:** `0.000161` s +- **Duration:** `0.000159` s ### ๐Ÿ”ง Setup Phase @@ -2093,7 +2093,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00012416904792189598` +`0.00011791102588176727` ``` @@ -2118,7 +2118,7 @@ ERROR tests/test_collector_error.py ๐Ÿ“Œ Duration ``` -`0.00016063707880675793` +`0.00015937199350446463` ``` @@ -2187,7 +2187,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.00015892204828560352` +`0.0001430049305781722` ``` @@ -2221,7 +2221,7 @@ functions/io_utils.py:10: OSError` โŒ #4 - **Status:** โŒ `failed` -- **Duration:** `0.000191` s +- **Duration:** `0.000179` s ### ๐Ÿ”ง Setup Phase @@ -2230,7 +2230,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.00012440397404134274` +`0.00012081698514521122` ``` @@ -2255,7 +2255,7 @@ functions/io_utils.py:10: OSError` ๐Ÿ“Œ Duration ``` -`0.0001909730490297079` +`0.00017946399748325348` ``` @@ -2326,7 +2326,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00014844501856714487` +`0.00014152401126921177` ``` @@ -2360,7 +2360,7 @@ functions/io_utils.py:2: FileNotFoundError` โŒ #5 - **Status:** โŒ `failed` -- **Duration:** `0.000187` s +- **Duration:** `0.000182` s ### ๐Ÿ”ง Setup Phase @@ -2369,7 +2369,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00024553900584578514` +`0.0001975659979507327` ``` @@ -2394,7 +2394,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00018689001444727182` +`0.00018211291171610355` ``` @@ -2438,7 +2438,7 @@ functions/io_utils.py:2: FileNotFoundError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f03013c15b0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc781160> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -2473,7 +2473,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.00017930404283106327` +`0.00017876108177006245` ``` @@ -2507,7 +2507,7 @@ tests/test_io_utils.py:34: PermissionError` โŒ #6 - **Status:** โŒ `failed` -- **Duration:** `0.003375` s +- **Duration:** `0.003207` s ### ๐Ÿ”ง Setup Phase @@ -2516,7 +2516,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.0002162080490961671` +`0.00018887489568442106` ``` @@ -2541,7 +2541,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Duration ``` -`0.003374720923602581` +`0.003206940949894488` ``` @@ -2585,7 +2585,7 @@ tests/test_io_utils.py:34: PermissionError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f03013ca8b0> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc4972b0> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -2602,7 +2602,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): @@ -2629,7 +2629,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.00036519591230899096` +`0.0003291310276836157` ``` @@ -2663,7 +2663,7 @@ E OSError: Mocked IOError โŒ #7 - **Status:** โŒ `failed` -- **Duration:** `0.000199` s +- **Duration:** `0.000201` s ### ๐Ÿ”ง Setup Phase @@ -2672,7 +2672,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.00014888099394738674` +`0.00014298304449766874` ``` @@ -2697,7 +2697,7 @@ E OSError: Mocked IOError ๐Ÿ“Œ Duration ``` -`0.00019885296933352947` +`0.00020085799042135477` ``` @@ -2762,7 +2762,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00017895805649459362` +`0.00018116296268999577` ``` @@ -2796,7 +2796,7 @@ tests/test_io_utils.py:50: ValueError` โŒ #8 - **Status:** โŒ `failed` -- **Duration:** `0.000190` s +- **Duration:** `0.000198` s ### ๐Ÿ”ง Setup Phase @@ -2805,7 +2805,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00025895307771861553` +`0.0002519229892641306` ``` @@ -2830,7 +2830,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Duration ``` -`0.00019023602362722158` +`0.00019777694251388311` ``` @@ -2874,7 +2874,7 @@ tests/test_io_utils.py:50: ValueError` ๐Ÿ“Œ Longrepr ``` -`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f02fea9ec70> +`monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc72a730> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -2906,7 +2906,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00016788893844932318` +`0.00017480493988841772` ``` @@ -2940,7 +2940,7 @@ tests/test_io_utils.py:55: OSError` โŒ #10 - **Status:** โŒ `failed` -- **Duration:** `0.000176` s +- **Duration:** `0.000166` s ### ๐Ÿ”ง Setup Phase @@ -2949,7 +2949,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00011976505629718304` +`0.00011653301771730185` ``` @@ -2974,7 +2974,7 @@ tests/test_io_utils.py:55: OSError` ๐Ÿ“Œ Duration ``` -`0.00017550692427903414` +`0.00016585609409958124` ``` @@ -3037,7 +3037,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00016026804223656654` +`0.00014176906552165747` ``` @@ -3079,7 +3079,7 @@ tests/test_io_utils.py:69: FileNotFoundError` โŒ #11 - **Status:** โŒ `failed` -- **Duration:** `0.000163` s +- **Duration:** `0.000153` s ### ๐Ÿ”ง Setup Phase @@ -3088,7 +3088,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00012903299648314714` +`0.00013220601249486208` ``` @@ -3113,7 +3113,7 @@ tests/test_io_utils.py:69: FileNotFoundError` ๐Ÿ“Œ Duration ``` -`0.00016338203568011522` +`0.0001534519251435995` ``` @@ -3176,7 +3176,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00016677100211381912` +`0.00013999396469444036` ``` @@ -3210,7 +3210,7 @@ tests/test_math_utils.py:16: NameError` โŒ #12 - **Status:** โŒ `failed` -- **Duration:** `0.000152` s +- **Duration:** `0.000159` s ### ๐Ÿ”ง Setup Phase @@ -3219,7 +3219,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00011977402027696371` +`0.00012071302626281977` ``` @@ -3244,7 +3244,7 @@ tests/test_math_utils.py:16: NameError` ๐Ÿ“Œ Duration ``` -`0.00015219999477267265` +`0.00015940004959702492` ``` @@ -3307,7 +3307,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00015054503455758095` +`0.00014267396181821823` ``` @@ -3341,7 +3341,7 @@ tests/test_math_utils.py:20: AttributeError` โŒ #21 - **Status:** โŒ `failed` -- **Duration:** `0.000487` s +- **Duration:** `0.000454` s ### ๐Ÿ”ง Setup Phase @@ -3350,7 +3350,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.00010904902592301369` +`0.00010114500764757395` ``` @@ -3375,7 +3375,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Duration ``` -`0.000486541073769331` +`0.00045409705489873886` ``` @@ -3397,7 +3397,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `50``, `message: `assert 4 == 5 +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `51``, `message: `assert 4 == 5 + where 4 = addition(2, 2)`` ``` @@ -3409,7 +3409,7 @@ tests/test_math_utils.py:20: AttributeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `50``, `message: `AssertionError`` +`path: `tests/test_math_utils.py``, `lineno: `51``, `message: `AssertionError`` ``` @@ -3426,7 +3426,7 @@ tests/test_math_utils.py:20: AttributeError` E assert 4 == 5 E + where 4 = addition(2, 2) -tests/test_math_utils.py:50: AssertionError` +tests/test_math_utils.py:51: AssertionError` ``` @@ -3440,7 +3440,7 @@ tests/test_math_utils.py:50: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00014289095997810364` +`0.00015075993724167347` ``` @@ -3474,7 +3474,7 @@ tests/test_math_utils.py:50: AssertionError` โŒ #22 - **Status:** โŒ `failed` -- **Duration:** `0.000171` s +- **Duration:** `0.000152` s ### ๐Ÿ”ง Setup Phase @@ -3483,7 +3483,7 @@ tests/test_math_utils.py:50: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00011893000919371843` +`0.00011753500439226627` ``` @@ -3508,7 +3508,7 @@ tests/test_math_utils.py:50: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00017096009105443954` +`0.0001518350327387452` ``` @@ -3541,7 +3541,7 @@ tests/test_math_utils.py:50: AssertionError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `54``, `message: `None``, `path: `functions/math_utils.py``, `lineno: `5``, `message: `ZeroDivisionError`` +`path: `tests/test_math_utils.py``, `lineno: `55``, `message: `None``, `path: `functions/math_utils.py``, `lineno: `5``, `message: `ZeroDivisionError`` ``` @@ -3556,7 +3556,7 @@ tests/test_math_utils.py:50: AssertionError` # Will raise ZeroDivisionError if not handled in division > division(1, 0) -tests/test_math_utils.py:54: +tests/test_math_utils.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = 1, b = 0 @@ -3579,7 +3579,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00016519997734576464` +`0.0001401989720761776` ``` @@ -3613,7 +3613,7 @@ functions/math_utils.py:5: ZeroDivisionError` โŒ #24 - **Status:** โŒ `failed` -- **Duration:** `0.000158` s +- **Duration:** `0.000155` s ### ๐Ÿ”ง Setup Phase @@ -3622,7 +3622,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00012091395910829306` +`0.00011825200635939837` ``` @@ -3647,7 +3647,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Duration ``` -`0.00015766394790261984` +`0.0001550009474158287` ``` @@ -3669,7 +3669,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `63``, `message: `RuntimeError: Forced runtime error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `64``, `message: `RuntimeError: Forced runtime error`` ``` @@ -3680,7 +3680,7 @@ functions/math_utils.py:5: ZeroDivisionError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `63``, `message: `RuntimeError`` +`path: `tests/test_math_utils.py``, `lineno: `64``, `message: `RuntimeError`` ``` @@ -3696,7 +3696,7 @@ functions/math_utils.py:5: ZeroDivisionError` > raise RuntimeError("Forced runtime error") E RuntimeError: Forced runtime error -tests/test_math_utils.py:63: RuntimeError` +tests/test_math_utils.py:64: RuntimeError` ``` @@ -3710,7 +3710,7 @@ tests/test_math_utils.py:63: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.00015937595162540674` +`0.00014327606186270714` ``` @@ -3744,7 +3744,7 @@ tests/test_math_utils.py:63: RuntimeError` โŒ #25 - **Status:** โŒ `failed` -- **Duration:** `0.000194` s +- **Duration:** `0.000162` s ### ๐Ÿ”ง Setup Phase @@ -3753,7 +3753,7 @@ tests/test_math_utils.py:63: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.0001473049633204937` +`0.00012519594747573137` ``` @@ -3778,7 +3778,7 @@ tests/test_math_utils.py:63: RuntimeError` ๐Ÿ“Œ Duration ``` -`0.0001941549126058817` +`0.00016200297977775335` ``` @@ -3800,7 +3800,7 @@ tests/test_math_utils.py:63: RuntimeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `67``, `message: `MemoryError: Simulated memory error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `68``, `message: `MemoryError: Simulated memory error`` ``` @@ -3811,7 +3811,7 @@ tests/test_math_utils.py:63: RuntimeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `67``, `message: `MemoryError`` +`path: `tests/test_math_utils.py``, `lineno: `68``, `message: `MemoryError`` ``` @@ -3827,7 +3827,7 @@ tests/test_math_utils.py:63: RuntimeError` > raise MemoryError("Simulated memory error") E MemoryError: Simulated memory error -tests/test_math_utils.py:67: MemoryError` +tests/test_math_utils.py:68: MemoryError` ``` @@ -3841,7 +3841,7 @@ tests/test_math_utils.py:67: MemoryError` ๐Ÿ“Œ Duration ``` -`0.00014143995940685272` +`0.0001379610039293766` ``` @@ -3875,7 +3875,7 @@ tests/test_math_utils.py:67: MemoryError` โŒ #26 - **Status:** โŒ `failed` -- **Duration:** `0.000170` s +- **Duration:** `0.000149` s ### ๐Ÿ”ง Setup Phase @@ -3884,7 +3884,7 @@ tests/test_math_utils.py:67: MemoryError` ๐Ÿ“Œ Duration ``` -`0.000126937055028975` +`0.00013284001033753157` ``` @@ -3909,7 +3909,7 @@ tests/test_math_utils.py:67: MemoryError` ๐Ÿ“Œ Duration ``` -`0.00016982597298920155` +`0.00014863302931189537` ``` @@ -3931,7 +3931,7 @@ tests/test_math_utils.py:67: MemoryError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `71``, `message: `TimeoutError: Simulated timeout error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `72``, `message: `TimeoutError: Simulated timeout error`` ``` @@ -3942,7 +3942,7 @@ tests/test_math_utils.py:67: MemoryError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `71``, `message: `TimeoutError`` +`path: `tests/test_math_utils.py``, `lineno: `72``, `message: `TimeoutError`` ``` @@ -3958,7 +3958,7 @@ tests/test_math_utils.py:67: MemoryError` > raise TimeoutError("Simulated timeout error") E TimeoutError: Simulated timeout error -tests/test_math_utils.py:71: TimeoutError` +tests/test_math_utils.py:72: TimeoutError` ``` @@ -3972,7 +3972,7 @@ tests/test_math_utils.py:71: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.00014836504124104977` +`0.00013978302013128996` ``` @@ -4006,7 +4006,7 @@ tests/test_math_utils.py:71: TimeoutError` โŒ #27 - **Status:** โŒ `failed` -- **Duration:** `0.000901` s +- **Duration:** `0.000770` s ### ๐Ÿ”ง Setup Phase @@ -4015,7 +4015,7 @@ tests/test_math_utils.py:71: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.00011912593618035316` +`0.00011716200970113277` ``` @@ -4040,7 +4040,7 @@ tests/test_math_utils.py:71: TimeoutError` ๐Ÿ“Œ Duration ``` -`0.0009013940580189228` +`0.0007696880493313074` ``` @@ -4062,7 +4062,7 @@ tests/test_math_utils.py:71: TimeoutError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `76``, `message: `RecursionError: maximum recursion depth exceeded`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `77``, `message: `RecursionError: maximum recursion depth exceeded`` ``` @@ -4073,7 +4073,7 @@ tests/test_math_utils.py:71: TimeoutError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `77``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `76``, `message: `in recursive``, `path: `tests/test_math_utils.py``, `lineno: `76``, `message: `in recursive`` +`path: `tests/test_math_utils.py``, `lineno: `78``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `77``, `message: `in recursive``, `path: `tests/test_math_utils.py``, `lineno: `77``, `message: `in recursive`` ``` @@ -4090,11 +4090,11 @@ tests/test_math_utils.py:71: TimeoutError` return recursive() > recursive() -tests/test_math_utils.py:77: +tests/test_math_utils.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -tests/test_math_utils.py:76: in recursive +tests/test_math_utils.py:77: in recursive return recursive() -tests/test_math_utils.py:76: in recursive +tests/test_math_utils.py:77: in recursive return recursive() E RecursionError: maximum recursion depth exceeded !!! Recursion detected (same locals & position)` @@ -4111,7 +4111,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00015875999815762043` +`0.00014090398326516151` ``` @@ -4145,7 +4145,7 @@ E RecursionError: maximum recursion depth exceeded โŒ #28 - **Status:** โŒ `failed` -- **Duration:** `0.000159` s +- **Duration:** `0.000153` s ### ๐Ÿ”ง Setup Phase @@ -4154,7 +4154,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.0001300900476053357` +`0.0001296300906687975` ``` @@ -4179,7 +4179,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Duration ``` -`0.00015882588922977448` +`0.00015277194324880838` ``` @@ -4201,7 +4201,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `81``, `message: `FloatingPointError: Simulated floating point error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `82``, `message: `FloatingPointError: Simulated floating point error`` ``` @@ -4212,7 +4212,7 @@ E RecursionError: maximum recursion depth exceeded ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `81``, `message: `FloatingPointError`` +`path: `tests/test_math_utils.py``, `lineno: `82``, `message: `FloatingPointError`` ``` @@ -4228,7 +4228,7 @@ E RecursionError: maximum recursion depth exceeded > raise FloatingPointError("Simulated floating point error") E FloatingPointError: Simulated floating point error -tests/test_math_utils.py:81: FloatingPointError` +tests/test_math_utils.py:82: FloatingPointError` ``` @@ -4242,7 +4242,7 @@ tests/test_math_utils.py:81: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00015423900913447142` +`0.00014160200953483582` ``` @@ -4276,7 +4276,7 @@ tests/test_math_utils.py:81: FloatingPointError` โŒ #29 - **Status:** โŒ `failed` -- **Duration:** `0.000165` s +- **Duration:** `0.000154` s ### ๐Ÿ”ง Setup Phase @@ -4285,7 +4285,7 @@ tests/test_math_utils.py:81: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00012559897731989622` +`0.00013157492503523827` ``` @@ -4310,7 +4310,7 @@ tests/test_math_utils.py:81: FloatingPointError` ๐Ÿ“Œ Duration ``` -`0.00016450905241072178` +`0.0001538239885121584` ``` @@ -4332,7 +4332,7 @@ tests/test_math_utils.py:81: FloatingPointError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `85``, `message: `OverflowError: math range error`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `86``, `message: `OverflowError: math range error`` ``` @@ -4343,7 +4343,7 @@ tests/test_math_utils.py:81: FloatingPointError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `85``, `message: `OverflowError`` +`path: `tests/test_math_utils.py``, `lineno: `86``, `message: `OverflowError`` ``` @@ -4359,7 +4359,7 @@ tests/test_math_utils.py:81: FloatingPointError` > math.exp(1000) E OverflowError: math range error -tests/test_math_utils.py:85: OverflowError` +tests/test_math_utils.py:86: OverflowError` ``` @@ -4373,7 +4373,7 @@ tests/test_math_utils.py:85: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00014073611237108707` +`0.000140046002343297` ``` @@ -4407,7 +4407,7 @@ tests/test_math_utils.py:85: OverflowError` โŒ #30 - **Status:** โŒ `failed` -- **Duration:** `0.000159` s +- **Duration:** `0.000164` s ### ๐Ÿ”ง Setup Phase @@ -4416,7 +4416,7 @@ tests/test_math_utils.py:85: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00013471604324877262` +`0.00011913198977708817` ``` @@ -4441,7 +4441,7 @@ tests/test_math_utils.py:85: OverflowError` ๐Ÿ“Œ Duration ``` -`0.00015926093328744173` +`0.0001638210378587246` ``` @@ -4463,7 +4463,7 @@ tests/test_math_utils.py:85: OverflowError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `89``, `message: `ValueError: invalid literal for int() with base 10: 'invalid'`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `90``, `message: `ValueError: invalid literal for int() with base 10: 'invalid'`` ``` @@ -4474,7 +4474,7 @@ tests/test_math_utils.py:85: OverflowError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `89``, `message: `ValueError`` +`path: `tests/test_math_utils.py``, `lineno: `90``, `message: `ValueError`` ``` @@ -4490,7 +4490,7 @@ tests/test_math_utils.py:85: OverflowError` > int("invalid") E ValueError: invalid literal for int() with base 10: 'invalid' -tests/test_math_utils.py:89: ValueError` +tests/test_math_utils.py:90: ValueError` ``` @@ -4504,7 +4504,7 @@ tests/test_math_utils.py:89: ValueError` ๐Ÿ“Œ Duration ``` -`0.00014018698129802942` +`0.00015089591033756733` ``` @@ -4538,7 +4538,7 @@ tests/test_math_utils.py:89: ValueError` โŒ #31 - **Status:** โŒ `failed` -- **Duration:** `0.000151` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -4547,7 +4547,7 @@ tests/test_math_utils.py:89: ValueError` ๐Ÿ“Œ Duration ``` -`0.0001323280157521367` +`0.00011961197014898062` ``` @@ -4572,7 +4572,7 @@ tests/test_math_utils.py:89: ValueError` ๐Ÿ“Œ Duration ``` -`0.00015148299280554056` +`0.00014783302322030067` ``` @@ -4594,7 +4594,7 @@ tests/test_math_utils.py:89: ValueError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `93``, `message: `TypeError: 'int' object is not iterable`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `94``, `message: `TypeError: 'int' object is not iterable`` ``` @@ -4605,7 +4605,7 @@ tests/test_math_utils.py:89: ValueError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `93``, `message: `TypeError`` +`path: `tests/test_math_utils.py``, `lineno: `94``, `message: `TypeError`` ``` @@ -4621,7 +4621,7 @@ tests/test_math_utils.py:89: ValueError` > sum(5) E TypeError: 'int' object is not iterable -tests/test_math_utils.py:93: TypeError` +tests/test_math_utils.py:94: TypeError` ``` @@ -4635,7 +4635,7 @@ tests/test_math_utils.py:93: TypeError` ๐Ÿ“Œ Duration ``` -`0.00014299503527581692` +`0.00013779907021671534` ``` @@ -4669,7 +4669,7 @@ tests/test_math_utils.py:93: TypeError` โŒ #32 - **Status:** โŒ `failed` -- **Duration:** `0.000149` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -4678,7 +4678,7 @@ tests/test_math_utils.py:93: TypeError` ๐Ÿ“Œ Duration ``` -`0.000117730931378901` +`0.0001282639568671584` ``` @@ -4703,7 +4703,7 @@ tests/test_math_utils.py:93: TypeError` ๐Ÿ“Œ Duration ``` -`0.00014937995001673698` +`0.00014839402865618467` ``` @@ -4725,7 +4725,7 @@ tests/test_math_utils.py:93: TypeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `97``, `message: `Exception: Generic unhandled exception`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `98``, `message: `Exception: Generic unhandled exception`` ``` @@ -4736,7 +4736,7 @@ tests/test_math_utils.py:93: TypeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `97``, `message: `Exception`` +`path: `tests/test_math_utils.py``, `lineno: `98``, `message: `Exception`` ``` @@ -4752,7 +4752,7 @@ tests/test_math_utils.py:93: TypeError` > raise Exception("Generic unhandled exception") E Exception: Generic unhandled exception -tests/test_math_utils.py:97: Exception` +tests/test_math_utils.py:98: Exception` ``` @@ -4766,7 +4766,7 @@ tests/test_math_utils.py:97: Exception` ๐Ÿ“Œ Duration ``` -`0.00013633794151246548` +`0.00014073203783482313` ``` @@ -4800,7 +4800,7 @@ tests/test_math_utils.py:97: Exception` โŒ #33 - **Status:** โŒ `failed` -- **Duration:** `0.000151` s +- **Duration:** `0.000161` s ### ๐Ÿ”ง Setup Phase @@ -4809,7 +4809,7 @@ tests/test_math_utils.py:97: Exception` ๐Ÿ“Œ Duration ``` -`0.00012204702943563461` +`0.00012052699457854033` ``` @@ -4834,7 +4834,7 @@ tests/test_math_utils.py:97: Exception` ๐Ÿ“Œ Duration ``` -`0.00015068904031068087` +`0.0001610670005902648` ``` @@ -4856,7 +4856,7 @@ tests/test_math_utils.py:97: Exception` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `101``, `message: `test_math_utils.CustomError: Custom error simulation`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `102``, `message: `test_math_utils.CustomError: Custom error simulation`` ``` @@ -4867,7 +4867,7 @@ tests/test_math_utils.py:97: Exception` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `101``, `message: `CustomError`` +`path: `tests/test_math_utils.py``, `lineno: `102``, `message: `CustomError`` ``` @@ -4883,7 +4883,7 @@ tests/test_math_utils.py:97: Exception` > raise CustomError("Custom error simulation") E test_math_utils.CustomError: Custom error simulation -tests/test_math_utils.py:101: CustomError` +tests/test_math_utils.py:102: CustomError` ``` @@ -4897,7 +4897,7 @@ tests/test_math_utils.py:101: CustomError` ๐Ÿ“Œ Duration ``` -`0.0001382989576086402` +`0.0001393730053678155` ``` @@ -4931,7 +4931,7 @@ tests/test_math_utils.py:101: CustomError` โŒ #34 - **Status:** โŒ `failed` -- **Duration:** `0.000151` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -4940,7 +4940,7 @@ tests/test_math_utils.py:101: CustomError` ๐Ÿ“Œ Duration ``` -`0.00013691000640392303` +`0.0001270169159397483` ``` @@ -4965,7 +4965,7 @@ tests/test_math_utils.py:101: CustomError` ๐Ÿ“Œ Duration ``` -`0.00015095097478479147` +`0.00014768296387046576` ``` @@ -5014,12 +5014,12 @@ tests/test_math_utils.py:101: CustomError` > raise StopIteration() E StopIteration -tests/test_math_utils.py:105: StopIteration +tests/test_math_utils.py:106: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f030096d9d0> +func = . at 0x7f31dee5e550> when = 'call' reraise = (, ) @@ -5092,7 +5092,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.0002782969968393445` +`0.00025384093169122934` ``` @@ -5126,7 +5126,7 @@ E RuntimeError: generator raised StopIteration โŒ #35 - **Status:** โŒ `failed` -- **Duration:** `0.000175` s +- **Duration:** `0.000176` s ### ๐Ÿ”ง Setup Phase @@ -5135,7 +5135,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00017602602019906044` +`0.00014531996566802263` ``` @@ -5160,7 +5160,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Duration ``` -`0.00017484393902122974` +`0.0001761170569807291` ``` @@ -5182,7 +5182,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `109``, `message: `GeneratorExit`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `110``, `message: `GeneratorExit`` ``` @@ -5193,7 +5193,7 @@ E RuntimeError: generator raised StopIteration ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `109``, `message: `GeneratorExit`` +`path: `tests/test_math_utils.py``, `lineno: `110``, `message: `GeneratorExit`` ``` @@ -5209,7 +5209,7 @@ E RuntimeError: generator raised StopIteration > raise GeneratorExit() E GeneratorExit -tests/test_math_utils.py:109: GeneratorExit` +tests/test_math_utils.py:110: GeneratorExit` ``` @@ -5223,7 +5223,7 @@ tests/test_math_utils.py:109: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.0001812150003388524` +`0.00016765599139034748` ``` @@ -5257,7 +5257,7 @@ tests/test_math_utils.py:109: GeneratorExit` โŒ #36 - **Status:** โŒ `failed` -- **Duration:** `0.000166` s +- **Duration:** `0.000173` s ### ๐Ÿ”ง Setup Phase @@ -5266,7 +5266,7 @@ tests/test_math_utils.py:109: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.00012811494525521994` +`0.00012778292875736952` ``` @@ -5291,7 +5291,7 @@ tests/test_math_utils.py:109: GeneratorExit` ๐Ÿ“Œ Duration ``` -`0.00016644597053527832` +`0.0001728050410747528` ``` @@ -5313,7 +5313,7 @@ tests/test_math_utils.py:109: GeneratorExit` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `114``, `message: `RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `115``, `message: `RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low`` ``` @@ -5324,7 +5324,7 @@ tests/test_math_utils.py:109: GeneratorExit` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `114``, `message: `RecursionError`` +`path: `tests/test_math_utils.py``, `lineno: `115``, `message: `RecursionError`` ``` @@ -5341,7 +5341,7 @@ tests/test_math_utils.py:109: GeneratorExit` > sys.setrecursionlimit(50) E RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low -tests/test_math_utils.py:114: RecursionError` +tests/test_math_utils.py:115: RecursionError` ``` @@ -5355,7 +5355,7 @@ tests/test_math_utils.py:114: RecursionError` ๐Ÿ“Œ Duration ``` -`0.0001502119703218341` +`0.00015836302191019058` ``` @@ -5389,7 +5389,7 @@ tests/test_math_utils.py:114: RecursionError` โŒ #37 - **Status:** โŒ `failed` -- **Duration:** `0.000163` s +- **Duration:** `0.000164` s ### ๐Ÿ”ง Setup Phase @@ -5398,7 +5398,7 @@ tests/test_math_utils.py:114: RecursionError` ๐Ÿ“Œ Duration ``` -`0.00013613689225167036` +`0.0001260220305994153` ``` @@ -5423,7 +5423,7 @@ tests/test_math_utils.py:114: RecursionError` ๐Ÿ“Œ Duration ``` -`0.0001625149743631482` +`0.00016356108244508505` ``` @@ -5445,7 +5445,7 @@ tests/test_math_utils.py:114: RecursionError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `124``, `message: ` File "", line 1 +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `125``, `message: ` File "", line 1 def bad(: ^ SyntaxError: invalid syntax`` @@ -5459,7 +5459,7 @@ SyntaxError: invalid syntax`` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `124``, `message: `SyntaxError`` +`path: `tests/test_math_utils.py``, `lineno: `125``, `message: `SyntaxError`` ``` @@ -5478,7 +5478,7 @@ E def bad(: E ^ E SyntaxError: invalid syntax -tests/test_math_utils.py:124: SyntaxError` +tests/test_math_utils.py:125: SyntaxError` ``` @@ -5492,7 +5492,7 @@ tests/test_math_utils.py:124: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.0001421400811523199` +`0.00014359410852193832` ``` @@ -5526,7 +5526,7 @@ tests/test_math_utils.py:124: SyntaxError` โŒ #38 - **Status:** โŒ `failed` -- **Duration:** `0.000157` s +- **Duration:** `0.000148` s ### ๐Ÿ”ง Setup Phase @@ -5535,7 +5535,7 @@ tests/test_math_utils.py:124: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00013053102884441614` +`0.0001215590164065361` ``` @@ -5560,7 +5560,7 @@ tests/test_math_utils.py:124: SyntaxError` ๐Ÿ“Œ Duration ``` -`0.00015658605843782425` +`0.00014804501552134752` ``` @@ -5582,7 +5582,7 @@ tests/test_math_utils.py:124: SyntaxError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `128``, `message: `SystemExit: 1`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `129``, `message: `SystemExit: 1`` ``` @@ -5593,7 +5593,7 @@ tests/test_math_utils.py:124: SyntaxError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `128``, `message: `SystemExit`` +`path: `tests/test_math_utils.py``, `lineno: `129``, `message: `SystemExit`` ``` @@ -5609,7 +5609,7 @@ tests/test_math_utils.py:124: SyntaxError` > sys.exit(1) E SystemExit: 1 -tests/test_math_utils.py:128: SystemExit` +tests/test_math_utils.py:129: SystemExit` ``` @@ -5623,7 +5623,7 @@ tests/test_math_utils.py:128: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00015291909221559763` +`0.00015003595035523176` ``` @@ -5657,7 +5657,7 @@ tests/test_math_utils.py:128: SystemExit` โŒ #39 - **Status:** โŒ `failed` -- **Duration:** `0.000151` s +- **Duration:** `0.000152` s ### ๐Ÿ”ง Setup Phase @@ -5666,7 +5666,7 @@ tests/test_math_utils.py:128: SystemExit` ๐Ÿ“Œ Duration ``` -`0.00011729192920029163` +`0.00011724396608769894` ``` @@ -5691,7 +5691,7 @@ tests/test_math_utils.py:128: SystemExit` ๐Ÿ“Œ Duration ``` -`0.0001506459666416049` +`0.0001518630888313055` ``` @@ -5713,7 +5713,7 @@ tests/test_math_utils.py:128: SystemExit` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `133``, `message: `TypeError: Broken function`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `134``, `message: `TypeError: Broken function`` ``` @@ -5724,7 +5724,7 @@ tests/test_math_utils.py:128: SystemExit` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `134``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `133``, `message: `TypeError`` +`path: `tests/test_math_utils.py``, `lineno: `135``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `134``, `message: `TypeError`` ``` @@ -5741,7 +5741,7 @@ tests/test_math_utils.py:128: SystemExit` raise TypeError("Broken function") > broken_func() -tests/test_math_utils.py:134: +tests/test_math_utils.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (), kwargs = {} @@ -5750,7 +5750,7 @@ args = (), kwargs = {} > raise TypeError("Broken function") E TypeError: Broken function -tests/test_math_utils.py:133: TypeError` +tests/test_math_utils.py:134: TypeError` ``` @@ -5764,7 +5764,7 @@ tests/test_math_utils.py:133: TypeError` ๐Ÿ“Œ Duration ``` -`0.0001654189545661211` +`0.00014353590086102486` ``` @@ -5798,7 +5798,7 @@ tests/test_math_utils.py:133: TypeError` โŒ #40 - **Status:** โŒ `failed` -- **Duration:** `0.000156` s +- **Duration:** `0.000157` s ### ๐Ÿ”ง Setup Phase @@ -5807,7 +5807,7 @@ tests/test_math_utils.py:133: TypeError` ๐Ÿ“Œ Duration ``` -`0.0001224869629368186` +`0.0001190949697047472` ``` @@ -5832,7 +5832,7 @@ tests/test_math_utils.py:133: TypeError` ๐Ÿ“Œ Duration ``` -`0.0001556889619678259` +`0.00015673600137233734` ``` @@ -5854,7 +5854,7 @@ tests/test_math_utils.py:133: TypeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `141``, `message: `ImportError: Simulated ImportError`` +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `142``, `message: `ImportError: Simulated ImportError`` ``` @@ -5865,7 +5865,7 @@ tests/test_math_utils.py:133: TypeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `146``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `141``, `message: `ImportError`` +`path: `tests/test_math_utils.py``, `lineno: `147``, `message: `None``, `path: `tests/test_math_utils.py``, `lineno: `142``, `message: `ImportError`` ``` @@ -5888,7 +5888,7 @@ tests/test_math_utils.py:133: TypeError` try: > __import__("fake_module") -tests/test_math_utils.py:146: +tests/test_math_utils.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'fake_module', args = (), kwargs = {} @@ -5898,7 +5898,7 @@ name = 'fake_module', args = (), kwargs = {} > raise ImportError("Simulated ImportError") E ImportError: Simulated ImportError -tests/test_math_utils.py:141: ImportError` +tests/test_math_utils.py:142: ImportError` ``` @@ -5912,7 +5912,7 @@ tests/test_math_utils.py:141: ImportError` ๐Ÿ“Œ Duration ``` -`0.00014638097491115332` +`0.00014153588563203812` ``` @@ -5946,7 +5946,7 @@ tests/test_math_utils.py:141: ImportError` โŒ #41 - **Status:** โŒ `failed` -- **Duration:** `0.000495` s +- **Duration:** `0.000560` s ### ๐Ÿ”ง Setup Phase @@ -5955,7 +5955,7 @@ tests/test_math_utils.py:141: ImportError` ๐Ÿ“Œ Duration ``` -`0.00011977599933743477` +`0.00011757598258554935` ``` @@ -5980,7 +5980,7 @@ tests/test_math_utils.py:141: ImportError` ๐Ÿ“Œ Duration ``` -`0.0004951340379193425` +`0.0005602680612355471` ``` @@ -6013,7 +6013,7 @@ tests/test_math_utils.py:141: ImportError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `152``, `message: `None``, `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`` +`path: `tests/test_math_utils.py``, `lineno: `153``, `message: `None``, `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`` ``` @@ -6028,7 +6028,7 @@ tests/test_math_utils.py:141: ImportError` # Raises ModuleNotFoundError (subclass of ImportError) for missing module > importlib.import_module("non_existent_module_xyz") -tests/test_math_utils.py:152: +tests/test_math_utils.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) @@ -6039,7 +6039,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -6058,7 +6058,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.0001450669951736927` +`0.00014428701251745224` ``` @@ -6100,7 +6100,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' โŒ #43 - **Status:** โŒ `failed` -- **Duration:** `0.000145` s +- **Duration:** `0.000143` s ### ๐Ÿ”ง Setup Phase @@ -6109,7 +6109,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.00011035799980163574` +`0.0001087019918486476` ``` @@ -6134,7 +6134,7 @@ E ModuleNotFoundError: No module named 'non_existent_module_xyz' ๐Ÿ“Œ Duration ``` -`0.0001448270631954074` +`0.0001434889854863286` ``` @@ -6206,7 +6206,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.0001514139585196972` +`0.00014086998999118805` ``` @@ -6240,7 +6240,7 @@ functions/string_utils.py:3: TypeError` โŒ #46 - **Status:** โŒ `failed` -- **Duration:** `0.000142` s +- **Duration:** `0.000152` s ### ๐Ÿ”ง Setup Phase @@ -6249,7 +6249,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00010511698201298714` +`0.00011580693535506725` ``` @@ -6274,7 +6274,7 @@ functions/string_utils.py:3: TypeError` ๐Ÿ“Œ Duration ``` -`0.00014182296581566334` +`0.00015212700236588717` ``` @@ -6337,7 +6337,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00013491592835634947` +`0.0001372629776597023` ``` @@ -6371,7 +6371,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` โŒ #47 - **Status:** โŒ `failed` -- **Duration:** `0.000158` s +- **Duration:** `0.000154` s ### ๐Ÿ”ง Setup Phase @@ -6380,7 +6380,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00011651404201984406` +`0.00011861894745379686` ``` @@ -6405,7 +6405,7 @@ tests/test_string_utils.py:26: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00015799293760210276` +`0.0001535119954496622` ``` @@ -6468,7 +6468,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.00014652195386588573` +`0.00013663095887750387` ``` @@ -6518,7 +6518,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` โŒ #23 - **Status:** โŒ `xfailed` -- **Duration:** `0.000290` s +- **Duration:** `0.000272` s ### ๐Ÿ”ง Setup Phase @@ -6527,7 +6527,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.0001412699930369854` +`0.00013597100041806698` ``` @@ -6552,7 +6552,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Duration ``` -`0.000289655989035964` +`0.0002716600429266691` ``` @@ -6574,7 +6574,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Crash ``` -`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `59``, `message: `assert 4 == 5 +`path: `/workspace/tligui_y/slic/tests/test_math_utils.py``, `lineno: `60``, `message: `assert 4 == 5 + where 4 = multiply(2, 2)`` ``` @@ -6586,7 +6586,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` ๐Ÿ“Œ Traceback ``` -`path: `tests/test_math_utils.py``, `lineno: `59``, `message: `AssertionError`` +`path: `tests/test_math_utils.py``, `lineno: `60``, `message: `AssertionError`` ``` @@ -6604,7 +6604,7 @@ tests/test_string_utils.py:30: UnicodeDecodeError` E assert 4 == 5 E + where 4 = multiply(2, 2) -tests/test_math_utils.py:59: AssertionError` +tests/test_math_utils.py:60: AssertionError` ``` @@ -6618,7 +6618,7 @@ tests/test_math_utils.py:59: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00015987397637218237` +`0.00014114403165876865` ``` @@ -6660,7 +6660,7 @@ tests/test_math_utils.py:59: AssertionError` โŒ #49 - **Status:** โŒ `xfailed` -- **Duration:** `0.000646` s +- **Duration:** `0.000603` s ### ๐Ÿ”ง Setup Phase @@ -6669,7 +6669,7 @@ tests/test_math_utils.py:59: AssertionError` ๐Ÿ“Œ Duration ``` -`0.00016174698248505592` +`0.00012847897596657276` ``` @@ -6694,7 +6694,7 @@ tests/test_math_utils.py:59: AssertionError` ๐Ÿ“Œ Duration ``` -`0.0006462649907916784` +`0.0006029549986124039` ``` @@ -6766,7 +6766,7 @@ tests/test_string_utils.py:39: AssertionError` ๐Ÿ“Œ Duration ``` -`0.000164401950314641` +`0.00014349992852658033` ``` @@ -7142,7 +7142,7 @@ result: - **Details:** ``` 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_pass[3-5-8]``, `type: `Function``, `lineno: `21``, `nodeid: `tests/test_math_utils.py::test_addition_pass[3-6-9]``, `type: `Function``, `lineno: `21``, `nodeid: `tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]``, `type: `Function``, `lineno: `35``, `nodeid: `tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]``, `type: `Function``, `lineno: `35``, `nodeid: `tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]``, `type: `Function``, `lineno: `35``, `nodeid: `tests/test_math_utils.py::test_addition_fail``, `type: `Function``, `lineno: `47``, `nodeid: `tests/test_math_utils.py::test_division_zero``, `type: `Function``, `lineno: `51``, `nodeid: `tests/test_math_utils.py::test_multiply_xfail``, `type: `Function``, `lineno: `55``, `nodeid: `tests/test_math_utils.py::test_runtime_error``, `type: `Function``, `lineno: `60``, `nodeid: `tests/test_math_utils.py::test_memory_error``, `type: `Function``, `lineno: `64``, `nodeid: `tests/test_math_utils.py::test_timeout_error``, `type: `Function``, `lineno: `68``, `nodeid: `tests/test_math_utils.py::test_recursion_error``, `type: `Function``, `lineno: `72``, `nodeid: `tests/test_math_utils.py::test_floating_point_error``, `type: `Function``, `lineno: `78``, `nodeid: `tests/test_math_utils.py::test_floating_point_overflow``, `type: `Function``, `lineno: `82``, `nodeid: `tests/test_math_utils.py::test_value_error``, `type: `Function``, `lineno: `86``, `nodeid: `tests/test_math_utils.py::test_type_error``, `type: `Function``, `lineno: `90``, `nodeid: `tests/test_math_utils.py::test_unhandled_exception``, `type: `Function``, `lineno: `94``, `nodeid: `tests/test_math_utils.py::test_custom_error``, `type: `Function``, `lineno: `98``, `nodeid: `tests/test_math_utils.py::test_stop_iteration_direct``, `type: `Function``, `lineno: `102``, `nodeid: `tests/test_math_utils.py::test_generator_exit_direct``, `type: `Function``, `lineno: `106``, `nodeid: `tests/test_math_utils.py::test_recursion_limit``, `type: `Function``, `lineno: `110``, `nodeid: `tests/test_math_utils.py::test_malformed_code``, `type: `Function``, `lineno: `121``, `nodeid: `tests/test_math_utils.py::test_sys_exit``, `type: `Function``, `lineno: `125``, `nodeid: `tests/test_math_utils.py::test_broken_function``, `type: `Function``, `lineno: `129``, `nodeid: `tests/test_math_utils.py::test_import_error_patch``, `type: `Function``, `lineno: `135``, `nodeid: `tests/test_math_utils.py::test_module_not_found_error``, `type: `Function``, `lineno: `149`` +`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: `22``, `nodeid: `tests/test_math_utils.py::test_addition_pass[1-5-6]``, `type: `Function``, `lineno: `22``, `nodeid: `tests/test_math_utils.py::test_addition_pass[3-4-7]``, `type: `Function``, `lineno: `22``, `nodeid: `tests/test_math_utils.py::test_addition_pass[3-5-8]``, `type: `Function``, `lineno: `22``, `nodeid: `tests/test_math_utils.py::test_addition_pass[3-6-9]``, `type: `Function``, `lineno: `22``, `nodeid: `tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]``, `type: `Function``, `lineno: `36``, `nodeid: `tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]``, `type: `Function``, `lineno: `36``, `nodeid: `tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]``, `type: `Function``, `lineno: `36``, `nodeid: `tests/test_math_utils.py::test_addition_fail``, `type: `Function``, `lineno: `48``, `nodeid: `tests/test_math_utils.py::test_division_zero``, `type: `Function``, `lineno: `52``, `nodeid: `tests/test_math_utils.py::test_multiply_xfail``, `type: `Function``, `lineno: `56``, `nodeid: `tests/test_math_utils.py::test_runtime_error``, `type: `Function``, `lineno: `61``, `nodeid: `tests/test_math_utils.py::test_memory_error``, `type: `Function``, `lineno: `65``, `nodeid: `tests/test_math_utils.py::test_timeout_error``, `type: `Function``, `lineno: `69``, `nodeid: `tests/test_math_utils.py::test_recursion_error``, `type: `Function``, `lineno: `73``, `nodeid: `tests/test_math_utils.py::test_floating_point_error``, `type: `Function``, `lineno: `79``, `nodeid: `tests/test_math_utils.py::test_floating_point_overflow``, `type: `Function``, `lineno: `83``, `nodeid: `tests/test_math_utils.py::test_value_error``, `type: `Function``, `lineno: `87``, `nodeid: `tests/test_math_utils.py::test_type_error``, `type: `Function``, `lineno: `91``, `nodeid: `tests/test_math_utils.py::test_unhandled_exception``, `type: `Function``, `lineno: `95``, `nodeid: `tests/test_math_utils.py::test_custom_error``, `type: `Function``, `lineno: `99``, `nodeid: `tests/test_math_utils.py::test_stop_iteration_direct``, `type: `Function``, `lineno: `103``, `nodeid: `tests/test_math_utils.py::test_generator_exit_direct``, `type: `Function``, `lineno: `107``, `nodeid: `tests/test_math_utils.py::test_recursion_limit``, `type: `Function``, `lineno: `111``, `nodeid: `tests/test_math_utils.py::test_malformed_code``, `type: `Function``, `lineno: `122``, `nodeid: `tests/test_math_utils.py::test_sys_exit``, `type: `Function``, `lineno: `126``, `nodeid: `tests/test_math_utils.py::test_broken_function``, `type: `Function``, `lineno: `130``, `nodeid: `tests/test_math_utils.py::test_import_error_patch``, `type: `Function``, `lineno: `136``, `nodeid: `tests/test_math_utils.py::test_module_not_found_error``, `type: `Function``, `lineno: `150`` ``` diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index 3a5c53cc7..dfc875188 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752587514.222691, "duration": 0.7559621334075928, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 32, "xfailed": 2, "total": 50, "collected": 50}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"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_pass[3-5-8]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 35}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 47}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 51}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 55}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 60}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 64}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 68}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 72}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 78}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 82}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 86}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 94}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 102}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 106}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 110}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 121}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 129}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 135}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 149}]}, {"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": "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.0036816440988332033, "outcome": "passed"}, "call": {"duration": 0.000503355055116117, "outcome": "passed"}, "teardown": {"duration": 0.0002825219416990876, "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.0004970759619027376, "outcome": "passed"}, "call": {"duration": 0.00028648192528635263, "outcome": "passed"}, "teardown": {"duration": 0.00015090894885361195, "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.00012416904792189598, "outcome": "passed"}, "call": {"duration": 0.00016063707880675793, "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.00015892204828560352, "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.00012440397404134274, "outcome": "passed"}, "call": {"duration": 0.0001909730490297079, "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.00014844501856714487, "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.00024553900584578514, "outcome": "passed"}, "call": {"duration": 0.00018689001444727182, "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 0x7f03013c15b0>\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.00017930404283106327, "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.0002162080490961671, "outcome": "passed"}, "call": {"duration": 0.003374720923602581, "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 0x7f03013ca8b0>\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.00036519591230899096, "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.00014888099394738674, "outcome": "passed"}, "call": {"duration": 0.00019885296933352947, "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.00017895805649459362, "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.00025895307771861553, "outcome": "passed"}, "call": {"duration": 0.00019023602362722158, "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 0x7f02fea9ec70>\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.00016788893844932318, "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.0006749160820618272, "outcome": "passed"}, "call": {"duration": 0.0009044880280271173, "outcome": "passed"}, "teardown": {"duration": 0.00014435395132750273, "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.00011976505629718304, "outcome": "passed"}, "call": {"duration": 0.00017550692427903414, "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.00016026804223656654, "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.00012903299648314714, "outcome": "passed"}, "call": {"duration": 0.00016338203568011522, "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.00016677100211381912, "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.00011977402027696371, "outcome": "passed"}, "call": {"duration": 0.00015219999477267265, "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.00015054503455758095, "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.00030277902260422707, "outcome": "passed"}, "call": {"duration": 0.00014513707719743252, "outcome": "passed"}, "teardown": {"duration": 0.00014051096513867378, "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.0002525770105421543, "outcome": "passed"}, "call": {"duration": 0.0001303229946643114, "outcome": "passed"}, "teardown": {"duration": 0.00014770799316465855, "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.00024298194330185652, "outcome": "passed"}, "call": {"duration": 0.00012683402746915817, "outcome": "passed"}, "teardown": {"duration": 0.00014035101048648357, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024600804317742586, "outcome": "passed"}, "call": {"duration": 0.00012940599117428064, "outcome": "passed"}, "teardown": {"duration": 0.00014450098387897015, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 21, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002417759969830513, "outcome": "passed"}, "call": {"duration": 0.000125961028970778, "outcome": "passed"}, "teardown": {"duration": 0.00015570002142339945, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 35, "outcome": "passed", "keywords": ["test_addition_pass_id[a=2,b=2,expected=4]", "parametrize", "pytestmark", "a=2,b=2,expected=4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00025086000096052885, "outcome": "passed"}, "call": {"duration": 0.00013080297503620386, "outcome": "passed"}, "teardown": {"duration": 0.00014473998453468084, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 35, "outcome": "passed", "keywords": ["test_addition_pass_id[a=1,b=5,expected=6]", "parametrize", "pytestmark", "a=1,b=5,expected=6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023895094636827707, "outcome": "passed"}, "call": {"duration": 0.000128881074488163, "outcome": "passed"}, "teardown": {"duration": 0.00014578807167708874, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 35, "outcome": "passed", "keywords": ["test_addition_pass_id[a=3,b=4,expected=7]", "parametrize", "pytestmark", "a=3,b=4,expected=7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024484191089868546, "outcome": "passed"}, "call": {"duration": 0.000133963068947196, "outcome": "passed"}, "teardown": {"duration": 0.00014379806816577911, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 47, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010904902592301369, "outcome": "passed"}, "call": {"duration": 0.000486541073769331, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 50, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 50, "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:50: AssertionError"}, "teardown": {"duration": 0.00014289095997810364, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 51, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011893000919371843, "outcome": "passed"}, "call": {"duration": 0.00017096009105443954, "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": 54, "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:54: \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.00016519997734576464, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 55, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001412699930369854, "outcome": "passed"}, "call": {"duration": 0.000289655989035964, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 59, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 59, "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:59: AssertionError"}, "teardown": {"duration": 0.00015987397637218237, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 60, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012091395910829306, "outcome": "passed"}, "call": {"duration": 0.00015766394790261984, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 63, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 63, "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:63: RuntimeError"}, "teardown": {"duration": 0.00015937595162540674, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 64, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001473049633204937, "outcome": "passed"}, "call": {"duration": 0.0001941549126058817, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 67, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 67, "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:67: MemoryError"}, "teardown": {"duration": 0.00014143995940685272, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 68, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000126937055028975, "outcome": "passed"}, "call": {"duration": 0.00016982597298920155, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 71, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 71, "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:71: TimeoutError"}, "teardown": {"duration": 0.00014836504124104977, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 72, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011912593618035316, "outcome": "passed"}, "call": {"duration": 0.0009013940580189228, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 76, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 77, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 76, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 76, "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:77: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:76: in recursive\n return recursive()\ntests/test_math_utils.py:76: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.00015875999815762043, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 78, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001300900476053357, "outcome": "passed"}, "call": {"duration": 0.00015882588922977448, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 81, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 81, "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:81: FloatingPointError"}, "teardown": {"duration": 0.00015423900913447142, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 82, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012559897731989622, "outcome": "passed"}, "call": {"duration": 0.00016450905241072178, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 85, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 85, "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:85: OverflowError"}, "teardown": {"duration": 0.00014073611237108707, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 86, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013471604324877262, "outcome": "passed"}, "call": {"duration": 0.00015926093328744173, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 89, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 89, "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:89: ValueError"}, "teardown": {"duration": 0.00014018698129802942, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 90, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001323280157521367, "outcome": "passed"}, "call": {"duration": 0.00015148299280554056, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 93, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 93, "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:93: TypeError"}, "teardown": {"duration": 0.00014299503527581692, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 94, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.000117730931378901, "outcome": "passed"}, "call": {"duration": 0.00014937995001673698, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 97, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 97, "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:97: Exception"}, "teardown": {"duration": 0.00013633794151246548, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 98, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012204702943563461, "outcome": "passed"}, "call": {"duration": 0.00015068904031068087, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 101, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 101, "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:101: CustomError"}, "teardown": {"duration": 0.0001382989576086402, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 102, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013691000640392303, "outcome": "passed"}, "call": {"duration": 0.00015095097478479147, "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:105: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f030096d9d0>\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.0002782969968393445, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 106, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00017602602019906044, "outcome": "passed"}, "call": {"duration": 0.00017484393902122974, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 109, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 109, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:109: GeneratorExit"}, "teardown": {"duration": 0.0001812150003388524, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 110, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012811494525521994, "outcome": "passed"}, "call": {"duration": 0.00016644597053527832, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 114, "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": 114, "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:114: RecursionError"}, "teardown": {"duration": 0.0001502119703218341, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 121, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013613689225167036, "outcome": "passed"}, "call": {"duration": 0.0001625149743631482, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 124, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 124, "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:124: SyntaxError"}, "teardown": {"duration": 0.0001421400811523199, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 125, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013053102884441614, "outcome": "passed"}, "call": {"duration": 0.00015658605843782425, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 128, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 128, "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:128: SystemExit"}, "teardown": {"duration": 0.00015291909221559763, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 129, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011729192920029163, "outcome": "passed"}, "call": {"duration": 0.0001506459666416049, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 133, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 134, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 133, "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:134: \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:133: TypeError"}, "teardown": {"duration": 0.0001654189545661211, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 135, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001224869629368186, "outcome": "passed"}, "call": {"duration": 0.0001556889619678259, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 141, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 146, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 141, "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:146: \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:141: ImportError"}, "teardown": {"duration": 0.00014638097491115332, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 149, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011977599933743477, "outcome": "passed"}, "call": {"duration": 0.0004951340379193425, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 152, "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:152: \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.0001450669951736927, "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.00012803496792912483, "outcome": "passed"}, "call": {"duration": 0.00014317408204078674, "outcome": "passed"}, "teardown": {"duration": 0.00010237994138151407, "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.00011035799980163574, "outcome": "passed"}, "call": {"duration": 0.0001448270631954074, "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.0001514139585196972, "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.00012447102926671505, "outcome": "passed"}, "call": {"duration": 0.000138439005240798, "outcome": "passed"}, "teardown": {"duration": 0.00011320796329528093, "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.00010644097346812487, "outcome": "passed"}, "call": {"duration": 0.00014270504470914602, "outcome": "passed"}, "teardown": {"duration": 0.00010328798089176416, "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.00010511698201298714, "outcome": "passed"}, "call": {"duration": 0.00014182296581566334, "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.00013491592835634947, "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.00011651404201984406, "outcome": "passed"}, "call": {"duration": 0.00015799293760210276, "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.00014652195386588573, "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.00017817597836256027, "outcome": "passed"}, "call": {"duration": 0.00019916100427508354, "outcome": "passed"}, "teardown": {"duration": 0.00014575093518942595, "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.00016174698248505592, "outcome": "passed"}, "call": {"duration": 0.0006462649907916784, "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.000164401950314641, "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.0001372440019622445, "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": 1752588004.8564062, "duration": 0.7433969974517822, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 32, "xfailed": 2, "total": 50, "collected": 50}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"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": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "type": "Function", "lineno": 48}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "type": "Function", "lineno": 52}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "type": "Function", "lineno": 56}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "type": "Function", "lineno": 61}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "type": "Function", "lineno": 65}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "type": "Function", "lineno": 69}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "type": "Function", "lineno": 73}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_math_utils.py::test_value_error", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_math_utils.py::test_type_error", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "type": "Function", "lineno": 95}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "type": "Function", "lineno": 99}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "type": "Function", "lineno": 103}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "type": "Function", "lineno": 107}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "type": "Function", "lineno": 111}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "type": "Function", "lineno": 122}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 126}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 130}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "type": "Function", "lineno": 136}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 150}]}, {"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": "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.0033735809847712517, "outcome": "passed"}, "call": {"duration": 0.00042359402868896723, "outcome": "passed"}, "teardown": {"duration": 0.0002462459960952401, "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.00046941894106566906, "outcome": "passed"}, "call": {"duration": 0.0002867040457203984, "outcome": "passed"}, "teardown": {"duration": 0.0001459750346839428, "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.00011791102588176727, "outcome": "passed"}, "call": {"duration": 0.00015937199350446463, "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.0001430049305781722, "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.00012081698514521122, "outcome": "passed"}, "call": {"duration": 0.00017946399748325348, "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.00014152401126921177, "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.0001975659979507327, "outcome": "passed"}, "call": {"duration": 0.00018211291171610355, "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 0x7f31dc781160>\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.00017876108177006245, "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.00018887489568442106, "outcome": "passed"}, "call": {"duration": 0.003206940949894488, "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 0x7f31dc4972b0>\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.0003291310276836157, "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.00014298304449766874, "outcome": "passed"}, "call": {"duration": 0.00020085799042135477, "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.00018116296268999577, "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.0002519229892641306, "outcome": "passed"}, "call": {"duration": 0.00019777694251388311, "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 0x7f31dc72a730>\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.00017480493988841772, "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.0006457470590248704, "outcome": "passed"}, "call": {"duration": 0.0022690659388899803, "outcome": "passed"}, "teardown": {"duration": 0.0001616560621187091, "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.00011653301771730185, "outcome": "passed"}, "call": {"duration": 0.00016585609409958124, "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.00014176906552165747, "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.00013220601249486208, "outcome": "passed"}, "call": {"duration": 0.0001534519251435995, "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.00013999396469444036, "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.00012071302626281977, "outcome": "passed"}, "call": {"duration": 0.00015940004959702492, "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.00014267396181821823, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[2-2-4]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[2-2-4]", "parametrize", "pytestmark", "2-2-4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002823648974299431, "outcome": "passed"}, "call": {"duration": 0.0001466450048610568, "outcome": "passed"}, "teardown": {"duration": 0.00014970102347433567, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[1-5-6]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[1-5-6]", "parametrize", "pytestmark", "1-5-6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024374201893806458, "outcome": "passed"}, "call": {"duration": 0.00013089796993881464, "outcome": "passed"}, "teardown": {"duration": 0.0001460390631109476, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-4-7]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-4-7]", "parametrize", "pytestmark", "3-4-7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023743591737002134, "outcome": "passed"}, "call": {"duration": 0.00012800702825188637, "outcome": "passed"}, "teardown": {"duration": 0.00015280500520020723, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-5-8]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-5-8]", "parametrize", "pytestmark", "3-5-8", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002529140328988433, "outcome": "passed"}, "call": {"duration": 0.00012970995157957077, "outcome": "passed"}, "teardown": {"duration": 0.00014206895139068365, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass[3-6-9]", "lineno": 22, "outcome": "passed", "keywords": ["test_addition_pass[3-6-9]", "parametrize", "pytestmark", "3-6-9", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024891900829970837, "outcome": "passed"}, "call": {"duration": 0.00012946093920618296, "outcome": "passed"}, "teardown": {"duration": 0.00015946896746754646, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=2,b=2,expected=4]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=2,b=2,expected=4]", "parametrize", "pytestmark", "a=2,b=2,expected=4", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00024087494239211082, "outcome": "passed"}, "call": {"duration": 0.0001389619428664446, "outcome": "passed"}, "teardown": {"duration": 0.0001494560856372118, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=1,b=5,expected=6]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=1,b=5,expected=6]", "parametrize", "pytestmark", "a=1,b=5,expected=6", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00023587699979543686, "outcome": "passed"}, "call": {"duration": 0.00012756104115396738, "outcome": "passed"}, "teardown": {"duration": 0.0001475409371778369, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_pass_id[a=3,b=4,expected=7]", "lineno": 36, "outcome": "passed", "keywords": ["test_addition_pass_id[a=3,b=4,expected=7]", "parametrize", "pytestmark", "a=3,b=4,expected=7", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0002494209911674261, "outcome": "passed"}, "call": {"duration": 0.00012471992522478104, "outcome": "passed"}, "teardown": {"duration": 0.0001386499498039484, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_addition_fail", "lineno": 48, "outcome": "failed", "keywords": ["test_addition_fail", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010114500764757395, "outcome": "passed"}, "call": {"duration": 0.00045409705489873886, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 51, "message": "assert 4 == 5\n + where 4 = addition(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 51, "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:51: AssertionError"}, "teardown": {"duration": 0.00015075993724167347, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_division_zero", "lineno": 52, "outcome": "failed", "keywords": ["test_division_zero", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011753500439226627, "outcome": "passed"}, "call": {"duration": 0.0001518350327387452, "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": 55, "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:55: \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.0001401989720761776, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_multiply_xfail", "lineno": 56, "outcome": "xfailed", "keywords": ["test_multiply_xfail", "xfail", "pytestmark", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013597100041806698, "outcome": "passed"}, "call": {"duration": 0.0002716600429266691, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 60, "message": "assert 4 == 5\n + where 4 = multiply(2, 2)"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 60, "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:60: AssertionError"}, "teardown": {"duration": 0.00014114403165876865, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_runtime_error", "lineno": 61, "outcome": "failed", "keywords": ["test_runtime_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011825200635939837, "outcome": "passed"}, "call": {"duration": 0.0001550009474158287, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 64, "message": "RuntimeError: Forced runtime error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 64, "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:64: RuntimeError"}, "teardown": {"duration": 0.00014327606186270714, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_memory_error", "lineno": 65, "outcome": "failed", "keywords": ["test_memory_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012519594747573137, "outcome": "passed"}, "call": {"duration": 0.00016200297977775335, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 68, "message": "MemoryError: Simulated memory error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 68, "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:68: MemoryError"}, "teardown": {"duration": 0.0001379610039293766, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_timeout_error", "lineno": 69, "outcome": "failed", "keywords": ["test_timeout_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013284001033753157, "outcome": "passed"}, "call": {"duration": 0.00014863302931189537, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 72, "message": "TimeoutError: Simulated timeout error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 72, "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:72: TimeoutError"}, "teardown": {"duration": 0.00013978302013128996, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_error", "lineno": 73, "outcome": "failed", "keywords": ["test_recursion_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011716200970113277, "outcome": "passed"}, "call": {"duration": 0.0007696880493313074, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 77, "message": "RecursionError: maximum recursion depth exceeded"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 78, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 77, "message": "in recursive"}, {"path": "tests/test_math_utils.py", "lineno": 77, "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:78: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/test_math_utils.py:77: in recursive\n return recursive()\ntests/test_math_utils.py:77: in recursive\n return recursive()\nE RecursionError: maximum recursion depth exceeded\n!!! Recursion detected (same locals & position)"}, "teardown": {"duration": 0.00014090398326516151, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_error", "lineno": 79, "outcome": "failed", "keywords": ["test_floating_point_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001296300906687975, "outcome": "passed"}, "call": {"duration": 0.00015277194324880838, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 82, "message": "FloatingPointError: Simulated floating point error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 82, "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:82: FloatingPointError"}, "teardown": {"duration": 0.00014160200953483582, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_floating_point_overflow", "lineno": 83, "outcome": "failed", "keywords": ["test_floating_point_overflow", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013157492503523827, "outcome": "passed"}, "call": {"duration": 0.0001538239885121584, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 86, "message": "OverflowError: math range error"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 86, "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:86: OverflowError"}, "teardown": {"duration": 0.000140046002343297, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_value_error", "lineno": 87, "outcome": "failed", "keywords": ["test_value_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011913198977708817, "outcome": "passed"}, "call": {"duration": 0.0001638210378587246, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 90, "message": "ValueError: invalid literal for int() with base 10: 'invalid'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 90, "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:90: ValueError"}, "teardown": {"duration": 0.00015089591033756733, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_type_error", "lineno": 91, "outcome": "failed", "keywords": ["test_type_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011961197014898062, "outcome": "passed"}, "call": {"duration": 0.00014783302322030067, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 94, "message": "TypeError: 'int' object is not iterable"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 94, "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:94: TypeError"}, "teardown": {"duration": 0.00013779907021671534, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_unhandled_exception", "lineno": 95, "outcome": "failed", "keywords": ["test_unhandled_exception", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001282639568671584, "outcome": "passed"}, "call": {"duration": 0.00014839402865618467, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 98, "message": "Exception: Generic unhandled exception"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 98, "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:98: Exception"}, "teardown": {"duration": 0.00014073203783482313, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_custom_error", "lineno": 99, "outcome": "failed", "keywords": ["test_custom_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012052699457854033, "outcome": "passed"}, "call": {"duration": 0.0001610670005902648, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 102, "message": "test_math_utils.CustomError: Custom error simulation"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 102, "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:102: CustomError"}, "teardown": {"duration": 0.0001393730053678155, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_stop_iteration_direct", "lineno": 103, "outcome": "failed", "keywords": ["test_stop_iteration_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001270169159397483, "outcome": "passed"}, "call": {"duration": 0.00014768296387046576, "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:106: StopIteration\n\nThe above exception was the direct cause of the following exception:\n\ncls = \nfunc = . at 0x7f31dee5e550>\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.00025384093169122934, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_generator_exit_direct", "lineno": 107, "outcome": "failed", "keywords": ["test_generator_exit_direct", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00014531996566802263, "outcome": "passed"}, "call": {"duration": 0.0001761170569807291, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 110, "message": "GeneratorExit"}], "longrepr": "def test_generator_exit_direct():\n # Directly raise GeneratorExit exception\n> raise GeneratorExit()\nE GeneratorExit\n\ntests/test_math_utils.py:110: GeneratorExit"}, "teardown": {"duration": 0.00016765599139034748, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_recursion_limit", "lineno": 111, "outcome": "failed", "keywords": ["test_recursion_limit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012778292875736952, "outcome": "passed"}, "call": {"duration": 0.0001728050410747528, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 115, "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": 115, "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:115: RecursionError"}, "teardown": {"duration": 0.00015836302191019058, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 122, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001260220305994153, "outcome": "passed"}, "call": {"duration": 0.00016356108244508505, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 125, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 125, "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:125: SyntaxError"}, "teardown": {"duration": 0.00014359410852193832, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 126, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001215590164065361, "outcome": "passed"}, "call": {"duration": 0.00014804501552134752, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 129, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 129, "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:129: SystemExit"}, "teardown": {"duration": 0.00015003595035523176, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 130, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011724396608769894, "outcome": "passed"}, "call": {"duration": 0.0001518630888313055, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 134, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 135, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 134, "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:135: \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:134: TypeError"}, "teardown": {"duration": 0.00014353590086102486, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error_patch", "lineno": 136, "outcome": "failed", "keywords": ["test_import_error_patch", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001190949697047472, "outcome": "passed"}, "call": {"duration": 0.00015673600137233734, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 142, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 147, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 142, "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:147: \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:142: ImportError"}, "teardown": {"duration": 0.00014153588563203812, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 150, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011757598258554935, "outcome": "passed"}, "call": {"duration": 0.0005602680612355471, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 153, "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:153: \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.00014428701251745224, "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.00013578799553215504, "outcome": "passed"}, "call": {"duration": 0.00015809410251677036, "outcome": "passed"}, "teardown": {"duration": 0.00010278797708451748, "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.0001087019918486476, "outcome": "passed"}, "call": {"duration": 0.0001434889854863286, "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.00014086998999118805, "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.00011723104398697615, "outcome": "passed"}, "call": {"duration": 0.00013940699864178896, "outcome": "passed"}, "teardown": {"duration": 0.00010029901750385761, "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.00010724598541855812, "outcome": "passed"}, "call": {"duration": 0.0001519469078630209, "outcome": "passed"}, "teardown": {"duration": 9.930797386914492e-05, "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.00011580693535506725, "outcome": "passed"}, "call": {"duration": 0.00015212700236588717, "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.0001372629776597023, "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.00011861894745379686, "outcome": "passed"}, "call": {"duration": 0.0001535119954496622, "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.00013663095887750387, "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.00012103305198252201, "outcome": "passed"}, "call": {"duration": 0.00013561907690018415, "outcome": "passed"}, "teardown": {"duration": 0.00010839698370546103, "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.00012847897596657276, "outcome": "passed"}, "call": {"duration": 0.0006029549986124039, "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.00014349992852658033, "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.00011962803546339273, "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 diff --git a/ci-reports/markdown/raw-test-output.log b/ci-reports/markdown/raw-test-output.log index 83b558057..e179bfc36 100644 --- a/ci-reports/markdown/raw-test-output.log +++ b/ci-reports/markdown/raw-test-output.log @@ -1,7 +1,7 @@ ============================= test session starts ============================== platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 rootdir: /workspace/tligui_y/slic -plugins: allure-pytest-2.13.5, cov-5.0.0, html-4.1.1, metadata-3.1.1, json-report-1.5.0, md-report-0.6.2 +plugins: metadata-3.1.1, html-4.1.1, cov-5.0.0, allure-pytest-2.13.5, md-report-0.6.2, json-report-1.5.0 collected 50 items / 2 errors tests/test_io_utils.py ..FFFFFF.F @@ -76,7 +76,7 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.fil functions/io_utils.py:2: FileNotFoundError ____________________________ test_permission_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f03013c15b0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc781160> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -100,7 +100,7 @@ E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError _____________________________ test_mock_open_error _____________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f03013ca8b0> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc4972b0> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -117,7 +117,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): @@ -143,7 +143,7 @@ E ValueError: I/O operation on closed file tests/test_io_utils.py:50: ValueError ________________________________ test_os_error _________________________________ -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f02fea9ec70> +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f31dc72a730> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -194,14 +194,14 @@ ______________________________ test_addition_fail ______________________________ E assert 4 == 5 E + where 4 = addition(2, 2) -tests/test_math_utils.py:50: AssertionError +tests/test_math_utils.py:51: AssertionError ______________________________ test_division_zero ______________________________ def test_division_zero(): # Will raise ZeroDivisionError if not handled in division > division(1, 0) -tests/test_math_utils.py:54: +tests/test_math_utils.py:55: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ a = 1, b = 0 @@ -218,7 +218,7 @@ ______________________________ test_runtime_error ______________________________ > raise RuntimeError("Forced runtime error") E RuntimeError: Forced runtime error -tests/test_math_utils.py:63: RuntimeError +tests/test_math_utils.py:64: RuntimeError ______________________________ test_memory_error _______________________________ def test_memory_error(): @@ -226,7 +226,7 @@ ______________________________ test_memory_error _______________________________ > raise MemoryError("Simulated memory error") E MemoryError: Simulated memory error -tests/test_math_utils.py:67: MemoryError +tests/test_math_utils.py:68: MemoryError ______________________________ test_timeout_error ______________________________ def test_timeout_error(): @@ -234,7 +234,7 @@ ______________________________ test_timeout_error ______________________________ > raise TimeoutError("Simulated timeout error") E TimeoutError: Simulated timeout error -tests/test_math_utils.py:71: TimeoutError +tests/test_math_utils.py:72: TimeoutError _____________________________ test_recursion_error _____________________________ def test_recursion_error(): @@ -243,11 +243,11 @@ _____________________________ test_recursion_error _____________________________ return recursive() > recursive() -tests/test_math_utils.py:77: +tests/test_math_utils.py:78: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -tests/test_math_utils.py:76: in recursive +tests/test_math_utils.py:77: in recursive return recursive() -tests/test_math_utils.py:76: in recursive +tests/test_math_utils.py:77: in recursive return recursive() E RecursionError: maximum recursion depth exceeded !!! Recursion detected (same locals & position) @@ -258,7 +258,7 @@ __________________________ test_floating_point_error ___________________________ > raise FloatingPointError("Simulated floating point error") E FloatingPointError: Simulated floating point error -tests/test_math_utils.py:81: FloatingPointError +tests/test_math_utils.py:82: FloatingPointError _________________________ test_floating_point_overflow _________________________ def test_floating_point_overflow(): @@ -266,7 +266,7 @@ _________________________ test_floating_point_overflow _________________________ > math.exp(1000) E OverflowError: math range error -tests/test_math_utils.py:85: OverflowError +tests/test_math_utils.py:86: OverflowError _______________________________ test_value_error _______________________________ def test_value_error(): @@ -274,7 +274,7 @@ _______________________________ test_value_error _______________________________ > int("invalid") E ValueError: invalid literal for int() with base 10: 'invalid' -tests/test_math_utils.py:89: ValueError +tests/test_math_utils.py:90: ValueError _______________________________ test_type_error ________________________________ def test_type_error(): @@ -282,7 +282,7 @@ _______________________________ test_type_error ________________________________ > sum(5) E TypeError: 'int' object is not iterable -tests/test_math_utils.py:93: TypeError +tests/test_math_utils.py:94: TypeError ___________________________ test_unhandled_exception ___________________________ def test_unhandled_exception(): @@ -290,7 +290,7 @@ ___________________________ test_unhandled_exception ___________________________ > raise Exception("Generic unhandled exception") E Exception: Generic unhandled exception -tests/test_math_utils.py:97: Exception +tests/test_math_utils.py:98: Exception ______________________________ test_custom_error _______________________________ def test_custom_error(): @@ -298,7 +298,7 @@ ______________________________ test_custom_error _______________________________ > raise CustomError("Custom error simulation") E test_math_utils.CustomError: Custom error simulation -tests/test_math_utils.py:101: CustomError +tests/test_math_utils.py:102: CustomError __________________________ test_stop_iteration_direct __________________________ def test_stop_iteration_direct(): @@ -306,12 +306,12 @@ __________________________ test_stop_iteration_direct __________________________ > raise StopIteration() E StopIteration -tests/test_math_utils.py:105: StopIteration +tests/test_math_utils.py:106: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7f030096d9d0> +func = . at 0x7f31dee5e550> when = 'call' reraise = (, ) @@ -378,7 +378,7 @@ __________________________ test_generator_exit_direct __________________________ > raise GeneratorExit() E GeneratorExit -tests/test_math_utils.py:109: GeneratorExit +tests/test_math_utils.py:110: GeneratorExit _____________________________ test_recursion_limit _____________________________ def test_recursion_limit(): @@ -387,7 +387,7 @@ _____________________________ test_recursion_limit _____________________________ > sys.setrecursionlimit(50) E RecursionError: cannot set the recursion limit to 50 at the recursion depth 37: the limit is too low -tests/test_math_utils.py:114: RecursionError +tests/test_math_utils.py:115: RecursionError _____________________________ test_malformed_code ______________________________ def test_malformed_code(): @@ -398,7 +398,7 @@ E def bad(: E ^ E SyntaxError: invalid syntax -tests/test_math_utils.py:124: SyntaxError +tests/test_math_utils.py:125: SyntaxError ________________________________ test_sys_exit _________________________________ def test_sys_exit(): @@ -406,7 +406,7 @@ ________________________________ test_sys_exit _________________________________ > sys.exit(1) E SystemExit: 1 -tests/test_math_utils.py:128: SystemExit +tests/test_math_utils.py:129: SystemExit _____________________________ test_broken_function _____________________________ def test_broken_function(): @@ -415,7 +415,7 @@ _____________________________ test_broken_function _____________________________ raise TypeError("Broken function") > broken_func() -tests/test_math_utils.py:134: +tests/test_math_utils.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (), kwargs = {} @@ -424,7 +424,7 @@ args = (), kwargs = {} > raise TypeError("Broken function") E TypeError: Broken function -tests/test_math_utils.py:133: TypeError +tests/test_math_utils.py:134: TypeError ___________________________ test_import_error_patch ____________________________ def test_import_error_patch(): @@ -439,7 +439,7 @@ ___________________________ test_import_error_patch ____________________________ try: > __import__("fake_module") -tests/test_math_utils.py:146: +tests/test_math_utils.py:147: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'fake_module', args = (), kwargs = {} @@ -449,14 +449,14 @@ name = 'fake_module', args = (), kwargs = {} > raise ImportError("Simulated ImportError") E ImportError: Simulated ImportError -tests/test_math_utils.py:141: ImportError +tests/test_math_utils.py:142: ImportError _________________________ test_module_not_found_error __________________________ def test_module_not_found_error(): # Raises ModuleNotFoundError (subclass of ImportError) for missing module > importlib.import_module("non_existent_module_xyz") -tests/test_math_utils.py:152: +tests/test_math_utils.py:153: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module return _bootstrap._gcd_import(name[level:], package, level) @@ -467,7 +467,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' @@ -561,4 +561,4 @@ 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, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.75s ========= +======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.74s =========