diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index abdfcae0..f5d464f5 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -1,511 +1,109 @@ -# ๐Ÿงช Test Report -*Generated on 2025-07-16 12:23:20* +โš ๏ธ **Test execution interrupted** -## ๐Ÿงพ General Info -- **duration**: 0.7993791103363037 -- **root**: /workspace/tligui_y/slic -- **environment**: +> The test run was interrupted by the user (reasons : KeyboardInterrupt or ...). -## ๐Ÿ“‹ Summary -- **Passed**: 16 -- **Failed**: 31 -- **Xfailed**: 2 -- **Total**: 49 -- **Collected**: 49 +
+๐Ÿ“‹ Short test summary info -## ๐Ÿ”Ž Tests -- โœ… Passed (16) - - ๐Ÿ“ test_io_utils.py - - ๐Ÿ”ง Function: `test_read_file` - - โœ… #1 - - Setup Phase: - - Duration: - ``` - 0.003526311949826777 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0004922749940305948 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.0002555770333856344 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_write_file` - - โœ… #2 - - Setup Phase: - - Duration: - ``` - 0.0004940860671922565 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00031598296482115984 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00017486303113400936 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_write_file_readonly` - - โœ… #9 - - Setup Phase: - - Duration: - ``` - 0.0007141439709812403 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.002568294992670417 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.000148270046338439 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ“ test_math_utils.py - - ๐Ÿ”ง Function: `test_addition_pass` - - โœ… #13 [parameters: 2-2-4] - - Parameters: `2-2-4` - - Setup Phase: - - Duration: - ``` - 0.0003144450020045042 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0001612040214240551 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001523640239611268 - ``` - - Outcome: - ``` - passed - ``` - - โœ… #14 [parameters: 1-5-6] - - Parameters: `1-5-6` - - Setup Phase: - - Duration: - ``` - 0.0002841569948941469 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015303597319871187 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014019699301570654 - ``` - - Outcome: - ``` - passed - ``` - - โœ… #15 [parameters: 3-4-7] - - Parameters: `3-4-7` - - Setup Phase: - - Duration: - ``` - 0.0002535070525482297 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00012683600652962923 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00013174803461879492 - ``` - - Outcome: - ``` - passed - ``` - - โœ… #16 [parameters: 3-5-8] - - Parameters: `3-5-8` - - Setup Phase: - - Duration: - ``` - 0.00024365598801523447 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.000124214100651443 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001357109285891056 - ``` - - Outcome: - ``` - passed - ``` - - โœ… #17 [parameters: 3-6-9] - - Parameters: `3-6-9` - - Setup Phase: - - Duration: - ``` - 0.0002502759452909231 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00012977398000657558 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00013673503417521715 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_addition_pass_id` - - โœ… #18 [parameters: a=2,b=2,expected=4] - - Parameters: `a=2,b=2,expected=4` - - Setup Phase: - - Duration: - ``` - 0.00026927096769213676 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00013038900215178728 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00013212196063250303 - ``` - - Outcome: - ``` - passed - ``` - - โœ… #19 [parameters: a=1,b=5,expected=6] - - Parameters: `a=1,b=5,expected=6` - - Setup Phase: - - Duration: - ``` - 0.0002506630262359977 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00013062497600913048 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001341960160061717 - ``` - - Outcome: - ``` - passed - ``` - - โœ… #20 [parameters: a=3,b=4,expected=7] - - Parameters: `a=3,b=4,expected=7` - - Setup Phase: - - Duration: - ``` - 0.00024344702251255512 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00012490397784858942 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00016894505824893713 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ“ test_string_utils.py - - ๐Ÿ”ง Function: `test_uppercase_normal` - - โœ… #41 - - Setup Phase: - - Duration: - ``` - 0.00013608101289719343 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015169894322752953 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00010194408241659403 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_reverse_string` - - โœ… #43 - - Setup Phase: - - Duration: - ``` - 0.00012151501141488552 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00014589098282158375 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00010497297625988722 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_warning_emit` - - โœ… #44 - - Setup Phase: - - Duration: - ``` - 0.00010931200813502073 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00014705595094710588 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00010917393956333399 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_import_warning` - - โœ… #47 - - Setup Phase: - - Duration: - ``` - 0.00012300896923989058 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0001392869744449854 - ``` - - Outcome: - ``` - passed - ``` - - Teardown Phase: - - Duration: - ``` - 0.00010897289030253887 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_keyboard_interrupt_direct` - - โœ… #49 - - Setup Phase: - - Duration: - ``` - 0.00011738797184079885 - ``` - - Outcome: - ``` - passed - ``` -- โŒ Failed (31) - - ๐Ÿ“ test_io_utils.py - - ๐Ÿ”ง Function: `test_cause_io_error` - - โŒ #3 - - Setup Phase: - - Duration: - ``` - 0.00012546905782073736 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00018073501996695995 - ``` - - 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: None -path: functions/io_utils.py -lineno: 10 -message: OSError - ``` - - Longrepr: - ``` - def test_cause_io_error(): +``` +=========================== short test summary info ============================ +FAILED tests/test_io_utils.py::test_cause_io_error - OSError: Forced IO Error for testing +FAILED tests/test_io_utils.py::test_file_not_found - FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file' +FAILED tests/test_io_utils.py::test_permission_error - PermissionError: Permission denied +FAILED tests/test_io_utils.py::test_mock_open_error - OSError: Mocked IOError +FAILED tests/test_io_utils.py::test_file_handle_closed_error - ValueError: I/O operation on closed file +FAILED tests/test_io_utils.py::test_os_error - OSError: Simulated OSError +FAILED tests/test_io_utils.py::test_file_not_found_error - FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt' +FAILED tests/test_math_utils.py::test_broken - NameError: name 'want_the_test_to_fail' is not defined +FAILED tests/test_math_utils.py::test_call_missing_function - AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function' +FAILED tests/test_math_utils.py::test_addition_fail - assert 4 == 5 + + where 4 = addition(2, 2) +FAILED tests/test_math_utils.py::test_division_zero - ZeroDivisionError: division by zero +FAILED tests/test_math_utils.py::test_runtime_error - RuntimeError: Forced runtime error +FAILED tests/test_math_utils.py::test_memory_error - MemoryError: Simulated memory error +FAILED tests/test_math_utils.py::test_timeout_error - TimeoutError: Simulated timeout error +FAILED tests/test_math_utils.py::test_recursion_error - RecursionError: maximum recursion depth exceeded +FAILED tests/test_math_utils.py::test_floating_point_error - FloatingPointError: Simulated floating point error +FAILED tests/test_math_utils.py::test_floating_point_overflow - OverflowError: math range error +FAILED tests/test_math_utils.py::test_value_error - ValueError: invalid literal for int() with base 10: 'invalid' +FAILED tests/test_math_utils.py::test_wrong_argument_error - TypeError: 'int' object is not iterable +FAILED tests/test_math_utils.py::test_unhandled_exception - Exception: Generic unhandled exception +FAILED tests/test_math_utils.py::test_custom_error - test_math_utils.CustomError: Custom error simulation +FAILED tests/test_math_utils.py::test_stop_iteration_direct - RuntimeError: generator raised StopIteration +FAILED tests/test_math_utils.py::test_generator_exit_direct - GeneratorExit +FAILED tests/test_math_utils.py::test_malformed_code - File "", line 1 + def bad(: + ^ +SyntaxError: invalid syntax +FAILED tests/test_math_utils.py::test_sys_exit - SystemExit: 1 +FAILED tests/test_math_utils.py::test_broken_function - TypeError: Broken function +FAILED tests/test_math_utils.py::test_import_error - ImportError: Simulated ImportError +FAILED tests/test_math_utils.py::test_module_not_found_error - ModuleNotFoundError: No module named 'non_existent_module_xyz' +FAILED tests/test_string_utils.py::test_uppercase_type_error - TypeError: Input cannot be None +FAILED tests/test_string_utils.py::test_unicode_decode_error - UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte +FAILED tests/test_string_utils.py::test_unicode_decode_surrogateescape - UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte +ERROR tests/test_broken_fct.py +ERROR tests/test_collector_error.py +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +/workspace/tligui_y/slic/tests/test_string_utils.py:43: KeyboardInterrupt +(to show a full traceback on KeyboardInterrupt use --full-trace) +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.75s ========= +``` +
+ +
+๐Ÿชต Full raw pytest log + +``` +============================= test session starts ============================== +platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 +rootdir: /workspace/tligui_y/slic +plugins: cov-5.0.0, metadata-3.1.1, allure-pytest-2.13.5, html-4.1.1, json-report-1.5.0, md-report-0.6.2 +collected 49 items / 2 errors + +tests/test_io_utils.py ..FFFFFF.F +tests/test_math_utils.py FF........FFxFFFFFFFFFFFFFFFFF +tests/test_string_utils.py .F..FF.x + +==================================== ERRORS ==================================== +__________________ ERROR collecting tests/test_broken_fct.py ___________________ +.pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule + mod = import_path( +.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path + importlib.import_module(module_name) +.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module + return _bootstrap._gcd_import(name[level:], package, level) +:1014: in _gcd_import + ??? +:991: in _find_and_load + ??? +:975: in _find_and_load_unlocked + ??? +:671: in _load_unlocked + ??? +.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module + source_stat, co = _rewrite_test(fn, self.config) +.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test + tree = ast.parse(source, filename=strfn) +.pixi/envs/default/lib/python3.8/ast.py:47: in parse + return compile(source, filename, mode, flags, +E File "/workspace/tligui_y/slic/tests/test_broken_fct.py", line 8 +E def test_valid_2(): +E ^ +E SyntaxError: invalid syntax +________________ ERROR collecting tests/test_collector_error.py ________________ +ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'. +Hint: make sure your test modules/packages have valid Python names. +Traceback: +.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module + return _bootstrap._gcd_import(name[level:], package, level) +tests/test_collector_error.py:1: in + from no_existing_module.math_utils import * +E ModuleNotFoundError: No module named 'no_existing_module' +=================================== FAILURES =================================== +_____________________________ test_cause_io_error ______________________________ + + def test_cause_io_error(): # Raises manual IOError to simulate IO failure > cause_io_error() @@ -517,54 +115,9 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ E OSError: Forced IO Error for testing functions/io_utils.py:10: OSError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00018293398898094893 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_file_not_found` - - โŒ #4 - - Setup Phase: - - Duration: - ``` - 0.00012432003859430552 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00018843100406229496 - ``` - - 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: None -path: functions/io_utils.py -lineno: 2 -message: FileNotFoundError - ``` - - Longrepr: - ``` - def test_file_not_found(): +_____________________________ test_file_not_found ______________________________ + + def test_file_not_found(): # Reading non-existing file raises FileNotFoundError > read_file("nonexistent.file") @@ -578,57 +131,9 @@ path = 'nonexistent.file' E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file' functions/io_utils.py:2: FileNotFoundError - ``` - - Teardown Phase: - - Duration: - ``` - 0.000163285993039608 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_permission_error` - - โŒ #5 - - Setup Phase: - - Duration: - ``` - 0.00022704596631228924 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00018751807510852814 - ``` - - 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: None -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 0x7fe8e27963d0> +____________________________ test_permission_error _____________________________ + +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f88787971f0> def test_permission_error(monkeypatch): # Patch open to raise PermissionError simulating access denial @@ -650,60 +155,9 @@ args = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'} E PermissionError: Permission denied tests/test_io_utils.py:34: PermissionError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001819299068301916 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_mock_open_error` - - โŒ #6 - - Setup Phase: - - Duration: - ``` - 0.00021494494285434484 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0034360940335318446 - ``` - - 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: None -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 0x7fe8e2c79370> +_____________________________ test_mock_open_error _____________________________ + +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8878aea3a0> def test_mock_open_error(monkeypatch): # Mock open() to raise IOError simulating read error @@ -720,7 +174,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): @@ -734,51 +188,9 @@ args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError') E OSError: Mocked IOError .pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0003216071054339409 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_file_handle_closed_error` - - โŒ #7 - - Setup Phase: - - Duration: - ``` - 0.0001788209192454815 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00019474502187222242 - ``` - - 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(): +________________________ test_file_handle_closed_error _________________________ + + def test_file_handle_closed_error(): # Accessing closed file raises ValueError f = io.StringIO("content") f.close() @@ -786,54 +198,9 @@ message: ValueError E ValueError: I/O operation on closed file tests/test_io_utils.py:50: ValueError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00017801695503294468 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_os_error` - - โŒ #8 - - Setup Phase: - - Duration: - ``` - 0.0002496700035408139 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00018723099492490292 - ``` - - 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: None -path: tests/test_io_utils.py -lineno: 55 -message: OSError - ``` - - Longrepr: - ``` - monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fe8e2a69160> +________________________________ test_os_error _________________________________ + +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8878b83970> def test_os_error(monkeypatch): # Patch os.remove to raise OSError simulating filesystem error @@ -852,257 +219,42 @@ path = 'file.txt' E OSError: Simulated OSError tests/test_io_utils.py:55: OSError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00018539500888437033 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_file_not_found_error` - - โŒ #10 - - Setup Phase: - - Duration: - ``` - 0.00012015004176646471 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00019820209126919508 - ``` - - 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(): +__________________________ test_file_not_found_error ___________________________ + + def test_file_not_found_error(): # Raises FileNotFoundError when opening a non-existent file > open("no_such_file.txt", "r") E FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt' tests/test_io_utils.py:69: FileNotFoundError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001495589967817068 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ“ test_math_utils.py - - ๐Ÿ”ง Function: `test_broken` - - โŒ #11 - - Setup Phase: - - Duration: - ``` - 0.00014519598335027695 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0001625689910724759 - ``` - - 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(): +_________________________________ test_broken __________________________________ + + def test_broken(): # simulating a broken or faulty test implementation that will cause the test to error > want_the_test_to_fail E NameError: name 'want_the_test_to_fail' is not defined tests/test_math_utils.py:16: NameError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014587701298296452 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_call_missing_function` - - โŒ #12 - - Setup Phase: - - Duration: - ``` - 0.00012282095849514008 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015739595983177423 - ``` - - 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(): +__________________________ test_call_missing_function __________________________ + + def test_call_missing_function(): # Accessing a missing function attribute raises AttributeError > getattr(math_utils, "non_existent_function")() E AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function' tests/test_math_utils.py:20: AttributeError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014384498354047537 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_addition_fail` - - โŒ #21 - - Setup Phase: - - Duration: - ``` - 0.00012955500278621912 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00048693304415792227 - ``` - - Outcome: - ``` - failed - ``` - - Crash: - ``` - path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 51 -message: assert 4 == 5 - + where 4 = addition(2, 2) - ``` - - Traceback: - ``` - path: tests/test_math_utils.py -lineno: 51 -message: AssertionError - ``` - - Longrepr: - ``` - def test_addition_fail(): +______________________________ test_addition_fail ______________________________ + + def test_addition_fail(): # Assertion failure: expected incorrect result > assert addition(2, 2) == 5 E assert 4 == 5 E + where 4 = addition(2, 2) tests/test_math_utils.py:51: AssertionError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001442349748685956 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_division_zero` - - โŒ #22 - - Setup Phase: - - Duration: - ``` - 0.00012062594760209322 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00016994099132716656 - ``` - - 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: None -path: functions/math_utils.py -lineno: 5 -message: ZeroDivisionError - ``` - - Longrepr: - ``` - def test_division_zero(): +______________________________ test_division_zero ______________________________ + + def test_division_zero(): # Will raise ZeroDivisionError if not handled in division > division(1, 0) @@ -1116,207 +268,33 @@ a = 1, b = 0 E ZeroDivisionError: division by zero functions/math_utils.py:5: ZeroDivisionError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014220899902284145 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_runtime_error` - - โŒ #24 - - Setup Phase: - - Duration: - ``` - 0.00011898903176188469 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0001567349536344409 - ``` - - 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(): +______________________________ test_runtime_error ______________________________ + + def test_runtime_error(): # Test raises an uncaught RuntimeError > raise RuntimeError("Forced runtime error") E RuntimeError: Forced runtime error tests/test_math_utils.py:64: RuntimeError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001391950063407421 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_memory_error` - - โŒ #25 - - Setup Phase: - - Duration: - ``` - 0.00012199906632304192 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015010195784270763 - ``` - - 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(): +______________________________ test_memory_error _______________________________ + + def test_memory_error(): # Manually raise MemoryError to simulate out-of-memory condition > raise MemoryError("Simulated memory error") E MemoryError: Simulated memory error tests/test_math_utils.py:68: MemoryError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00013826601207256317 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_timeout_error` - - โŒ #26 - - Setup Phase: - - Duration: - ``` - 0.0001294130925089121 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015966698992997408 - ``` - - 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(): +______________________________ test_timeout_error ______________________________ + + def test_timeout_error(): # Manually raise TimeoutError simulating timeout conditions > raise TimeoutError("Simulated timeout error") E TimeoutError: Simulated timeout error tests/test_math_utils.py:72: TimeoutError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00013603700790554285 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_recursion_error` - - โŒ #27 - - Setup Phase: - - Duration: - ``` - 0.00012552505359053612 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0008221189491450787 - ``` - - 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: None -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(): +_____________________________ test_recursion_error _____________________________ + + def test_recursion_error(): # Infinite recursion triggers RecursionError def recursive(): return recursive() @@ -1330,381 +308,57 @@ tests/test_math_utils.py:77: in recursive return recursive() E RecursionError: maximum recursion depth exceeded !!! Recursion detected (same locals & position) - ``` - - Teardown Phase: - - Duration: - ``` - 0.00019176595378667116 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_floating_point_error` - - โŒ #28 - - Setup Phase: - - Duration: - ``` - 0.00012288708239793777 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0001563369296491146 - ``` - - 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(): +__________________________ test_floating_point_error ___________________________ + + def test_floating_point_error(): # Manually raise FloatingPointError > raise FloatingPointError("Simulated floating point error") E FloatingPointError: Simulated floating point error tests/test_math_utils.py:82: FloatingPointError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014867493882775307 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_floating_point_overflow` - - โŒ #29 - - Setup Phase: - - Duration: - ``` - 0.00015366403385996819 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00017817399930208921 - ``` - - 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(): +_________________________ test_floating_point_overflow _________________________ + + def test_floating_point_overflow(): # Exponential overflow triggers OverflowError > math.exp(1000) E OverflowError: math range error tests/test_math_utils.py:86: OverflowError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014265498612076044 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_value_error` - - โŒ #30 - - Setup Phase: - - Duration: - ``` - 0.00011789693962782621 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015450408682227135 - ``` - - 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(): +_______________________________ test_value_error _______________________________ + + def test_value_error(): # ValueError on invalid integer conversion > int("invalid") E ValueError: invalid literal for int() with base 10: 'invalid' tests/test_math_utils.py:90: ValueError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00013908999972045422 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_wrong_argument_error` - - โŒ #31 - - Setup Phase: - - Duration: - ``` - 0.00013485096860677004 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015253096353262663 - ``` - - 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_wrong_argument_error(): +__________________________ test_wrong_argument_error ___________________________ + + def test_wrong_argument_error(): # TypeError when passing wrong argument type to sum > sum(5) E TypeError: 'int' object is not iterable tests/test_math_utils.py:94: TypeError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001402910565957427 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_unhandled_exception` - - โŒ #32 - - Setup Phase: - - Duration: - ``` - 0.00011737796012312174 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015142804477363825 - ``` - - 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(): +___________________________ test_unhandled_exception ___________________________ + + def test_unhandled_exception(): # Raises generic unhandled Exception > raise Exception("Generic unhandled exception") E Exception: Generic unhandled exception tests/test_math_utils.py:98: Exception - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001355441054329276 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_custom_error` - - โŒ #33 - - Setup Phase: - - Duration: - ``` - 0.00012076692655682564 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00014909193851053715 - ``` - - 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(): +______________________________ test_custom_error _______________________________ + + def test_custom_error(): # Raises user-defined CustomError exception > raise CustomError("Custom error simulation") E test_math_utils.CustomError: Custom error simulation tests/test_math_utils.py:102: CustomError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001633180072531104 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_stop_iteration_direct` - - โŒ #34 - - Setup Phase: - - Duration: - ``` - 0.00012692203745245934 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00014934793580323458 - ``` - - 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: None -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(): +__________________________ test_stop_iteration_direct __________________________ + + def test_stop_iteration_direct(): # Directly raise StopIteration exception > raise StopIteration() E StopIteration @@ -1714,7 +368,7 @@ tests/test_math_utils.py:106: StopIteration The above exception was the direct cause of the following exception: cls = -func = . at 0x7fe8e2f9d9d0> +func = . at 0x7f8878fe29d0> when = 'call' reraise = (, ) @@ -1774,104 +428,17 @@ item = E RuntimeError: generator raised StopIteration .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0002666480140760541 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_generator_exit_direct` - - โŒ #35 - - Setup Phase: - - Duration: - ``` - 0.00018411199562251568 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00018892704974859953 - ``` - - 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(): +__________________________ test_generator_exit_direct __________________________ + + def test_generator_exit_direct(): # Directly raise GeneratorExit exception > raise GeneratorExit() E GeneratorExit tests/test_math_utils.py:110: GeneratorExit - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001846830127760768 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_malformed_code` - - โŒ #36 - - Setup Phase: - - Duration: - ``` - 0.0001474290620535612 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00018248800188302994 - ``` - - Outcome: - ``` - failed - ``` - - Crash: - ``` - path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 114 -message: File "", line 1 - def bad(: - ^ -SyntaxError: invalid syntax - ``` - - Traceback: - ``` - path: tests/test_math_utils.py -lineno: 114 -message: SyntaxError - ``` - - Longrepr: - ``` - def test_malformed_code(): +_____________________________ test_malformed_code ______________________________ + + def test_malformed_code(): # SyntaxError when executing malformed Python code > exec("def bad(:\n pass") E File "", line 1 @@ -1880,104 +447,17 @@ E ^ E SyntaxError: invalid syntax tests/test_math_utils.py:114: SyntaxError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014749495312571526 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_sys_exit` - - โŒ #37 - - Setup Phase: - - Duration: - ``` - 0.00011946598533540964 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0001568439183756709 - ``` - - Outcome: - ``` - failed - ``` - - Crash: - ``` - path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 118 -message: SystemExit: 1 - ``` - - Traceback: - ``` - path: tests/test_math_utils.py -lineno: 118 -message: SystemExit - ``` - - Longrepr: - ``` - def test_sys_exit(): +________________________________ test_sys_exit _________________________________ + + def test_sys_exit(): # Simulate SystemExit via sys.exit > sys.exit(1) E SystemExit: 1 tests/test_math_utils.py:118: SystemExit - ``` - - Teardown Phase: - - Duration: - ``` - 0.00015981995966285467 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_broken_function` - - โŒ #38 - - Setup Phase: - - Duration: - ``` - 0.0001205869484692812 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015976594295352697 - ``` - - Outcome: - ``` - failed - ``` - - Crash: - ``` - path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 123 -message: TypeError: Broken function - ``` - - Traceback: - ``` - path: tests/test_math_utils.py -lineno: 124 -message: None -path: tests/test_math_utils.py -lineno: 123 -message: TypeError - ``` - - Longrepr: - ``` - def test_broken_function(): +_____________________________ test_broken_function _____________________________ + + def test_broken_function(): # Simulate broken function raising TypeError def broken_func(*args, **kwargs): raise TypeError("Broken function") @@ -1993,112 +473,16 @@ args = (), kwargs = {} E TypeError: Broken function tests/test_math_utils.py:123: TypeError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014802208170294762 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_import_error` - - โŒ #39 - - Setup Phase: - - Duration: - ``` - 0.00012085691560059786 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015752797480672598 - ``` - - Outcome: - ``` - failed - ``` - - Crash: - ``` - path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 127 -message: ImportError: Simulated ImportError - ``` - - Traceback: - ``` - path: tests/test_math_utils.py -lineno: 127 -message: ImportError - ``` - - Longrepr: - ``` - def test_import_error(): +______________________________ test_import_error _______________________________ + + def test_import_error(): > raise ImportError("Simulated ImportError") E ImportError: Simulated ImportError tests/test_math_utils.py:127: ImportError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00014204205945134163 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_module_not_found_error` - - โŒ #40 - - Setup Phase: - - Duration: - ``` - 0.00011949101462960243 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0004890960408374667 - ``` - - Outcome: - ``` - failed - ``` - - Crash: - ``` - path: -lineno: 973 -message: ModuleNotFoundError: No module named 'non_existent_module_xyz' - ``` - - Traceback: - ``` - path: tests/test_math_utils.py -lineno: 131 -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 - ``` - - Longrepr: - ``` - def test_module_not_found_error(): +_________________________ 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") @@ -2113,61 +497,15 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ name = 'non_existent_module_xyz' -import_ = +import_ = > ??? E ModuleNotFoundError: No module named 'non_existent_module_xyz' :973: ModuleNotFoundError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00015999795868992805 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ“ test_string_utils.py - - ๐Ÿ”ง Function: `test_uppercase_type_error` - - โŒ #42 - - Setup Phase: - - Duration: - ``` - 0.00011623103637248278 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00014619797002524137 - ``` - - 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: None -path: functions/string_utils.py -lineno: 3 -message: TypeError - ``` - - Longrepr: - ``` - def test_uppercase_type_error(): +__________________________ test_uppercase_type_error ___________________________ + + def test_uppercase_type_error(): # TypeError when input is None (invalid input) > uppercase(None) @@ -2182,154 +520,6118 @@ s = None E TypeError: Input cannot be None functions/string_utils.py:3: TypeError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00015994510613381863 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_unicode_decode_error` - - โŒ #45 - - Setup Phase: - - Duration: - ``` - 0.00010297505650669336 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00014668900985270739 - ``` - - 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(): +__________________________ test_unicode_decode_error ___________________________ + + def test_unicode_decode_error(): # UnicodeDecodeError when decoding invalid byte sequence > b'\xff'.decode('utf-8') E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte tests/test_string_utils.py:26: UnicodeDecodeError - ``` - - Teardown Phase: - - Duration: - ``` - 0.0001378429587930441 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ”ง Function: `test_unicode_decode_surrogateescape` - - โŒ #46 - - Setup Phase: - - Duration: - ``` - 0.00011964398436248302 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.00015563704073429108 - ``` - - 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(): +_____________________ test_unicode_decode_surrogateescape ______________________ + + def test_unicode_decode_surrogateescape(): # UnicodeDecodeError with strict error handler on invalid byte > b"\x80".decode("utf-8", errors="strict") E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte tests/test_string_utils.py:30: UnicodeDecodeError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00015800294931977987 - ``` - - Outcome: - ``` - passed - ``` -- โŒ Xfailed (2) - - ๐Ÿ“ test_math_utils.py - - ๐Ÿ”ง Function: `test_multiply_xfail` - - โŒ #23 - - Setup Phase: - - Duration: - ``` - 0.0001323240576311946 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0002773059532046318 - ``` - - Outcome: - ``` - skipped - ``` - - Crash: - ``` - path: /workspace/tligui_y/slic/tests/test_math_utils.py +=============================== warnings summary =============================== +tests/test_string_utils.py::test_warning_emit + /workspace/tligui_y/slic/tests/test_string_utils.py:22: UserWarning: Test warning + warnings.warn("Test warning", UserWarning) + +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html +--------------------------------- JSON report ---------------------------------- +report saved to: ci-reports/markdown/pytest-report.json + +---------- coverage: platform linux, python 3.8.20-final-0 ----------- +Coverage HTML written to dir ci-reports/coverage/ +Coverage XML written to file ci-reports/coverage/coverage.xml + +=========================== short test summary info ============================ +FAILED tests/test_io_utils.py::test_cause_io_error - OSError: Forced IO Error for testing +FAILED tests/test_io_utils.py::test_file_not_found - FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file' +FAILED tests/test_io_utils.py::test_permission_error - PermissionError: Permission denied +FAILED tests/test_io_utils.py::test_mock_open_error - OSError: Mocked IOError +FAILED tests/test_io_utils.py::test_file_handle_closed_error - ValueError: I/O operation on closed file +FAILED tests/test_io_utils.py::test_os_error - OSError: Simulated OSError +FAILED tests/test_io_utils.py::test_file_not_found_error - FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt' +FAILED tests/test_math_utils.py::test_broken - NameError: name 'want_the_test_to_fail' is not defined +FAILED tests/test_math_utils.py::test_call_missing_function - AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function' +FAILED tests/test_math_utils.py::test_addition_fail - assert 4 == 5 + + where 4 = addition(2, 2) +FAILED tests/test_math_utils.py::test_division_zero - ZeroDivisionError: division by zero +FAILED tests/test_math_utils.py::test_runtime_error - RuntimeError: Forced runtime error +FAILED tests/test_math_utils.py::test_memory_error - MemoryError: Simulated memory error +FAILED tests/test_math_utils.py::test_timeout_error - TimeoutError: Simulated timeout error +FAILED tests/test_math_utils.py::test_recursion_error - RecursionError: maximum recursion depth exceeded +FAILED tests/test_math_utils.py::test_floating_point_error - FloatingPointError: Simulated floating point error +FAILED tests/test_math_utils.py::test_floating_point_overflow - OverflowError: math range error +FAILED tests/test_math_utils.py::test_value_error - ValueError: invalid literal for int() with base 10: 'invalid' +FAILED tests/test_math_utils.py::test_wrong_argument_error - TypeError: 'int' object is not iterable +FAILED tests/test_math_utils.py::test_unhandled_exception - Exception: Generic unhandled exception +FAILED tests/test_math_utils.py::test_custom_error - test_math_utils.CustomError: Custom error simulation +FAILED tests/test_math_utils.py::test_stop_iteration_direct - RuntimeError: generator raised StopIteration +FAILED tests/test_math_utils.py::test_generator_exit_direct - GeneratorExit +FAILED tests/test_math_utils.py::test_malformed_code - File "", line 1 + def bad(: + ^ +SyntaxError: invalid syntax +FAILED tests/test_math_utils.py::test_sys_exit - SystemExit: 1 +FAILED tests/test_math_utils.py::test_broken_function - TypeError: Broken function +FAILED tests/test_math_utils.py::test_import_error - ImportError: Simulated ImportError +FAILED tests/test_math_utils.py::test_module_not_found_error - ModuleNotFoundError: No module named 'non_existent_module_xyz' +FAILED tests/test_string_utils.py::test_uppercase_type_error - TypeError: Input cannot be None +FAILED tests/test_string_utils.py::test_unicode_decode_error - UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte +FAILED tests/test_string_utils.py::test_unicode_decode_surrogateescape - UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte +ERROR tests/test_broken_fct.py +ERROR tests/test_collector_error.py +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +/workspace/tligui_y/slic/tests/test_string_utils.py:43: KeyboardInterrupt +(to show a full traceback on KeyboardInterrupt use --full-trace) +======== 31 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.75s ========= +``` +
+ +--- + +# ๐Ÿงช Test Report +*Generated on 2025-07-16 12:31:21* + +## ๐Ÿงพ General Info +- **duration**: 0.7501904964447021 +- **root**: /workspace/tligui_y/slic +- **environment**: + +## ๐Ÿ“‹ Summary +- **Passed**: 16 +- **Failed**: 31 +- **Xfailed**: 2 +- **Total**: 49 +- **Collected**: 49 + +## ๐Ÿ”Ž Tests +
+
+โœ… Passed (16) +
+
+
+๐Ÿ“ test_io_utils.py +
+
+
+๐Ÿ”ง Function: `test_read_file` +
+
+
+โœ… #1 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.003595275920815766 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00044141197577118874 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00028476701118052006 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_write_file` +
+
+
+โœ… #2 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00048515491653233767 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00029484694823622704 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00015407497994601727 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_write_file_readonly` +
+
+
+โœ… #9 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0006703670369461179 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0010099749779328704 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014743104111403227 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ“ test_math_utils.py +
+
+
+๐Ÿ”ง Function: `test_addition_pass` +
+
+
+โœ… #13 parameters: [2-2-4] +
+- **Parameters:** `2-2-4` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0003033500397577882 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00015070498920977116 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00015688803978264332 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ +
+
+โœ… #14 parameters: [1-5-6] +
+- **Parameters:** `1-5-6` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0002577470149844885 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013374898117035627 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013801909517496824 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ +
+
+โœ… #15 parameters: [3-4-7] +
+- **Parameters:** `3-4-7` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.000247995019890368 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001336440909653902 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013493909500539303 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ +
+
+โœ… #16 parameters: [3-5-8] +
+- **Parameters:** `3-5-8` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0002354639582335949 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012533902190625668 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013140495866537094 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ +
+
+โœ… #17 parameters: [3-6-9] +
+- **Parameters:** `3-6-9` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00024224095977842808 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012838700786232948 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001423449721187353 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_addition_pass_id` +
+
+
+โœ… #18 parameters: [a=2,b=2,expected=4] +
+- **Parameters:** `a=2,b=2,expected=4` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.000240701949223876 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001246380852535367 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012816500384360552 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ +
+
+โœ… #19 parameters: [a=1,b=5,expected=6] +
+- **Parameters:** `a=1,b=5,expected=6` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0002405000850558281 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012857094407081604 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013381801545619965 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ +
+
+โœ… #20 parameters: [a=3,b=4,expected=7] +
+- **Parameters:** `a=3,b=4,expected=7` + +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00023148604668676853 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012287695426493883 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013855902943760157 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ“ test_string_utils.py +
+
+
+๐Ÿ”ง Function: `test_uppercase_normal` +
+
+
+โœ… #41 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001402240013703704 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00017081806436181068 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00010365108028054237 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_reverse_string` +
+
+
+โœ… #43 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013265898451209068 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014559703413397074 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +9.871902875602245e-05 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_warning_emit` +
+
+
+โœ… #44 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001056259498000145 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014387397095561028 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +9.504205081611872e-05 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_import_warning` +
+
+
+โœ… #47 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012020091526210308 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013733806554228067 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00010109296999871731 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_keyboard_interrupt_direct` +
+
+
+โœ… #49 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011804199311882257 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+โŒ Failed (31) +
+
+
+๐Ÿ“ test_io_utils.py +
+
+
+๐Ÿ”ง Function: `test_cause_io_error` +
+
+
+โŒ #3 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011433602776378393 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00017172691877931356 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +path: functions/io_utils.py +lineno: 10 +message: OSError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_cause_io_error(): + # Raises manual IOError to simulate IO failure +> cause_io_error() + +tests/test_io_utils.py:25: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + def cause_io_error(): +> raise IOError("Forced IO Error for testing") +E OSError: Forced IO Error for testing + +functions/io_utils.py:10: OSError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013876892626285553 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_file_not_found` +
+
+
+โŒ #4 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013080204371362925 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00018689502030611038 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +path: functions/io_utils.py +lineno: 2 +message: FileNotFoundError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_file_not_found(): + # Reading non-existing file raises FileNotFoundError +> read_file("nonexistent.file") + +tests/test_io_utils.py:29: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +path = 'nonexistent.file' + + def read_file(path): +> with open(path, "r", encoding="utf-8") as f: +E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file' + +functions/io_utils.py:2: FileNotFoundError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013962702360004187 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_permission_error` +
+
+
+โŒ #5 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0002231169492006302 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00017657596617937088 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +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 0x7f88787971f0> + + def test_permission_error(monkeypatch): + # Patch open to raise PermissionError simulating access denial + def raise_perm_error(*args, **kwargs): + raise PermissionError("Permission denied") + monkeypatch.setattr("builtins.open", raise_perm_error) +> read_file("anyfile.txt") + +tests/test_io_utils.py:36: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +functions/io_utils.py:2: in read_file + with open(path, "r", encoding="utf-8") as f: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +args = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'} + + def raise_perm_error(*args, **kwargs): +> raise PermissionError("Permission denied") +E PermissionError: Permission denied + +tests/test_io_utils.py:34: PermissionError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00016338995192199945 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_mock_open_error` +
+
+
+โŒ #6 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001863319193944335 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.003433874109759927 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +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 0x7f8878aea3a0> + + def test_mock_open_error(monkeypatch): + # Mock open() to raise IOError simulating read error + mocked_open = mock.mock_open() + mocked_open.side_effect = IOError("Mocked IOError") + monkeypatch.setattr("builtins.open", mocked_open) +> with open("file.txt", "r") as f: + +tests/test_io_utils.py:43: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +.pixi/envs/default/lib/python3.8/unittest/mock.py:1081: in __call__ + return self._mock_call(*args, **kwargs) +.pixi/envs/default/lib/python3.8/unittest/mock.py:1085: in _mock_call + return self._execute_mock_call(*args, **kwargs) +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = +args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError') + + def _execute_mock_call(self, /, *args, **kwargs): + # separate from _increment_mock_call so that awaited functions are + # executed separately from their call, also AsyncMock overrides this method + + effect = self.side_effect + if effect is not None: + if _is_exception(effect): +> raise effect +E OSError: Mocked IOError + +.pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.000325641012750566 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_file_handle_closed_error` +
+
+
+โŒ #7 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014261901378631592 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00018436601385474205 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Accessing closed file raises ValueError + f = io.StringIO("content") + f.close() +> f.read() +E ValueError: I/O operation on closed file + +tests/test_io_utils.py:50: ValueError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00018508604262024164 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_os_error` +
+
+
+โŒ #8 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00025005603674799204 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001893820008262992 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +path: tests/test_io_utils.py +lineno: 55 +message: OSError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f8878b83970> + + def test_os_error(monkeypatch): + # Patch os.remove to raise OSError simulating filesystem error + def raise_os_error(path): + raise OSError("Simulated OSError") + monkeypatch.setattr("os.remove", raise_os_error) +> os.remove("file.txt") + +tests/test_io_utils.py:57: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +path = 'file.txt' + + def raise_os_error(path): +> raise OSError("Simulated OSError") +E OSError: Simulated OSError + +tests/test_io_utils.py:55: OSError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001759000588208437 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_file_not_found_error` +
+
+
+โŒ #10 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001269880449399352 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00016558088827878237 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Raises FileNotFoundError when opening a non-existent file +> open("no_such_file.txt", "r") +E FileNotFoundError: [Errno 2] No such file or directory: 'no_such_file.txt' + +tests/test_io_utils.py:69: FileNotFoundError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013674807269126177 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ“ test_math_utils.py +
+
+
+๐Ÿ”ง Function: `test_broken` +
+
+
+โŒ #11 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013114709872752428 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00015092897228896618 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # simulating a broken or faulty test implementation that will cause the test to error +> want_the_test_to_fail +E NameError: name 'want_the_test_to_fail' is not defined + +tests/test_math_utils.py:16: NameError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013715599197894335 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_call_missing_function` +
+
+
+โŒ #12 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012048298958688974 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001569000305607915 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Accessing a missing function attribute raises AttributeError +> getattr(math_utils, "non_existent_function")() +E AttributeError: module 'functions.math_utils' has no attribute 'non_existent_function' + +tests/test_math_utils.py:20: AttributeError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013546901755034924 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_addition_fail` +
+
+
+โŒ #21 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00010465295054018497 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0004602000117301941 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +failed +``` +
+
+
+ +
+
+๐Ÿ“Œ Crash +
+``` +path: /workspace/tligui_y/slic/tests/test_math_utils.py +lineno: 51 +message: assert 4 == 5 + + where 4 = addition(2, 2) +``` +
+
+
+ +
+
+๐Ÿ“Œ Traceback +
+``` +path: tests/test_math_utils.py +lineno: 51 +message: AssertionError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_addition_fail(): + # Assertion failure: expected incorrect result +> assert addition(2, 2) == 5 +E assert 4 == 5 +E + where 4 = addition(2, 2) + +tests/test_math_utils.py:51: AssertionError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013479997869580984 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_division_zero` +
+
+
+โŒ #22 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011658796574920416 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001537129282951355 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +path: functions/math_utils.py +lineno: 5 +message: ZeroDivisionError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_division_zero(): + # Will raise ZeroDivisionError if not handled in division +> division(1, 0) + +tests/test_math_utils.py:55: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +a = 1, b = 0 + + def division(a, b): +> return a / b +E ZeroDivisionError: division by zero + +functions/math_utils.py:5: ZeroDivisionError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013586098793894053 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_runtime_error` +
+
+
+โŒ #24 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012816302478313446 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014491507317870855 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Test raises an uncaught RuntimeError +> raise RuntimeError("Forced runtime error") +E RuntimeError: Forced runtime error + +tests/test_math_utils.py:64: RuntimeError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001439959742128849 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_memory_error` +
+
+
+โŒ #25 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011757004540413618 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014841498341411352 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Manually raise MemoryError to simulate out-of-memory condition +> raise MemoryError("Simulated memory error") +E MemoryError: Simulated memory error + +tests/test_math_utils.py:68: MemoryError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013496296014636755 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_timeout_error` +
+
+
+โŒ #26 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012080499436706305 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00016444502398371696 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Manually raise TimeoutError simulating timeout conditions +> raise TimeoutError("Simulated timeout error") +E TimeoutError: Simulated timeout error + +tests/test_math_utils.py:72: TimeoutError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013588392175734043 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_recursion_error` +
+
+
+โŒ #27 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012105400674045086 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.000794488936662674 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +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(): + # Infinite recursion triggers RecursionError + def recursive(): + return recursive() +> recursive() + +tests/test_math_utils.py:78: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +tests/test_math_utils.py:77: in recursive + return recursive() +tests/test_math_utils.py:77: in recursive + return recursive() +E RecursionError: maximum recursion depth exceeded +!!! Recursion detected (same locals & position) +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014820101205259562 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_floating_point_error` +
+
+
+โŒ #28 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012795696966350079 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014878192450851202 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Manually raise FloatingPointError +> raise FloatingPointError("Simulated floating point error") +E FloatingPointError: Simulated floating point error + +tests/test_math_utils.py:82: FloatingPointError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014815095346421003 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_floating_point_overflow` +
+
+
+โŒ #29 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012155110016465187 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00016813201364129782 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Exponential overflow triggers OverflowError +> math.exp(1000) +E OverflowError: math range error + +tests/test_math_utils.py:86: OverflowError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.000133389956317842 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_value_error` +
+
+
+โŒ #30 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011530495248734951 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001695828977972269 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # ValueError on invalid integer conversion +> int("invalid") +E ValueError: invalid literal for int() with base 10: 'invalid' + +tests/test_math_utils.py:90: ValueError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001331600360572338 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_wrong_argument_error` +
+
+
+โŒ #31 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011636095587164164 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014844699762761593 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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_wrong_argument_error(): + # TypeError when passing wrong argument type to sum +> sum(5) +E TypeError: 'int' object is not iterable + +tests/test_math_utils.py:94: TypeError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013497192412614822 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_unhandled_exception` +
+
+
+โŒ #32 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011635397095233202 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001452290453016758 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Raises generic unhandled Exception +> raise Exception("Generic unhandled exception") +E Exception: Generic unhandled exception + +tests/test_math_utils.py:98: Exception +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013443897478282452 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_custom_error` +
+
+
+โŒ #33 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012019695714116096 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014857901260256767 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Raises user-defined CustomError exception +> raise CustomError("Custom error simulation") +E test_math_utils.CustomError: Custom error simulation + +tests/test_math_utils.py:102: CustomError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001349990488961339 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_stop_iteration_direct` +
+
+
+โŒ #34 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012328207958489656 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014766701497137547 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py +lineno: 242 +message: in +path: .pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py +lineno: 513 +message: in __call__ +path: .pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py +lineno: 120 +message: in _hookexec +path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py +lineno: 92 +message: in pytest_runtest_call +path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py +lineno: 68 +message: in thread_exception_runtest_hook +path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py +lineno: 95 +message: in pytest_runtest_call +path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py +lineno: 70 +message: in unraisable_exception_runtest_hook +path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py +lineno: 846 +message: in pytest_runtest_call +path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py +lineno: 829 +message: in _runtest_for +path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py +lineno: 880 +message: RuntimeError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_stop_iteration_direct(): + # Directly raise StopIteration exception +> raise StopIteration() +E StopIteration + +tests/test_math_utils.py:106: StopIteration + +The above exception was the direct cause of the following exception: + +cls = +func = . at 0x7f8878fe29d0> +when = 'call' +reraise = (, ) + + @classmethod + def from_call( + cls, + func: Callable[[], TResult], + when: Literal["collect", "setup", "call", "teardown"], + reraise: type[BaseException] | tuple[type[BaseException], ...] | None = None, + ) -> CallInfo[TResult]: + """Call func, wrapping the result in a CallInfo. + + :param func: + The function to call. Called without arguments. + :type func: Callable[[], _pytest.runner.TResult] + :param when: + The phase in which the function is called. + :param reraise: + Exception or exceptions that shall propagate if raised by the + function, instead of being wrapped in the CallInfo. + """ + excinfo = None + start = timing.time() + precise_start = timing.perf_counter() + try: +> result: TResult | None = func() + +.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:341: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +.pixi/envs/default/lib/python3.8/site-packages/_pytest/runner.py:242: in + lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise +.pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py:513: in __call__ + return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) +.pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py:120: in _hookexec + return self._inner_hookexec(hook_name, methods, kwargs, firstresult) +.pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:92: in pytest_runtest_call + yield from thread_exception_runtest_hook() +.pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py:68: in thread_exception_runtest_hook + yield +.pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:95: in pytest_runtest_call + yield from unraisable_exception_runtest_hook() +.pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py:70: in unraisable_exception_runtest_hook + yield +.pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:846: in pytest_runtest_call + yield from self._runtest_for(item, "call") +.pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py:829: in _runtest_for + yield +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = _capture_fixture=None> +item = + + @hookimpl(wrapper=True) + def pytest_runtest_call(self, item: Item) -> Generator[None]: + with self.item_capture("call", item): +> return (yield) +E RuntimeError: generator raised StopIteration + +.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0002609830116853118 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_generator_exit_direct` +
+
+
+โŒ #35 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00014418293721973896 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00017665093764662743 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # Directly raise GeneratorExit exception +> raise GeneratorExit() +E GeneratorExit + +tests/test_math_utils.py:110: GeneratorExit +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00021367298904806376 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_malformed_code` +
+
+
+โŒ #36 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00015095004346221685 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00018263491801917553 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +failed +``` +
+
+
+ +
+
+๐Ÿ“Œ Crash +
+``` +path: /workspace/tligui_y/slic/tests/test_math_utils.py +lineno: 114 +message: File "", line 1 + def bad(: + ^ +SyntaxError: invalid syntax +``` +
+
+
+ +
+
+๐Ÿ“Œ Traceback +
+``` +path: tests/test_math_utils.py +lineno: 114 +message: SyntaxError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_malformed_code(): + # SyntaxError when executing malformed Python code +> exec("def bad(:\n pass") +E File "", line 1 +E def bad(: +E ^ +E SyntaxError: invalid syntax + +tests/test_math_utils.py:114: SyntaxError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00017652800306677818 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_sys_exit` +
+
+
+โŒ #37 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013629905879497528 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001639260444790125 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +failed +``` +
+
+
+ +
+
+๐Ÿ“Œ Crash +
+``` +path: /workspace/tligui_y/slic/tests/test_math_utils.py +lineno: 118 +message: SystemExit: 1 +``` +
+
+
+ +
+
+๐Ÿ“Œ Traceback +
+``` +path: tests/test_math_utils.py +lineno: 118 +message: SystemExit +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_sys_exit(): + # Simulate SystemExit via sys.exit +> sys.exit(1) +E SystemExit: 1 + +tests/test_math_utils.py:118: SystemExit +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00016490498092025518 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_broken_function` +
+
+
+โŒ #38 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012889399658888578 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00017352402210235596 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +failed +``` +
+
+
+ +
+
+๐Ÿ“Œ Crash +
+``` +path: /workspace/tligui_y/slic/tests/test_math_utils.py +lineno: 123 +message: TypeError: Broken function +``` +
+
+
+ +
+
+๐Ÿ“Œ Traceback +
+``` +path: tests/test_math_utils.py +lineno: 124 +message: None +path: tests/test_math_utils.py +lineno: 123 +message: TypeError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_broken_function(): + # Simulate broken function raising TypeError + def broken_func(*args, **kwargs): + raise TypeError("Broken function") +> broken_func() + +tests/test_math_utils.py:124: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +args = (), kwargs = {} + + def broken_func(*args, **kwargs): +> raise TypeError("Broken function") +E TypeError: Broken function + +tests/test_math_utils.py:123: TypeError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00018504902254790068 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_import_error` +
+
+
+โŒ #39 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00012602796778082848 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00016049796249717474 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +failed +``` +
+
+
+ +
+
+๐Ÿ“Œ Crash +
+``` +path: /workspace/tligui_y/slic/tests/test_math_utils.py +lineno: 127 +message: ImportError: Simulated ImportError +``` +
+
+
+ +
+
+๐Ÿ“Œ Traceback +
+``` +path: tests/test_math_utils.py +lineno: 127 +message: ImportError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_import_error(): +> raise ImportError("Simulated ImportError") +E ImportError: Simulated ImportError + +tests/test_math_utils.py:127: ImportError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00015318801160901785 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_module_not_found_error` +
+
+
+โŒ #40 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001324110198765993 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0004889050032943487 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +failed +``` +
+
+
+ +
+
+๐Ÿ“Œ Crash +
+``` +path: +lineno: 973 +message: ModuleNotFoundError: No module named 'non_existent_module_xyz' +``` +
+
+
+ +
+
+๐Ÿ“Œ Traceback +
+``` +path: tests/test_math_utils.py +lineno: 131 +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 +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +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:131: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module + return _bootstrap._gcd_import(name[level:], package, level) +:1014: in _gcd_import + ??? +:991: in _find_and_load + ??? +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +name = 'non_existent_module_xyz' +import_ = + +> ??? +E ModuleNotFoundError: No module named 'non_existent_module_xyz' + +:973: ModuleNotFoundError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00019180297385901213 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ“ test_string_utils.py +
+
+
+๐Ÿ”ง Function: `test_uppercase_type_error` +
+
+
+โŒ #42 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00010728708002716303 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001441891072317958 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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: None +path: functions/string_utils.py +lineno: 3 +message: TypeError +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +def test_uppercase_type_error(): + # TypeError when input is None (invalid input) +> uppercase(None) + +tests/test_string_utils.py:14: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +s = None + + def uppercase(s): + if s is None: +> raise TypeError("Input cannot be None") +E TypeError: Input cannot be None + +functions/string_utils.py:3: TypeError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00015677104238420725 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_unicode_decode_error` +
+
+
+โŒ #45 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011332996655255556 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00016076292376965284 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # UnicodeDecodeError when decoding invalid byte sequence +> b'\xff'.decode('utf-8') +E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte + +tests/test_string_utils.py:26: UnicodeDecodeError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001495330361649394 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ”ง Function: `test_unicode_decode_surrogateescape` +
+
+
+โŒ #46 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011588598135858774 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00015357800293713808 +``` +
+
+
+ +
+
+๐Ÿ“Œ 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(): + # UnicodeDecodeError with strict error handler on invalid byte +> b"\x80".decode("utf-8", errors="strict") +E UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte + +tests/test_string_utils.py:30: UnicodeDecodeError +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001372089609503746 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+โŒ Xfailed (2) +
+
+
+๐Ÿ“ test_math_utils.py +
+
+
+๐Ÿ”ง Function: `test_multiply_xfail` +
+
+
+โŒ #23 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013183499686419964 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0002708330284804106 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +skipped +``` +
+
+
+ +
+
+๐Ÿ“Œ Crash +
+``` +path: /workspace/tligui_y/slic/tests/test_math_utils.py lineno: 60 message: assert 4 == 5 + where 4 = multiply(2, 2) - ``` - - Traceback: - ``` - path: tests/test_math_utils.py +``` +
+
+
+ +
+
+๐Ÿ“Œ Traceback +
+``` +path: tests/test_math_utils.py lineno: 60 message: AssertionError - ``` - - Longrepr: - ``` - @pytest.mark.xfail(reason="Expected failure") +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +@pytest.mark.xfail(reason="Expected failure") def test_multiply_xfail(): # Expected fail test (xfail): incorrect expected multiply result > assert multiply(2, 2) == 5 @@ -2337,56 +6639,149 @@ E assert 4 == 5 E + where 4 = multiply(2, 2) tests/test_math_utils.py:60: AssertionError - ``` - - Teardown Phase: - - Duration: - ``` - 0.000141461961902678 - ``` - - Outcome: - ``` - passed - ``` - - ๐Ÿ“ test_string_utils.py - - ๐Ÿ”ง Function: `test_xfail_uppercase_digits` - - โŒ #48 - - Setup Phase: - - Duration: - ``` - 0.00011716701555997133 - ``` - - Outcome: - ``` - passed - ``` - - Call Phase: - - Duration: - ``` - 0.0006386439781636 - ``` - - Outcome: - ``` - skipped - ``` - - Crash: - ``` - path: /workspace/tligui_y/slic/tests/test_string_utils.py +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00013694900553673506 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ +
+
+๐Ÿ“ test_string_utils.py +
+
+
+๐Ÿ”ง Function: `test_xfail_uppercase_digits` +
+
+
+โŒ #48 +
+ +### ๐Ÿ”ง Setup Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.00011401704978197813 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +### ๐Ÿ”ง Call Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0006316539365798235 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +skipped +``` +
+
+
+ +
+
+๐Ÿ“Œ Crash +
+``` +path: /workspace/tligui_y/slic/tests/test_string_utils.py lineno: 39 message: AssertionError: assert 'ABC123' == 'ABC1234' - ABC1234 ? - + ABC123 - ``` - - Traceback: - ``` - path: tests/test_string_utils.py +``` +
+
+
+ +
+
+๐Ÿ“Œ Traceback +
+``` +path: tests/test_string_utils.py lineno: 39 message: AssertionError - ``` - - Longrepr: - ``` - @pytest.mark.xfail(reason="Expected failure: uppercase does not handle digits") +``` +
+
+
+ +
+
+๐Ÿ“Œ Longrepr +
+``` +@pytest.mark.xfail(reason="Expected failure: uppercase does not handle digits") def test_xfail_uppercase_digits(): # Expected fail test because uppercase won't change digits > assert uppercase("abc123") == "ABC1234" @@ -2397,14 +6792,667 @@ E ? - E + ABC123 tests/test_string_utils.py:39: AssertionError - ``` - - Teardown Phase: - - Duration: - ``` - 0.00013863993808627129 - ``` - - Outcome: - ``` - passed - ``` +``` +
+
+
+ + +### ๐Ÿ”ง Teardown Phase + +
+
+๐Ÿ“Œ Duration +
+``` +0.0001395359868183732 +``` +
+
+
+ +
+
+๐Ÿ“Œ Outcome +
+``` +passed +``` +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ ## ๐Ÿ“š Collected files +
+
+โœ… (1 tests) +
+
+
+โœ… +
+- **Outcome:** `passed` +- **Details:** +``` +result: +nodeid: . +type: Dir + +``` + +
+
+
+ + +
+
+
+ +
+
+โœ… ci-reports (12 tests) +
+
+
+โœ… ci-reports +
+- **Outcome:** `passed` +- **Details:** +``` +result: +nodeid: ci-reports/allure +type: Dir +nodeid: ci-reports/coverage +type: Dir +nodeid: ci-reports/markdown +type: Dir + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure +
+- **Outcome:** `passed` +- **Details:** +``` +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 + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure/data +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure/export +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure/history +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure/plugin +
+- **Outcome:** `passed` +- **Details:** +``` +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 + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure/plugin/behaviors +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure/plugin/packages +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure/plugin/screen-diff +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ +
+
+โœ… ci-reports/allure/widgets +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ +
+
+โœ… ci-reports/coverage +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ +
+
+โœ… ci-reports/markdown +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ + +
+
+
+ +
+
+โœ… functions (1 tests) +
+
+
+โœ… functions +
+- **Outcome:** `passed` +- **Details:** +``` +result: + + +``` + +
+
+
+ + +
+
+
+ +
+
+โŒ tests (6 tests) +
+
+
+โœ… tests +
+- **Outcome:** `passed` +- **Details:** +``` +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 + +``` + +
+
+
+ +
+
+โŒ tests/test_broken_fct.py +
+- **Outcome:** `failed` +- **Details:** +``` +result: + + +longrepr: +.pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule + mod = import_path( +.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path + importlib.import_module(module_name) +.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module + return _bootstrap._gcd_import(name[level:], package, level) +:1014: in _gcd_import + ??? +:991: in _find_and_load + ??? +:975: in _find_and_load_unlocked + ??? +:671: in _load_unlocked + ??? +.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:175: in exec_module + source_stat, co = _rewrite_test(fn, self.config) +.pixi/envs/default/lib/python3.8/site-packages/_pytest/assertion/rewrite.py:355: in _rewrite_test + tree = ast.parse(source, filename=strfn) +.pixi/envs/default/lib/python3.8/ast.py:47: in parse + return compile(source, filename, mode, flags, +E File "/workspace/tligui_y/slic/tests/test_broken_fct.py", line 8 +E def test_valid_2(): +E ^ +E SyntaxError: invalid syntax + +``` + +
+
+
+ +
+
+โŒ tests/test_collector_error.py +
+- **Outcome:** `failed` +- **Details:** +``` +result: + + +longrepr: +ImportError while importing test module '/workspace/tligui_y/slic/tests/test_collector_error.py'. +Hint: make sure your test modules/packages have valid Python names. +Traceback: +.pixi/envs/default/lib/python3.8/importlib/__init__.py:127: in import_module + return _bootstrap._gcd_import(name[level:], package, level) +tests/test_collector_error.py:1: in + from no_existing_module.math_utils import * +E ModuleNotFoundError: No module named 'no_existing_module' + +``` + +
+
+
+ +
+
+โœ… tests/test_io_utils.py +
+- **Outcome:** `passed` +- **Details:** +``` +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 + +``` + +
+
+
+ +
+
+โœ… tests/test_math_utils.py +
+- **Outcome:** `passed` +- **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: 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_wrong_argument_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_malformed_code +type: Function +lineno: 111 +nodeid: tests/test_math_utils.py::test_sys_exit +type: Function +lineno: 115 +nodeid: tests/test_math_utils.py::test_broken_function +type: Function +lineno: 119 +nodeid: tests/test_math_utils.py::test_import_error +type: Function +lineno: 125 +nodeid: tests/test_math_utils.py::test_module_not_found_error +type: Function +lineno: 128 + +``` + +
+
+
+ +
+
+โœ… tests/test_string_utils.py +
+- **Outcome:** `passed` +- **Details:** +``` +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 + +``` + +
+
+
+ + +
+
+
+ +
+
+โœ… . (1 tests) +
+
+
+โœ… . +
+- **Outcome:** `passed` +- **Details:** +``` +result: +nodeid: ci-reports +type: Dir +nodeid: functions +type: Package +nodeid: tests +type: Dir + +``` + +
+
+
+ + +
+
+
+ +## โš ๏ธ Warnings + +
+
+Warning #1 +
+``` +message: Test warning +category: UserWarning +when: runtest +filename: /workspace/tligui_y/slic/tests/test_string_utils.py +lineno: 22 +``` + +
+
+
+ diff --git a/ci-reports/markdown/json-tree-view.txt b/ci-reports/markdown/json-tree-view.txt index d6a0fd6f..16d6dce6 100644 --- a/ci-reports/markdown/json-tree-view.txt +++ b/ci-reports/markdown/json-tree-view.txt @@ -1,6 +1,6 @@ ๐Ÿ“ ci-reports/markdown/pytest-report.json -โ”œโ”€โ”€ created: 1752668600.2916565 -โ”œโ”€โ”€ duration: 0.7993791103363037 +โ”œโ”€โ”€ created: 1752669081.167785 +โ”œโ”€โ”€ duration: 0.7501904964447021 โ”œโ”€โ”€ exitcode: 2 โ”œโ”€โ”€ root: /workspace/tligui_y/slic โ”œโ”€โ”€ environment @@ -413,13 +413,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.003526311949826777 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.003595275920815766 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004922749940305948 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00044141197577118874 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002555770333856344 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00028476701118052006 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_write_file @@ -432,13 +432,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004940860671922565 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00048515491653233767 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00031598296482115984 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00029484694823622704 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017486303113400936 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015407497994601727 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_cause_io_error @@ -451,10 +451,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012546905782073736 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011433602776378393 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018073501996695995 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017172691877931356 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/functions/io_utils.py @@ -483,7 +483,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ functions/io_utils.py:10: OSError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018293398898094893 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013876892626285553 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_file_not_found @@ -496,10 +496,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012432003859430552 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013080204371362925 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018843100406229496 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018689502030611038 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/functions/io_utils.py @@ -532,7 +532,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ functions/io_utils.py:2: FileNotFoundError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000163285993039608 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013962702360004187 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_permission_error @@ -545,10 +545,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00022704596631228924 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002231169492006302 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018751807510852814 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017657596617937088 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -568,7 +568,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 34 โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: PermissionError โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -โ”‚ โ”‚ โ”‚ at 0x7fe8e27963d0> +โ”‚ โ”‚ โ”‚ at 0x7f88787971f0> โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ def test_permission_error(monkeypatch): โ”‚ โ”‚ โ”‚ # Patch open to raise PermissionError simulating access @@ -594,7 +594,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:34: PermissionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001819299068301916 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016338995192199945 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_mock_open_error @@ -607,10 +607,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00021494494285434484 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001863319193944335 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0034360940335318446 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.003433874109759927 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: @@ -636,7 +636,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 1140 โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: OSError โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -โ”‚ โ”‚ โ”‚ at 0x7fe8e2c79370> +โ”‚ โ”‚ โ”‚ at 0x7f8878aea3a0> โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ def test_mock_open_error(monkeypatch): โ”‚ โ”‚ โ”‚ # Mock open() to raise IOError simulating read error @@ -658,7 +658,7 @@ โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ self = +โ”‚ โ”‚ โ”‚ id='140224116993664'> โ”‚ โ”‚ โ”‚ args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked โ”‚ โ”‚ โ”‚ IOError') โ”‚ โ”‚ โ”‚ @@ -676,7 +676,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0003216071054339409 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000325641012750566 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_file_handle_closed_error @@ -689,10 +689,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001788209192454815 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014261901378631592 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019474502187222242 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018436601385474205 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -712,7 +712,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:50: ValueError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017801695503294468 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018508604262024164 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_os_error @@ -725,10 +725,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002496700035408139 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00025005603674799204 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018723099492490292 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001893820008262992 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -744,7 +744,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ lineno: 55 โ”‚ โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ message: OSError โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -โ”‚ โ”‚ โ”‚ at 0x7fe8e2a69160> +โ”‚ โ”‚ โ”‚ at 0x7f8878b83970> โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ def test_os_error(monkeypatch): โ”‚ โ”‚ โ”‚ # Patch os.remove to raise OSError simulating filesystem @@ -766,7 +766,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:55: OSError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018539500888437033 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001759000588208437 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_write_file_readonly @@ -779,13 +779,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0007141439709812403 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0006703670369461179 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.002568294992670417 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0010099749779328704 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000148270046338439 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014743104111403227 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_io_utils.py::test_file_not_found_error @@ -798,10 +798,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012015004176646471 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001269880449399352 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019820209126919508 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016558088827878237 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -822,7 +822,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_io_utils.py:69: FileNotFoundError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001495589967817068 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013674807269126177 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_broken @@ -835,10 +835,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014519598335027695 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013114709872752428 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001625689910724759 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015092897228896618 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -858,7 +858,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:16: NameError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014587701298296452 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013715599197894335 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_call_missing_function @@ -871,10 +871,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012282095849514008 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012048298958688974 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015739595983177423 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001569000305607915 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -895,7 +895,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:20: AttributeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014384498354047537 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013546901755034924 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[2-2-4] @@ -911,13 +911,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0003144450020045042 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0003033500397577882 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001612040214240551 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015070498920977116 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001523640239611268 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015688803978264332 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[1-5-6] @@ -933,13 +933,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002841569948941469 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002577470149844885 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015303597319871187 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013374898117035627 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014019699301570654 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013801909517496824 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-4-7] @@ -955,13 +955,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002535070525482297 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000247995019890368 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012683600652962923 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001336440909653902 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013174803461879492 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013493909500539303 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-5-8] @@ -977,13 +977,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00024365598801523447 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002354639582335949 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000124214100651443 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012533902190625668 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001357109285891056 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013140495866537094 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass[3-6-9] @@ -999,13 +999,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002502759452909231 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00024224095977842808 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012977398000657558 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012838700786232948 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013673503417521715 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001423449721187353 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1021,13 +1021,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00026927096769213676 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000240701949223876 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013038900215178728 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001246380852535367 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013212196063250303 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012816500384360552 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1043,13 +1043,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002506630262359977 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002405000850558281 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013062497600913048 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012857094407081604 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001341960160061717 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013381801545619965 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1065,13 +1065,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00024344702251255512 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00023148604668676853 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012490397784858942 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012287695426493883 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016894505824893713 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013855902943760157 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_addition_fail @@ -1084,10 +1084,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012955500278621912 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010465295054018497 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00048693304415792227 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004602000117301941 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1107,7 +1107,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:51: AssertionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001442349748685956 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013479997869580984 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_division_zero @@ -1120,10 +1120,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012062594760209322 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011658796574920416 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016994099132716656 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001537129282951355 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/functions/math_utils.py @@ -1155,7 +1155,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ functions/math_utils.py:5: ZeroDivisionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014220899902284145 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013586098793894053 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_multiply_xfail @@ -1170,10 +1170,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001323240576311946 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013183499686419964 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002773059532046318 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002708330284804106 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: skipped โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1195,7 +1195,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:60: AssertionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000141461961902678 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013694900553673506 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_runtime_error @@ -1208,10 +1208,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011898903176188469 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012816302478313446 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001567349536344409 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014491507317870855 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1229,7 +1229,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:64: RuntimeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001391950063407421 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001439959742128849 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_memory_error @@ -1242,10 +1242,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012199906632304192 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011757004540413618 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015010195784270763 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014841498341411352 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1264,7 +1264,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:68: MemoryError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013826601207256317 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013496296014636755 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_timeout_error @@ -1277,10 +1277,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001294130925089121 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012080499436706305 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015966698992997408 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016444502398371696 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1299,7 +1299,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:72: TimeoutError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013603700790554285 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013588392175734043 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_recursion_error @@ -1312,10 +1312,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012552505359053612 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012105400674045086 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0008221189491450787 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000794488936662674 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1350,7 +1350,7 @@ โ”‚ โ”‚ โ”‚ E RecursionError: maximum recursion depth exceeded โ”‚ โ”‚ โ”‚ !!! Recursion detected (same locals & position) โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019176595378667116 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014820101205259562 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_floating_point_error @@ -1363,10 +1363,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012288708239793777 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012795696966350079 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001563369296491146 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014878192450851202 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1385,7 +1385,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:82: FloatingPointError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014867493882775307 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014815095346421003 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_floating_point_overflow @@ -1398,10 +1398,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015366403385996819 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012155110016465187 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017817399930208921 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016813201364129782 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1419,7 +1419,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:86: OverflowError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014265498612076044 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.000133389956317842 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_value_error @@ -1432,10 +1432,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011789693962782621 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011530495248734951 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015450408682227135 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001695828977972269 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1455,7 +1455,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:90: ValueError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013908999972045422 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001331600360572338 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_wrong_argument_error @@ -1468,10 +1468,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013485096860677004 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011636095587164164 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015253096353262663 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014844699762761593 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1489,7 +1489,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:94: TypeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001402910565957427 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013497192412614822 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_unhandled_exception @@ -1502,10 +1502,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011737796012312174 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011635397095233202 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015142804477363825 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001452290453016758 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1523,7 +1523,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:98: Exception โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001355441054329276 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013443897478282452 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_custom_error @@ -1536,10 +1536,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012076692655682564 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012019695714116096 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014909193851053715 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014857901260256767 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1558,7 +1558,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:102: CustomError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001633180072531104 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001349990488961339 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_stop_iteration_direct @@ -1571,10 +1571,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012692203745245934 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012328207958489656 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014934793580323458 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014766701497137547 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: @@ -1661,7 +1661,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ cls = โ”‚ โ”‚ โ”‚ func = . at -โ”‚ โ”‚ โ”‚ 0x7fe8e2f9d9d0> +โ”‚ โ”‚ โ”‚ 0x7f8878fe29d0> โ”‚ โ”‚ โ”‚ when = 'call' โ”‚ โ”‚ โ”‚ reraise = (, ) @@ -1744,7 +1744,7 @@ โ”‚ โ”‚ โ”‚ .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.p โ”‚ โ”‚ โ”‚ y:880: RuntimeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002666480140760541 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0002609830116853118 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_generator_exit_direct @@ -1757,10 +1757,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018411199562251568 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014418293721973896 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018892704974859953 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017665093764662743 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1778,7 +1778,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:110: GeneratorExit โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001846830127760768 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00021367298904806376 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_malformed_code @@ -1791,10 +1791,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001474290620535612 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015095004346221685 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018248800188302994 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018263491801917553 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1818,7 +1818,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:114: SyntaxError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014749495312571526 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017652800306677818 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_sys_exit @@ -1831,10 +1831,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011946598533540964 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013629905879497528 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001568439183756709 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001639260444790125 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1852,7 +1852,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:118: SystemExit โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015981995966285467 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016490498092025518 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_broken_function @@ -1865,10 +1865,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001205869484692812 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012889399658888578 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015976594295352697 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017352402210235596 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1901,7 +1901,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:123: TypeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014802208170294762 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00018504902254790068 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_import_error @@ -1914,10 +1914,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012085691560059786 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012602796778082848 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015752797480672598 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016049796249717474 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1934,7 +1934,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_math_utils.py:127: ImportError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014204205945134163 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015318801160901785 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_math_utils.py::test_module_not_found_error @@ -1947,10 +1947,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011949101462960243 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001324110198765993 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004890960408374667 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0004889050032943487 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: @@ -1998,7 +1998,7 @@ โ”‚ โ”‚ โ”‚ _ _ _ _ _ _ _ _ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ name = 'non_existent_module_xyz' -โ”‚ โ”‚ โ”‚ import_ = +โ”‚ โ”‚ โ”‚ import_ = โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ > ??? โ”‚ โ”‚ โ”‚ E ModuleNotFoundError: No module named @@ -2006,7 +2006,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ :973: ModuleNotFoundError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015999795868992805 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00019180297385901213 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_uppercase_normal @@ -2019,13 +2019,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013608101289719343 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001402240013703704 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015169894322752953 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00017081806436181068 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010194408241659403 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010365108028054237 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_uppercase_type_error @@ -2038,10 +2038,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011623103637248278 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010728708002716303 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014619797002524137 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001441891072317958 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/functions/string_utils.py @@ -2073,7 +2073,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ functions/string_utils.py:3: TypeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015994510613381863 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015677104238420725 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_reverse_string @@ -2086,13 +2086,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012151501141488552 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013265898451209068 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014589098282158375 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014559703413397074 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010497297625988722 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 9.871902875602245e-05 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_warning_emit @@ -2105,13 +2105,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010931200813502073 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001056259498000145 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014705595094710588 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014387397095561028 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010917393956333399 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 9.504205081611872e-05 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_unicode_decode_error @@ -2124,10 +2124,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010297505650669336 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011332996655255556 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00014668900985270739 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00016076292376965284 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2147,7 +2147,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:26: UnicodeDecodeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001378429587930441 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001495330361649394 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: @@ -2161,10 +2161,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011964398436248302 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011588598135858774 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015563704073429108 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015357800293713808 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: failed โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2185,7 +2185,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:30: UnicodeDecodeError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00015800294931977987 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001372089609503746 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_import_warning @@ -2198,13 +2198,13 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012300896923989058 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00012020091526210308 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001392869744449854 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013733806554228067 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010897289030253887 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00010109296999871731 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”œโ”€โ”€ - โ”‚ โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_xfail_uppercase_digits @@ -2219,10 +2219,10 @@ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ”‚ โ”œโ”€โ”€ setup -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011716701555997133 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00011401704978197813 โ”‚ โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ”‚ โ”œโ”€โ”€ call -โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0006386439781636 +โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0006316539365798235 โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ outcome: skipped โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ crash โ”‚ โ”‚ โ”‚ โ”‚ โ”œโ”€โ”€ path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2251,7 +2251,7 @@ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ tests/test_string_utils.py:39: AssertionError โ”‚ โ”‚ โ””โ”€โ”€ teardown -โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.00013863993808627129 +โ”‚ โ”‚ โ”œโ”€โ”€ duration: 0.0001395359868183732 โ”‚ โ”‚ โ””โ”€โ”€ outcome: passed โ”‚ โ””โ”€โ”€ - โ”‚ โ”œโ”€โ”€ nodeid: tests/test_string_utils.py::test_keyboard_interrupt_direct @@ -2264,7 +2264,7 @@ โ”‚ โ”‚ โ”œโ”€โ”€ slic โ”‚ โ”‚ โ””โ”€โ”€ โ”‚ โ””โ”€โ”€ setup -โ”‚ โ”œโ”€โ”€ duration: 0.00011738797184079885 +โ”‚ โ”œโ”€โ”€ duration: 0.00011804199311882257 โ”‚ โ””โ”€โ”€ outcome: passed โ””โ”€โ”€ warnings โ””โ”€โ”€ - diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index 0682ae21..4537c19e 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752668600.2916565, "duration": 0.7993791103363037, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 31, "xfailed": 2, "total": 49, "collected": 49}, "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_wrong_argument_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_malformed_code", "type": "Function", "lineno": 111}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 115}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_import_error", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 128}]}, {"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.003526311949826777, "outcome": "passed"}, "call": {"duration": 0.0004922749940305948, "outcome": "passed"}, "teardown": {"duration": 0.0002555770333856344, "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.0004940860671922565, "outcome": "passed"}, "call": {"duration": 0.00031598296482115984, "outcome": "passed"}, "teardown": {"duration": 0.00017486303113400936, "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.00012546905782073736, "outcome": "passed"}, "call": {"duration": 0.00018073501996695995, "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.00018293398898094893, "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.00012432003859430552, "outcome": "passed"}, "call": {"duration": 0.00018843100406229496, "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.000163285993039608, "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.00022704596631228924, "outcome": "passed"}, "call": {"duration": 0.00018751807510852814, "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 0x7fe8e27963d0>\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.0001819299068301916, "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.00021494494285434484, "outcome": "passed"}, "call": {"duration": 0.0034360940335318446, "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 0x7fe8e2c79370>\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.0003216071054339409, "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.0001788209192454815, "outcome": "passed"}, "call": {"duration": 0.00019474502187222242, "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.00017801695503294468, "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.0002496700035408139, "outcome": "passed"}, "call": {"duration": 0.00018723099492490292, "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 0x7fe8e2a69160>\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.00018539500888437033, "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.0007141439709812403, "outcome": "passed"}, "call": {"duration": 0.002568294992670417, "outcome": "passed"}, "teardown": {"duration": 0.000148270046338439, "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.00012015004176646471, "outcome": "passed"}, "call": {"duration": 0.00019820209126919508, "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.0001495589967817068, "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.00014519598335027695, "outcome": "passed"}, "call": {"duration": 0.0001625689910724759, "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.00014587701298296452, "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.00012282095849514008, "outcome": "passed"}, "call": {"duration": 0.00015739595983177423, "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.00014384498354047537, "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.0003144450020045042, "outcome": "passed"}, "call": {"duration": 0.0001612040214240551, "outcome": "passed"}, "teardown": {"duration": 0.0001523640239611268, "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.0002841569948941469, "outcome": "passed"}, "call": {"duration": 0.00015303597319871187, "outcome": "passed"}, "teardown": {"duration": 0.00014019699301570654, "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.0002535070525482297, "outcome": "passed"}, "call": {"duration": 0.00012683600652962923, "outcome": "passed"}, "teardown": {"duration": 0.00013174803461879492, "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.00024365598801523447, "outcome": "passed"}, "call": {"duration": 0.000124214100651443, "outcome": "passed"}, "teardown": {"duration": 0.0001357109285891056, "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.0002502759452909231, "outcome": "passed"}, "call": {"duration": 0.00012977398000657558, "outcome": "passed"}, "teardown": {"duration": 0.00013673503417521715, "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.00026927096769213676, "outcome": "passed"}, "call": {"duration": 0.00013038900215178728, "outcome": "passed"}, "teardown": {"duration": 0.00013212196063250303, "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.0002506630262359977, "outcome": "passed"}, "call": {"duration": 0.00013062497600913048, "outcome": "passed"}, "teardown": {"duration": 0.0001341960160061717, "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.00024344702251255512, "outcome": "passed"}, "call": {"duration": 0.00012490397784858942, "outcome": "passed"}, "teardown": {"duration": 0.00016894505824893713, "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.00012955500278621912, "outcome": "passed"}, "call": {"duration": 0.00048693304415792227, "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.0001442349748685956, "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.00012062594760209322, "outcome": "passed"}, "call": {"duration": 0.00016994099132716656, "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.00014220899902284145, "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.0001323240576311946, "outcome": "passed"}, "call": {"duration": 0.0002773059532046318, "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.000141461961902678, "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.00011898903176188469, "outcome": "passed"}, "call": {"duration": 0.0001567349536344409, "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.0001391950063407421, "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.00012199906632304192, "outcome": "passed"}, "call": {"duration": 0.00015010195784270763, "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.00013826601207256317, "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.0001294130925089121, "outcome": "passed"}, "call": {"duration": 0.00015966698992997408, "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.00013603700790554285, "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.00012552505359053612, "outcome": "passed"}, "call": {"duration": 0.0008221189491450787, "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.00019176595378667116, "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.00012288708239793777, "outcome": "passed"}, "call": {"duration": 0.0001563369296491146, "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\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:82: FloatingPointError"}, "teardown": {"duration": 0.00014867493882775307, "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.00015366403385996819, "outcome": "passed"}, "call": {"duration": 0.00017817399930208921, "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.00014265498612076044, "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.00011789693962782621, "outcome": "passed"}, "call": {"duration": 0.00015450408682227135, "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.00013908999972045422, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "lineno": 91, "outcome": "failed", "keywords": ["test_wrong_argument_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013485096860677004, "outcome": "passed"}, "call": {"duration": 0.00015253096353262663, "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_wrong_argument_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.0001402910565957427, "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.00011737796012312174, "outcome": "passed"}, "call": {"duration": 0.00015142804477363825, "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.0001355441054329276, "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.00012076692655682564, "outcome": "passed"}, "call": {"duration": 0.00014909193851053715, "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.0001633180072531104, "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.00012692203745245934, "outcome": "passed"}, "call": {"duration": 0.00014934793580323458, "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 0x7fe8e2f9d9d0>\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.0002666480140760541, "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.00018411199562251568, "outcome": "passed"}, "call": {"duration": 0.00018892704974859953, "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.0001846830127760768, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 111, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001474290620535612, "outcome": "passed"}, "call": {"duration": 0.00018248800188302994, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 114, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 114, "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:114: SyntaxError"}, "teardown": {"duration": 0.00014749495312571526, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 115, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011946598533540964, "outcome": "passed"}, "call": {"duration": 0.0001568439183756709, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 118, "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:118: SystemExit"}, "teardown": {"duration": 0.00015981995966285467, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 119, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001205869484692812, "outcome": "passed"}, "call": {"duration": 0.00015976594295352697, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 123, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 124, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 123, "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:124: \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:123: TypeError"}, "teardown": {"duration": 0.00014802208170294762, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error", "lineno": 125, "outcome": "failed", "keywords": ["test_import_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012085691560059786, "outcome": "passed"}, "call": {"duration": 0.00015752797480672598, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 127, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 127, "message": "ImportError"}], "longrepr": "def test_import_error():\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:127: ImportError"}, "teardown": {"duration": 0.00014204205945134163, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 128, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011949101462960243, "outcome": "passed"}, "call": {"duration": 0.0004890960408374667, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "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:131: \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.00015999795868992805, "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.00013608101289719343, "outcome": "passed"}, "call": {"duration": 0.00015169894322752953, "outcome": "passed"}, "teardown": {"duration": 0.00010194408241659403, "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.00011623103637248278, "outcome": "passed"}, "call": {"duration": 0.00014619797002524137, "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.00015994510613381863, "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.00012151501141488552, "outcome": "passed"}, "call": {"duration": 0.00014589098282158375, "outcome": "passed"}, "teardown": {"duration": 0.00010497297625988722, "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.00010931200813502073, "outcome": "passed"}, "call": {"duration": 0.00014705595094710588, "outcome": "passed"}, "teardown": {"duration": 0.00010917393956333399, "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.00010297505650669336, "outcome": "passed"}, "call": {"duration": 0.00014668900985270739, "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.0001378429587930441, "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.00011964398436248302, "outcome": "passed"}, "call": {"duration": 0.00015563704073429108, "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.00015800294931977987, "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.00012300896923989058, "outcome": "passed"}, "call": {"duration": 0.0001392869744449854, "outcome": "passed"}, "teardown": {"duration": 0.00010897289030253887, "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.00011716701555997133, "outcome": "passed"}, "call": {"duration": 0.0006386439781636, "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.00013863993808627129, "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.00011738797184079885, "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": 1752669081.167785, "duration": 0.7501904964447021, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 16, "failed": 31, "xfailed": 2, "total": 49, "collected": 49}, "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_wrong_argument_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_malformed_code", "type": "Function", "lineno": 111}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "type": "Function", "lineno": 115}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_math_utils.py::test_import_error", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "type": "Function", "lineno": 128}]}, {"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.003595275920815766, "outcome": "passed"}, "call": {"duration": 0.00044141197577118874, "outcome": "passed"}, "teardown": {"duration": 0.00028476701118052006, "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.00048515491653233767, "outcome": "passed"}, "call": {"duration": 0.00029484694823622704, "outcome": "passed"}, "teardown": {"duration": 0.00015407497994601727, "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.00011433602776378393, "outcome": "passed"}, "call": {"duration": 0.00017172691877931356, "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.00013876892626285553, "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.00013080204371362925, "outcome": "passed"}, "call": {"duration": 0.00018689502030611038, "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.00013962702360004187, "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.0002231169492006302, "outcome": "passed"}, "call": {"duration": 0.00017657596617937088, "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 0x7f88787971f0>\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.00016338995192199945, "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.0001863319193944335, "outcome": "passed"}, "call": {"duration": 0.003433874109759927, "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 0x7f8878aea3a0>\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.000325641012750566, "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.00014261901378631592, "outcome": "passed"}, "call": {"duration": 0.00018436601385474205, "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.00018508604262024164, "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.00025005603674799204, "outcome": "passed"}, "call": {"duration": 0.0001893820008262992, "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 0x7f8878b83970>\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.0001759000588208437, "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.0006703670369461179, "outcome": "passed"}, "call": {"duration": 0.0010099749779328704, "outcome": "passed"}, "teardown": {"duration": 0.00014743104111403227, "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.0001269880449399352, "outcome": "passed"}, "call": {"duration": 0.00016558088827878237, "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.00013674807269126177, "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.00013114709872752428, "outcome": "passed"}, "call": {"duration": 0.00015092897228896618, "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.00013715599197894335, "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.00012048298958688974, "outcome": "passed"}, "call": {"duration": 0.0001569000305607915, "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.00013546901755034924, "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.0003033500397577882, "outcome": "passed"}, "call": {"duration": 0.00015070498920977116, "outcome": "passed"}, "teardown": {"duration": 0.00015688803978264332, "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.0002577470149844885, "outcome": "passed"}, "call": {"duration": 0.00013374898117035627, "outcome": "passed"}, "teardown": {"duration": 0.00013801909517496824, "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.000247995019890368, "outcome": "passed"}, "call": {"duration": 0.0001336440909653902, "outcome": "passed"}, "teardown": {"duration": 0.00013493909500539303, "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.0002354639582335949, "outcome": "passed"}, "call": {"duration": 0.00012533902190625668, "outcome": "passed"}, "teardown": {"duration": 0.00013140495866537094, "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.00024224095977842808, "outcome": "passed"}, "call": {"duration": 0.00012838700786232948, "outcome": "passed"}, "teardown": {"duration": 0.0001423449721187353, "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.000240701949223876, "outcome": "passed"}, "call": {"duration": 0.0001246380852535367, "outcome": "passed"}, "teardown": {"duration": 0.00012816500384360552, "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.0002405000850558281, "outcome": "passed"}, "call": {"duration": 0.00012857094407081604, "outcome": "passed"}, "teardown": {"duration": 0.00013381801545619965, "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.00023148604668676853, "outcome": "passed"}, "call": {"duration": 0.00012287695426493883, "outcome": "passed"}, "teardown": {"duration": 0.00013855902943760157, "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.00010465295054018497, "outcome": "passed"}, "call": {"duration": 0.0004602000117301941, "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.00013479997869580984, "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.00011658796574920416, "outcome": "passed"}, "call": {"duration": 0.0001537129282951355, "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.00013586098793894053, "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.00013183499686419964, "outcome": "passed"}, "call": {"duration": 0.0002708330284804106, "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.00013694900553673506, "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.00012816302478313446, "outcome": "passed"}, "call": {"duration": 0.00014491507317870855, "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.0001439959742128849, "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.00011757004540413618, "outcome": "passed"}, "call": {"duration": 0.00014841498341411352, "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.00013496296014636755, "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.00012080499436706305, "outcome": "passed"}, "call": {"duration": 0.00016444502398371696, "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.00013588392175734043, "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.00012105400674045086, "outcome": "passed"}, "call": {"duration": 0.000794488936662674, "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.00014820101205259562, "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.00012795696966350079, "outcome": "passed"}, "call": {"duration": 0.00014878192450851202, "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\n> raise FloatingPointError(\"Simulated floating point error\")\nE FloatingPointError: Simulated floating point error\n\ntests/test_math_utils.py:82: FloatingPointError"}, "teardown": {"duration": 0.00014815095346421003, "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.00012155110016465187, "outcome": "passed"}, "call": {"duration": 0.00016813201364129782, "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.000133389956317842, "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.00011530495248734951, "outcome": "passed"}, "call": {"duration": 0.0001695828977972269, "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.0001331600360572338, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_wrong_argument_error", "lineno": 91, "outcome": "failed", "keywords": ["test_wrong_argument_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011636095587164164, "outcome": "passed"}, "call": {"duration": 0.00014844699762761593, "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_wrong_argument_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.00013497192412614822, "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.00011635397095233202, "outcome": "passed"}, "call": {"duration": 0.0001452290453016758, "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.00013443897478282452, "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.00012019695714116096, "outcome": "passed"}, "call": {"duration": 0.00014857901260256767, "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.0001349990488961339, "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.00012328207958489656, "outcome": "passed"}, "call": {"duration": 0.00014766701497137547, "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 0x7f8878fe29d0>\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.0002609830116853118, "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.00014418293721973896, "outcome": "passed"}, "call": {"duration": 0.00017665093764662743, "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.00021367298904806376, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_malformed_code", "lineno": 111, "outcome": "failed", "keywords": ["test_malformed_code", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00015095004346221685, "outcome": "passed"}, "call": {"duration": 0.00018263491801917553, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 114, "message": " File \"\", line 1\n def bad(:\n ^\nSyntaxError: invalid syntax"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 114, "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:114: SyntaxError"}, "teardown": {"duration": 0.00017652800306677818, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_sys_exit", "lineno": 115, "outcome": "failed", "keywords": ["test_sys_exit", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013629905879497528, "outcome": "passed"}, "call": {"duration": 0.0001639260444790125, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 118, "message": "SystemExit: 1"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 118, "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:118: SystemExit"}, "teardown": {"duration": 0.00016490498092025518, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_broken_function", "lineno": 119, "outcome": "failed", "keywords": ["test_broken_function", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012889399658888578, "outcome": "passed"}, "call": {"duration": 0.00017352402210235596, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 123, "message": "TypeError: Broken function"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 124, "message": ""}, {"path": "tests/test_math_utils.py", "lineno": 123, "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:124: \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:123: TypeError"}, "teardown": {"duration": 0.00018504902254790068, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_import_error", "lineno": 125, "outcome": "failed", "keywords": ["test_import_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012602796778082848, "outcome": "passed"}, "call": {"duration": 0.00016049796249717474, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_math_utils.py", "lineno": 127, "message": "ImportError: Simulated ImportError"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 127, "message": "ImportError"}], "longrepr": "def test_import_error():\n> raise ImportError(\"Simulated ImportError\")\nE ImportError: Simulated ImportError\n\ntests/test_math_utils.py:127: ImportError"}, "teardown": {"duration": 0.00015318801160901785, "outcome": "passed"}}, {"nodeid": "tests/test_math_utils.py::test_module_not_found_error", "lineno": 128, "outcome": "failed", "keywords": ["test_module_not_found_error", "test_math_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001324110198765993, "outcome": "passed"}, "call": {"duration": 0.0004889050032943487, "outcome": "failed", "crash": {"path": "", "lineno": 973, "message": "ModuleNotFoundError: No module named 'non_existent_module_xyz'"}, "traceback": [{"path": "tests/test_math_utils.py", "lineno": 131, "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:131: \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.00019180297385901213, "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.0001402240013703704, "outcome": "passed"}, "call": {"duration": 0.00017081806436181068, "outcome": "passed"}, "teardown": {"duration": 0.00010365108028054237, "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.00010728708002716303, "outcome": "passed"}, "call": {"duration": 0.0001441891072317958, "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.00015677104238420725, "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.00013265898451209068, "outcome": "passed"}, "call": {"duration": 0.00014559703413397074, "outcome": "passed"}, "teardown": {"duration": 9.871902875602245e-05, "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.0001056259498000145, "outcome": "passed"}, "call": {"duration": 0.00014387397095561028, "outcome": "passed"}, "teardown": {"duration": 9.504205081611872e-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.00011332996655255556, "outcome": "passed"}, "call": {"duration": 0.00016076292376965284, "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.0001495330361649394, "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.00011588598135858774, "outcome": "passed"}, "call": {"duration": 0.00015357800293713808, "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.0001372089609503746, "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.00012020091526210308, "outcome": "passed"}, "call": {"duration": 0.00013733806554228067, "outcome": "passed"}, "teardown": {"duration": 0.00010109296999871731, "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.00011401704978197813, "outcome": "passed"}, "call": {"duration": 0.0006316539365798235, "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.0001395359868183732, "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.00011804199311882257, "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