diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 2e0e943a..70cca30b 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -1,578 +1,8 @@ -⚠️ **Test execution interrupted** - -> The test run was interrupted by the user (reasons : KeyboardInterrupt or ...). - -
-🪵 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: allure-pytest-2.13.5, cov-5.0.0, html-4.1.1, metadata-3.1.1, json-report-1.5.0, md-report-0.6.2 -collected 72 items / 2 errors - -tests/test_io_utils.py ..FFFFFF.F -tests/test_math_utils.py FF........FFxFFFFFFFFFFFFFFFFF -tests/test_param.py ...s.....E............F -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' -_______________ ERROR at setup of TestDynamic.test_sum_positive ________________ -file /workspace/tligui_y/slic/tests/test_param.py, line 71 - def test_sum_positive(self, x, y): -E fixture 'x' not found -> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, complex_setup, cov, doctest_namespace, element, extra, extras, include_metadata_in_junit_xml, json_metadata, metadata, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory -> use 'pytest --fixtures [testpath]' for help on them. - -/workspace/tligui_y/slic/tests/test_param.py:71 -=================================== FAILURES =================================== -_____________________________ test_cause_io_error ______________________________ - - 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 -_____________________________ test_file_not_found ______________________________ - - 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 -____________________________ test_permission_error _____________________________ - -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd466f5e8e0> - - 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 -_____________________________ test_mock_open_error _____________________________ - -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd4669442e0> - - 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 -________________________ test_file_handle_closed_error _________________________ - - 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 -________________________________ test_os_error _________________________________ - -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd466c6ab20> - - 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 -__________________________ 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 -_________________________________ 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 -__________________________ 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 -______________________________ 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 -______________________________ test_division_zero ______________________________ - - 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 -______________________________ 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 -______________________________ 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 -______________________________ 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 -_____________________________ test_recursion_error _____________________________ - - 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) -__________________________ 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 -_________________________ 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 -_______________________________ 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 -__________________________ 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 -___________________________ 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 -______________________________ 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 -__________________________ test_stop_iteration_direct __________________________ - - 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 0x7fd466f3a700> -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 -__________________________ test_generator_exit_direct __________________________ - - def test_generator_exit_direct(): - # Directly raise GeneratorExit exception -> raise GeneratorExit() -E GeneratorExit - -tests/test_math_utils.py:110: GeneratorExit -_____________________________ test_malformed_code ______________________________ - - 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 -________________________________ 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 -_____________________________ test_broken_function _____________________________ - - 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 -______________________________ test_import_error _______________________________ - - def test_import_error(): -> raise ImportError("Simulated ImportError") -E ImportError: Simulated ImportError - -tests/test_math_utils.py:127: ImportError -_________________________ test_module_not_found_error __________________________ - - def test_module_not_found_error(): - # Raises ModuleNotFoundError (subclass of ImportError) for missing module -> importlib.import_module("non_existent_module_xyz") - -tests/test_math_utils.py: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 -________________________________ test_addition _________________________________ - -a = 5, b = 5, expected = 10 - - def test_addition(a = 5, b = 5, expected = 10): - # Has to pass -> assert addition(a, b) == expected -E NameError: name 'addition' is not defined - -tests/test_param.py:107: NameError -__________________________ test_uppercase_type_error ___________________________ - - def test_uppercase_type_error(): - # TypeError when input is None (invalid input) -> uppercase(None) - -tests/test_string_utils.py:16: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -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 -__________________________ 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:28: UnicodeDecodeError -_____________________ 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:32: UnicodeDecodeError -=============================== warnings summary =============================== -tests/test_string_utils.py::test_warning_emit - /workspace/tligui_y/slic/tests/test_string_utils.py:24: 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_param.py::test_addition - NameError: name 'addition' is not defined -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 -ERROR tests/test_param.py::TestDynamic::test_sum_positive -!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -/workspace/tligui_y/slic/tests/test_string_utils.py:52: KeyboardInterrupt -(to show a full traceback on KeyboardInterrupt use --full-trace) -=== 32 failed, 35 passed, 1 skipped, 2 xfailed, 1 warning, 3 errors in 0.87s === -``` -
- ---- - # 🧪 Test Report -*Generated on 2025-07-18 00:32:19 CEST* +*Generated on 2025-07-18 00:35:44 CEST* ## 🧾 General Info -- **duration**: 0.8680882453918457 +- **duration**: 0.8708326816558838 - **root**: /workspace/tligui_y/slic - **environment**: {} @@ -586,6298 +16,3 @@ ERROR tests/test_param.py::TestDynamic::test_sum_positive - **Collected**: 72 ## 🔎 Tests -
-✅ Passed (36) - -
-▶️ 📁 test_io_utils.py - -
-▶️ ▶️ 🔧 Function: `test_read_file` - -
-▶️ ▶️ ▶️ ▶️ ✅ #1 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.003938680049031973 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0005063220160081983 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002667560474947095 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_write_file` - -
-▶️ ▶️ ▶️ ▶️ ✅ #2 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0005579169373959303 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0003184290835633874 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015194108709692955 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_write_file_readonly` - -
-▶️ ▶️ ▶️ ▶️ ✅ #9 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0007923149969428778 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0011412960011512041 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001715740654617548 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-▶️ 📁 test_math_utils.py - -
-▶️ ▶️ 🔧 Function: `test_addition_pass` - -
-▶️ ▶️ ▶️ ▶️ ✅ #13 params: a=2, b=2, expected=4 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 2 - b: 2 - expected: 4 -id: 2-2-4 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0003557100426405668 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016070401761680841 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001718839630484581 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #14 params: a=1, b=5, expected=6 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 1 - b: 5 - expected: 6 -id: 1-5-6 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002720319898799062 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001407349482178688 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014150794595479965 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #15 params: a=3, b=4, expected=7 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 3 - b: 4 - expected: 7 -id: 3-4-7 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00025446899235248566 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013518496416509151 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013927300460636616 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #16 params: a=3, b=5, expected=8 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 3 - b: 5 - expected: 8 -id: 3-5-8 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00023732706904411316 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014572404325008392 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014652893878519535 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #17 params: a=3, b=6, expected=9 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 3 - b: 6 - expected: 9 -id: 3-6-9 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002515829401090741 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014492601621896029 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001419930486008525 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_addition_pass_id` - -
-▶️ ▶️ ▶️ ▶️ ✅ #18 params: a=2, b=2, expected=4 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 2 - b: 2 - expected: 4 -id: a=2,b=2,expected=4 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002527550095692277 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013582094106823206 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001394370337948203 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #19 params: a=1, b=5, expected=6 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 1 - b: 5 - expected: 6 -id: a=1,b=5,expected=6 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00027371395844966173 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012990704271942377 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001378529705107212 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #20 params: a=3, b=4, expected=7 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 3 - b: 4 - expected: 7 -id: a=3,b=4,expected=7 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00025770498905330896 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012891099322587252 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014449097216129303 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-▶️ 📁 test_param.py - -
-▶️ ▶️ 🔧 Function: `test_basic_ids` - -
-▶️ ▶️ ▶️ ▶️ ✅ #41 params: x=1 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - x: 1 -id: one -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00030047609470784664 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016878696624189615 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013842293992638588 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #42 params: x=2 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - x: 2 -id: two -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00019119202625006437 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013613898772746325 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00011882500257343054 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_with_reason_and_marks` - -
-▶️ ▶️ ▶️ ▶️ ✅ #43 params: x=10 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - x: 10 -id: ten -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001636369852349162 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001382509944960475 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001186770386993885 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_multiple_positional_args` - -
-▶️ ▶️ ▶️ ▶️ ✅ #45 params: a=1, b=2 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 1 - b: 2 -id: 1-2 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002457479713484645 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014373508747667074 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013499206397682428 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #46 params: a=3, b=4 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 3 - b: 4 -id: 3-4 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002064799191430211 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001446659443899989 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014427106361836195 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_non_literal_with_id` - -
-▶️ ▶️ ▶️ ▶️ ✅ #47 params: data=(object object at 0x7fd466bda960) - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - data: -id: custom-obj -``` - - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00017221493180841208 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014430400915443897 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001282690791413188 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- - -
-▶️ ▶️ 🔧 Function: `test_timedistance_v1` - -
-▶️ ▶️ ▶️ ▶️ ✅ #48 params: a=2001-12-12 00:00:00, b=2001-12-11 00:00:00, expected=1 day, 0:00:00 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 2001-12-12 00:00:00 - b: 2001-12-11 00:00:00 - expected: 1 day, 0:00:00 -id: a0-b0-expected0 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002601470332592726 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001430939882993698 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013901398051530123 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #49 params: a=2001-12-11 00:00:00, b=2001-12-12 00:00:00, expected=-1 day, 0:00:00 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - a: 2001-12-11 00:00:00 - b: 2001-12-12 00:00:00 - expected: -1 day, 0:00:00 -id: a1-b1-expected1 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00024175108410418034 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015327997971326113 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015468895435333252 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_dynamic` - -
-▶️ ▶️ ▶️ ▶️ ✅ #51 params: val=10 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - val: 10 -id: ten -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001856270246207714 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013071892317384481 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00011859892401844263 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #52 params: val=20 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - val: 20 -id: twenty -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001680969726294279 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014720798935741186 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001188140595331788 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #53 params: val=30 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - val: 30 -id: thirty -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016193499322980642 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012127496302127838 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013094197493046522 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_element_type` - -
-▶️ ▶️ ▶️ ▶️ ✅ #54 params: element=fire - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - element: fire -id: \U0001f525 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001635371008887887 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012324901763349771 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012399698607623577 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #55 params: element=water - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - element: water -id: \U0001f4a7 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00017936795484274626 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001222860300913453 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00011837505735456944 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #56 params: element=earth - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - element: earth -id: \U0001f30d -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016431300900876522 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012099999003112316 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00011727598030120134 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_combination` - -
-▶️ ▶️ ▶️ ▶️ ✅ #57 params: y=a, x=1 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - y: a - x: 1 -id: a-1 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00020999496337026358 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012571504339575768 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012275902554392815 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #58 params: y=a, x=2 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - y: a - x: 2 -id: a-2 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00020620296709239483 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012850796338170767 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001271989895030856 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #59 params: y=b, x=1 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - y: b - x: 1 -id: b-1 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00020310503896325827 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012249092105776072 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001311959931626916 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #60 params: y=b, x=2 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - y: b - x: 2 -id: b-2 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002059841062873602 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012506998609751463 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012300699017941952 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_indirect_fixture` - -
-▶️ ▶️ ▶️ ▶️ ✅ #61 params: complex_setup=1 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - complex_setup: 1 -id: 1 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0003793039359152317 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014133600052446127 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012198195327073336 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-▶️ ▶️ ▶️ ▶️ ✅ #62 params: complex_setup=2 - -
-▶️ ▶️ ▶️ ▶️ 📌 Runtime Parameters - -```python -params: - complex_setup: 2 -id: 2 -``` -
- -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001689760247245431 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001268000341951847 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00011569901835173368 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
- -
-▶️ 📁 test_string_utils.py - -
-▶️ ▶️ 🔧 Function: `test_uppercase_normal` - -
-▶️ ▶️ ▶️ ▶️ ✅ #64 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001334690023213625 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00017701496835798025 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00010455900337547064 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_reverse_string` - -
-▶️ ▶️ ▶️ ▶️ ✅ #66 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013035698793828487 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015214597806334496 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00010314001701772213 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_warning_emit` - -
-▶️ ▶️ ▶️ ▶️ ✅ #67 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00011578993871808052 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016405899077653885 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00010211195331066847 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_import_warning` - -
-▶️ ▶️ ▶️ ▶️ ✅ #70 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012488802894949913 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015762599650770426 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001053359592333436 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_keyboard_interrupt_direct` - -
-▶️ ▶️ ▶️ ▶️ ✅ #72 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012405100278556347 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
- -
-❌ Failed (32) - -
-▶️ 📁 test_io_utils.py - -
-▶️ ▶️ 🔧 Function: `test_cause_io_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #3 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012269197031855583 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016928906552493572 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/functions/io_utils.py -lineno: 10 -message: OSError: Forced IO Error for testing -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_io_utils.py - lineno: 25 - message: None -- path: functions/io_utils.py - lineno: 10 - message: OSError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.0001838039606809616 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_file_not_found` - -
-▶️ ▶️ ▶️ ▶️ ❌ #4 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013523409143090248 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002121570287272334 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/functions/io_utils.py -lineno: 2 -message: FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file' -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_io_utils.py - lineno: 29 - message: None -- path: functions/io_utils.py - lineno: 2 - message: FileNotFoundError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00020094995852559805 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_permission_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #5 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002663879422470927 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00020063889678567648 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_io_utils.py -lineno: 34 -message: PermissionError: Permission denied -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- 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 - -```python -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd466f5e8e0> - - 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 - -```python -0.00023256591521203518 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_mock_open_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #6 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00026671402156352997 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.003483411972410977 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/unittest/mock.py -lineno: 1140 -message: OSError: Mocked IOError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- 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 - -```python -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd4669442e0> - - 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 - -```python -0.0003593940054997802 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_file_handle_closed_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #7 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015988596715033054 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00022036500740796328 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_io_utils.py -lineno: 50 -message: ValueError: I/O operation on closed file -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_io_utils.py - lineno: 50 - message: ValueError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00021720200311392546 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_os_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #8 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00028617295902222395 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002056289231404662 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_io_utils.py -lineno: 55 -message: OSError: Simulated OSError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_io_utils.py - lineno: 57 - message: None -- path: tests/test_io_utils.py - lineno: 55 - message: OSError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd466c6ab20> - - 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 - -```python -0.00025719194673001766 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_file_not_found_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #10 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014008698053658009 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00019075290765613317 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -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 - -```python -- path: tests/test_io_utils.py - lineno: 69 - message: FileNotFoundError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00016167806461453438 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-▶️ 📁 test_math_utils.py - -
-▶️ ▶️ 🔧 Function: `test_broken` - -
-▶️ ▶️ ▶️ ▶️ ❌ #11 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016143801622092724 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001837590243667364 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 16 -message: NameError: name 'want_the_test_to_fail' is not defined -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 16 - message: NameError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.0001907719997689128 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_call_missing_function` - -
-▶️ ▶️ ▶️ ▶️ ❌ #12 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014167907647788525 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00017743592616170645 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -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 - -```python -- path: tests/test_math_utils.py - lineno: 20 - message: AttributeError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00015704601537436247 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_addition_fail` - -
-▶️ ▶️ ▶️ ▶️ ❌ #21 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00010698498226702213 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0005300380289554596 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 51 -message: assert 4 == 5 - + where 4 = addition(2, 2) -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 51 - message: AssertionError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00017780903726816177 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_division_zero` - -
-▶️ ▶️ ▶️ ▶️ ❌ #22 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013072008732706308 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00017238094005733728 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/functions/math_utils.py -lineno: 5 -message: ZeroDivisionError: division by zero -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 55 - message: None -- path: functions/math_utils.py - lineno: 5 - message: ZeroDivisionError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00017717201262712479 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_runtime_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #24 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013604597188532352 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016752199735492468 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 64 -message: RuntimeError: Forced runtime error -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 64 - message: RuntimeError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00021249393466860056 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_memory_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #25 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014093099161982536 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00017142097931355238 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 68 -message: MemoryError: Simulated memory error -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 68 - message: MemoryError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00020946108270436525 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_timeout_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #26 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00014280108734965324 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001711410004645586 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 72 -message: TimeoutError: Simulated timeout error -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 72 - message: TimeoutError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00020538410171866417 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_recursion_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #27 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001516349148005247 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.001071167062036693 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 77 -message: RecursionError: maximum recursion depth exceeded -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- 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 - -```python -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 - -```python -0.00027304503601044416 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_floating_point_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #28 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00018789793830364943 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00019278505351394415 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 82 -message: FloatingPointError: Simulated floating point error -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 82 - message: FloatingPointError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00022307096514850855 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_floating_point_overflow` - -
-▶️ ▶️ ▶️ ▶️ ❌ #29 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001619240501895547 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00020230899099260569 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 86 -message: OverflowError: math range error -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 86 - message: OverflowError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00026020302902907133 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_value_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #30 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001663680886849761 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00019821594469249249 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 90 -message: ValueError: invalid literal for int() with base 10: 'invalid' -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 90 - message: ValueError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.000227580894716084 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_wrong_argument_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #31 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016146700363606215 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00019120797514915466 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 94 -message: TypeError: 'int' object is not iterable -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 94 - message: TypeError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00021881493739783764 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_unhandled_exception` - -
-▶️ ▶️ ▶️ ▶️ ❌ #32 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001670790370553732 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00019578600767999887 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 98 -message: Exception: Generic unhandled exception -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 98 - message: Exception -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00021196703892201185 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_custom_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #33 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015878805425018072 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00018661096692085266 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 102 -message: test_math_utils.CustomError: Custom error simulation -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 102 - message: CustomError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.0002166079357266426 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_stop_iteration_direct` - -
-▶️ ▶️ ▶️ ▶️ ❌ #34 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016521301586180925 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001944410614669323 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py -lineno: 880 -message: RuntimeError: generator raised StopIteration -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- 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 - -```python -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 0x7fd466f3a700> -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 - -```python -0.00030061102006584406 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_generator_exit_direct` - -
-▶️ ▶️ ▶️ ▶️ ❌ #35 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00018094794359058142 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001996959326788783 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 110 -message: GeneratorExit -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 110 - message: GeneratorExit -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -def test_generator_exit_direct(): - # Directly raise GeneratorExit exception -> raise GeneratorExit() -E GeneratorExit - -tests/test_math_utils.py:110: GeneratorExit -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00026764499489217997 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_malformed_code` - -
-▶️ ▶️ ▶️ ▶️ ❌ #36 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015289103612303734 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002156021073460579 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 114 -message: File "", line 1 - def bad(: - ^ -SyntaxError: invalid syntax -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 114 - message: SyntaxError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.0002576360711827874 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_sys_exit` - -
-▶️ ▶️ ▶️ ▶️ ❌ #37 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001604260178282857 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00019332498777657747 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 118 -message: SystemExit: 1 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 118 - message: SystemExit -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.0002476929221302271 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_broken_function` - -
-▶️ ▶️ ▶️ ▶️ ❌ #38 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015033804811537266 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00021614704746752977 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 123 -message: TypeError: Broken function -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 124 - message: None -- path: tests/test_math_utils.py - lineno: 123 - message: TypeError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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 - -```python -0.00022305699530988932 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_import_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #39 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001747088972479105 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00023076799698174 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 127 -message: ImportError: Simulated ImportError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 127 - message: ImportError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -def test_import_error(): -> raise ImportError("Simulated ImportError") -E ImportError: Simulated ImportError - -tests/test_math_utils.py:127: ImportError -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00018300896044820547 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_module_not_found_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #40 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00013766204938292503 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0005122219445183873 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: -lineno: 973 -message: ModuleNotFoundError: No module named 'non_existent_module_xyz' -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- 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 - -```python -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 - -```python -0.00023928203154355288 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-▶️ 📁 test_param.py - -
-▶️ ▶️ 🔧 Function: `test_addition` - -
-▶️ ▶️ ▶️ ▶️ ❌ #63 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00010615307837724686 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015776301734149456 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_param.py -lineno: 107 -message: NameError: name 'addition' is not defined -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_param.py - lineno: 107 - message: NameError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -a = 5, b = 5, expected = 10 - - def test_addition(a = 5, b = 5, expected = 10): - # Has to pass -> assert addition(a, b) == expected -E NameError: name 'addition' is not defined - -tests/test_param.py:107: NameError -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016685703303664923 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-▶️ 📁 test_string_utils.py - -
-▶️ ▶️ 🔧 Function: `test_uppercase_type_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #65 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001102830283343792 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001720399595797062 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/functions/string_utils.py -lineno: 3 -message: TypeError: Input cannot be None -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_string_utils.py - lineno: 16 - message: None -- path: functions/string_utils.py - lineno: 3 - message: TypeError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -def test_uppercase_type_error(): - # TypeError when input is None (invalid input) -> uppercase(None) - -tests/test_string_utils.py:16: -_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ - -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 - -```python -0.00015965395141392946 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_unicode_decode_error` - -
-▶️ ▶️ ▶️ ▶️ ❌ #68 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00010881200432777405 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00018069299403578043 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_string_utils.py -lineno: 28 -message: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_string_utils.py - lineno: 28 - message: UnicodeDecodeError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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:28: UnicodeDecodeError -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001528740394860506 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-▶️ ▶️ 🔧 Function: `test_unicode_decode_surrogateescape` - -
-▶️ ▶️ ▶️ ▶️ ❌ #69 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001264140009880066 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016648601740598679 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_string_utils.py -lineno: 32 -message: UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_string_utils.py - lineno: 32 - message: UnicodeDecodeError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -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:32: UnicodeDecodeError -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015061604790389538 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-
-❌ Xfailed (2) - -
-▶️ 📁 test_math_utils.py - -
-▶️ ▶️ 🔧 Function: `test_multiply_xfail` - -
-▶️ ▶️ ▶️ ▶️ ❌ #23 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00016561197116971016 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00030839210376143456 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -skipped -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_math_utils.py -lineno: 60 -message: assert 4 == 5 - + where 4 = multiply(2, 2) -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_math_utils.py - lineno: 60 - message: AssertionError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -@pytest.mark.xfail(reason="Expected failure") - def test_multiply_xfail(): - # Expected fail test (xfail): incorrect expected multiply result -> assert multiply(2, 2) == 5 -E assert 4 == 5 -E + where 4 = multiply(2, 2) - -tests/test_math_utils.py:60: AssertionError -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00018123409245163202 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-▶️ 📁 test_string_utils.py - -
-▶️ ▶️ 🔧 Function: `test_xfail_uppercase_digits` - -
-▶️ ▶️ ▶️ ▶️ ❌ #71 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00012526800855994225 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
- -### 🔧 Call Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0006831710925325751 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -skipped -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Crash - -```python -path: /workspace/tligui_y/slic/tests/test_string_utils.py -lineno: 41 -message: AssertionError: assert 'ABC123' == 'ABC1234' - - - ABC1234 - ? - - + ABC123 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Traceback - -```python -- path: tests/test_string_utils.py - lineno: 41 - message: AssertionError -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -@pytest.mark.xfail(reason="Expected failure: uppercase does not handle digits") - def test_xfail_uppercase_digits(): - # Expected fail test because uppercase won't change digits -> assert uppercase("abc123") == "ABC1234" -E AssertionError: assert 'ABC123' == 'ABC1234' -E -E - ABC1234 -E ? - -E + ABC123 - -tests/test_string_utils.py:41: AssertionError -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015418801922351122 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-
-❌ Skipped (1) - -
-▶️ 📁 test_param.py - -
-▶️ ▶️ 🔧 Function: `test_with_reason_and_marks` - -
-▶️ ▶️ ▶️ ▶️ ❌ #44 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0002609130460768938 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -skipped -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -('/workspace/tligui_y/slic/tests/test_param.py', 12, 'Skipped: nope') -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001349740196019411 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-
-❌ Error (1) - -
-▶️ 📁 test_param.py - -
-▶️ ▶️ 🔧 Function: `TestDynamic` - -
-▶️ ▶️ ▶️ ▶️ ❌ #50 - -### 🔧 Setup Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.0001541879028081894 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -failed -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Longrepr - -```python -file /workspace/tligui_y/slic/tests/test_param.py, line 71 - def test_sum_positive(self, x, y): -E fixture 'x' not found -> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, complex_setup, cov, doctest_namespace, element, extra, extras, include_metadata_in_junit_xml, json_metadata, metadata, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory -> use 'pytest --fixtures [testpath]' for help on them. - -/workspace/tligui_y/slic/tests/test_param.py:71 -``` -
- -### 🔧 Teardown Phase - -
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Duration - -```python -0.00015011499635875225 -``` -
-
-▶️ ▶️ ▶️ ▶️ ▶️ 📌 Outcome - -```python -passed -``` -
-
-
-
-
-## 📚 Collected files -
-▶️ ✅ (1 tests) - -
-▶️ ▶️ ✅ - -- **Outcome:** `passed` -- **result:** - -```python -- nodeid: . - type: Dir -``` -
-
-
-▶️ ✅ ci-reports (12 tests) - -
-▶️ ▶️ ✅ ci-reports - -- **Outcome:** `passed` -- **result:** - -```python -- nodeid: ci-reports/allure - type: Dir -- nodeid: ci-reports/coverage - type: Dir -- nodeid: ci-reports/markdown - type: Dir -``` -
-
-▶️ ▶️ ✅ ci-reports/allure - -- **Outcome:** `passed` -- **result:** - -```python -- 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` -- **result:** - -```python -[] -``` -
-
-▶️ ▶️ ✅ ci-reports/allure/export - -- **Outcome:** `passed` -- **result:** - -```python -[] -``` -
-
-▶️ ▶️ ✅ ci-reports/allure/history - -- **Outcome:** `passed` -- **result:** - -```python -[] -``` -
-
-▶️ ▶️ ✅ ci-reports/allure/plugin - -- **Outcome:** `passed` -- **result:** - -```python -- 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` -- **result:** - -```python -[] -``` -
-
-▶️ ▶️ ✅ ci-reports/allure/plugin/packages - -- **Outcome:** `passed` -- **result:** - -```python -[] -``` -
-
-▶️ ▶️ ✅ ci-reports/allure/plugin/screen-diff - -- **Outcome:** `passed` -- **result:** - -```python -[] -``` -
-
-▶️ ▶️ ✅ ci-reports/allure/widgets - -- **Outcome:** `passed` -- **result:** - -```python -[] -``` -
-
-▶️ ▶️ ✅ ci-reports/coverage - -- **Outcome:** `passed` -- **result:** - -```python -[] -``` -
-
-▶️ ▶️ ✅ ci-reports/markdown - -- **Outcome:** `passed` -- **result:** - -```python -[] -``` -
-
-
-▶️ ✅ functions (1 tests) - -
-▶️ ▶️ ✅ functions - -- **Outcome:** `passed` -- **result:** - -```python -[] -``` -
-
-
-▶️ ❌ tests (8 tests) - -
-▶️ ▶️ ✅ tests - -- **Outcome:** `passed` -- **result:** - -```python -- 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_param.py - type: Module -- nodeid: tests/test_string_utils.py - type: Module -``` -
-
-▶️ ▶️ ❌ tests/test_broken_fct.py - -- **Outcome:** `failed` -- **result:** - -```python -[] -``` - -- **longrepr:** - -```python -.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` -- **result:** - -```python -[] -``` - -- **longrepr:** - -```python -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` -- **result:** - -```python -- 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` -- **result:** - -```python -- 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_param.py - -- **Outcome:** `passed` -- **result:** - -```python -- nodeid: tests/test_param.py::test_basic_ids[one] - type: Function - lineno: 3 -- nodeid: tests/test_param.py::test_basic_ids[two] - type: Function - lineno: 3 -- nodeid: tests/test_param.py::test_with_reason_and_marks[ten] - type: Function - lineno: 11 -- nodeid: tests/test_param.py::test_with_reason_and_marks[twenty] - type: Function - lineno: 11 -- nodeid: tests/test_param.py::test_multiple_positional_args[1-2] - type: Function - lineno: 19 -- nodeid: tests/test_param.py::test_multiple_positional_args[3-4] - type: Function - lineno: 19 -- nodeid: tests/test_param.py::test_non_literal_with_id[custom-obj] - type: Function - lineno: 27 -- nodeid: tests/test_param.py::test_timedistance_v1[a0-b0-expected0] - type: Function - lineno: 40 -- nodeid: tests/test_param.py::test_timedistance_v1[a1-b1-expected1] - type: Function - lineno: 40 -- nodeid: tests/test_param.py::TestDynamic - type: Class -- nodeid: tests/test_param.py::test_dynamic[ten] - type: Function - lineno: 78 -- nodeid: tests/test_param.py::test_dynamic[twenty] - type: Function - lineno: 78 -- nodeid: tests/test_param.py::test_dynamic[thirty] - type: Function - lineno: 78 -- nodeid: tests/test_param.py::test_element_type[\U0001f525] - type: Function - lineno: 87 -- nodeid: tests/test_param.py::test_element_type[\U0001f4a7] - type: Function - lineno: 87 -- nodeid: tests/test_param.py::test_element_type[\U0001f30d] - type: Function - lineno: 87 -- nodeid: tests/test_param.py::test_combination[a-1] - type: Function - lineno: 90 -- nodeid: tests/test_param.py::test_combination[a-2] - type: Function - lineno: 90 -- nodeid: tests/test_param.py::test_combination[b-1] - type: Function - lineno: 90 -- nodeid: tests/test_param.py::test_combination[b-2] - type: Function - lineno: 90 -- nodeid: tests/test_param.py::test_indirect_fixture[1] - type: Function - lineno: 100 -- nodeid: tests/test_param.py::test_indirect_fixture[2] - type: Function - lineno: 100 -- nodeid: tests/test_param.py::test_addition - type: Function - lineno: 104 -``` -
-
-▶️ ▶️ ✅ tests/test_param.py::TestDynamic - -- **Outcome:** `passed` -- **result:** - -```python -- nodeid: tests/test_param.py::TestDynamic::test_sum_positive - type: Function - lineno: 70 -``` -
-
-▶️ ▶️ ✅ tests/test_string_utils.py - -- **Outcome:** `passed` -- **result:** - -```python -- nodeid: tests/test_string_utils.py::test_uppercase_normal - type: Function - lineno: 9 -- nodeid: tests/test_string_utils.py::test_uppercase_type_error - type: Function - lineno: 13 -- nodeid: tests/test_string_utils.py::test_reverse_string - type: Function - lineno: 17 -- nodeid: tests/test_string_utils.py::test_warning_emit - type: Function - lineno: 21 -- nodeid: tests/test_string_utils.py::test_unicode_decode_error - type: Function - lineno: 25 -- nodeid: tests/test_string_utils.py::test_unicode_decode_surrogateescape - type: Function - lineno: 29 -- nodeid: tests/test_string_utils.py::test_import_warning - type: Function - lineno: 33 -- nodeid: tests/test_string_utils.py::test_xfail_uppercase_digits - type: Function - lineno: 37 -- nodeid: tests/test_string_utils.py::test_keyboard_interrupt_direct - type: Function - lineno: 49 -``` -
-
-
-▶️ ✅ . (1 tests) - -
-▶️ ▶️ ✅ . - -- **Outcome:** `passed` -- **result:** - -```python -- nodeid: ci-reports - type: Dir -- nodeid: functions - type: Package -- nodeid: tests - type: Dir -``` -
-
-## ⚠️ Warnings - -
-▶️ Warnings #1 - -``` -message: Test warning -category: UserWarning -when: runtest -filename: /workspace/tligui_y/slic/tests/test_string_utils.py -lineno: 24 -``` -
diff --git a/ci-reports/markdown/json-tree-view.txt b/ci-reports/markdown/json-tree-view.txt index 9a706310..4299cf79 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: 1752791538.8933263 -├── duration: 0.8680882453918457 +├── created: 1752791743.7411478 +├── duration: 0.8708326816558838 ├── exitcode: 2 ├── root: /workspace/tligui_y/slic ├── environment @@ -523,13 +523,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.003938680049031973 +│ │ │ ├── duration: 0.004046548041515052 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0005063220160081983 +│ │ │ ├── duration: 0.0005751890130341053 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0002667560474947095 +│ │ ├── duration: 0.00027146993670612574 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_write_file @@ -542,13 +542,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0005579169373959303 +│ │ │ ├── duration: 0.0005751339485868812 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0003184290835633874 +│ │ │ ├── duration: 0.0003221150254830718 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00015194108709692955 +│ │ ├── duration: 0.00014916493091732264 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_cause_io_error @@ -561,10 +561,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00012269197031855583 +│ │ │ ├── duration: 0.00013069401029497385 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00016928906552493572 +│ │ │ ├── duration: 0.00016645994037389755 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/functions/io_utils.py @@ -593,7 +593,7 @@ │ │ │ │ │ │ functions/io_utils.py:10: OSError │ │ └── teardown -│ │ ├── duration: 0.0001838039606809616 +│ │ ├── duration: 0.0001764741027727723 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_file_not_found @@ -606,10 +606,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00013523409143090248 +│ │ │ ├── duration: 0.00013184593990445137 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0002121570287272334 +│ │ │ ├── duration: 0.00020911404862999916 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/functions/io_utils.py @@ -642,7 +642,7 @@ │ │ │ │ │ │ functions/io_utils.py:2: FileNotFoundError │ │ └── teardown -│ │ ├── duration: 0.00020094995852559805 +│ │ ├── duration: 0.0001845019869506359 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_permission_error @@ -655,10 +655,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002663879422470927 +│ │ │ ├── duration: 0.0002584459725767374 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00020063889678567648 +│ │ │ ├── duration: 0.00019680894911289215 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -678,7 +678,7 @@ │ │ │ │ ├── lineno: 34 │ │ │ │ └── message: PermissionError │ │ │ └── longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -│ │ │ at 0x7fd466f5e8e0> +│ │ │ at 0x7f765c3e24f0> │ │ │ │ │ │ def test_permission_error(monkeypatch): │ │ │ # Patch open to raise PermissionError simulating access @@ -704,7 +704,7 @@ │ │ │ │ │ │ tests/test_io_utils.py:34: PermissionError │ │ └── teardown -│ │ ├── duration: 0.00023256591521203518 +│ │ ├── duration: 0.00022463395725935698 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_mock_open_error @@ -717,10 +717,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00026671402156352997 +│ │ │ ├── duration: 0.00023410096764564514 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.003483411972410977 +│ │ │ ├── duration: 0.003556645940989256 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: @@ -746,7 +746,7 @@ │ │ │ │ ├── lineno: 1140 │ │ │ │ └── message: OSError │ │ │ └── longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -│ │ │ at 0x7fd4669442e0> +│ │ │ at 0x7f765c3e1670> │ │ │ │ │ │ def test_mock_open_error(monkeypatch): │ │ │ # Mock open() to raise IOError simulating read error @@ -768,7 +768,7 @@ │ │ │ _ _ _ _ _ _ _ _ │ │ │ │ │ │ self = +│ │ │ id='140146330443536'> │ │ │ args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked │ │ │ IOError') │ │ │ @@ -786,7 +786,7 @@ │ │ │ │ │ │ .pixi/envs/default/lib/python3.8/unittest/mock.py:1140: OSError │ │ └── teardown -│ │ ├── duration: 0.0003593940054997802 +│ │ ├── duration: 0.00034571392461657524 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_file_handle_closed_error @@ -799,10 +799,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00015988596715033054 +│ │ │ ├── duration: 0.00016880501061677933 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00022036500740796328 +│ │ │ ├── duration: 0.00021762901451438665 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -822,7 +822,7 @@ │ │ │ │ │ │ tests/test_io_utils.py:50: ValueError │ │ └── teardown -│ │ ├── duration: 0.00021720200311392546 +│ │ ├── duration: 0.00019904598593711853 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_os_error @@ -835,10 +835,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00028617295902222395 +│ │ │ ├── duration: 0.0003270599991083145 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0002056289231404662 +│ │ │ ├── duration: 0.00023433694150298834 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -854,7 +854,7 @@ │ │ │ │ ├── lineno: 55 │ │ │ │ └── message: OSError │ │ │ └── longrepr: monkeypatch = <_pytest.monkeypatch.MonkeyPatch object -│ │ │ at 0x7fd466c6ab20> +│ │ │ at 0x7f765a489fa0> │ │ │ │ │ │ def test_os_error(monkeypatch): │ │ │ # Patch os.remove to raise OSError simulating filesystem @@ -876,7 +876,7 @@ │ │ │ │ │ │ tests/test_io_utils.py:55: OSError │ │ └── teardown -│ │ ├── duration: 0.00025719194673001766 +│ │ ├── duration: 0.0002857811050489545 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_write_file_readonly @@ -889,13 +889,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0007923149969428778 +│ │ │ ├── duration: 0.0008257150184363127 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0011412960011512041 +│ │ │ ├── duration: 0.000990186003036797 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001715740654617548 +│ │ ├── duration: 0.00018131209071725607 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_io_utils.py::test_file_not_found_error @@ -908,10 +908,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00014008698053658009 +│ │ │ ├── duration: 0.00013583595864474773 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00019075290765613317 +│ │ │ ├── duration: 0.00019874004647135735 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_io_utils.py @@ -932,7 +932,7 @@ │ │ │ │ │ │ tests/test_io_utils.py:69: FileNotFoundError │ │ └── teardown -│ │ ├── duration: 0.00016167806461453438 +│ │ ├── duration: 0.0001777369761839509 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_broken @@ -945,10 +945,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00016143801622092724 +│ │ │ ├── duration: 0.0001502240775153041 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001837590243667364 +│ │ │ ├── duration: 0.00018184504006057978 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -968,7 +968,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:16: NameError │ │ └── teardown -│ │ ├── duration: 0.0001907719997689128 +│ │ ├── duration: 0.00017495499923825264 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_call_missing_function @@ -981,10 +981,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00014167907647788525 +│ │ │ ├── duration: 0.00014169595669955015 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00017743592616170645 +│ │ │ ├── duration: 0.0002153310924768448 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1005,7 +1005,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:20: AttributeError │ │ └── teardown -│ │ ├── duration: 0.00015704601537436247 +│ │ ├── duration: 0.00017435895279049873 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_pass[2-2-4] @@ -1021,13 +1021,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0003557100426405668 +│ │ │ ├── duration: 0.00037685397546738386 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00016070401761680841 +│ │ │ ├── duration: 0.00017807597760111094 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001718839630484581 +│ │ ├── duration: 0.00018104398623108864 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_pass[1-5-6] @@ -1043,13 +1043,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002720319898799062 +│ │ │ ├── duration: 0.0002856618957594037 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001407349482178688 +│ │ │ ├── duration: 0.0001445950474590063 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00014150794595479965 +│ │ ├── duration: 0.00014608900528401136 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_pass[3-4-7] @@ -1065,13 +1065,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00025446899235248566 +│ │ │ ├── duration: 0.0002723169745877385 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00013518496416509151 +│ │ │ ├── duration: 0.0001356080174446106 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00013927300460636616 +│ │ ├── duration: 0.0001608660677447915 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_pass[3-5-8] @@ -1087,13 +1087,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00023732706904411316 +│ │ │ ├── duration: 0.0002673009876161814 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00014572404325008392 +│ │ │ ├── duration: 0.00014610099606215954 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00014652893878519535 +│ │ ├── duration: 0.00014427292626351118 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_pass[3-6-9] @@ -1109,13 +1109,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002515829401090741 +│ │ │ ├── duration: 0.0002576269907876849 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00014492601621896029 +│ │ │ ├── duration: 0.00013455806765705347 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001419930486008525 +│ │ ├── duration: 0.00013685598969459534 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1131,13 +1131,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002527550095692277 +│ │ │ ├── duration: 0.00026673509273678064 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00013582094106823206 +│ │ │ ├── duration: 0.00015209801495075226 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001394370337948203 +│ │ ├── duration: 0.0001405650982633233 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1153,13 +1153,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00027371395844966173 +│ │ │ ├── duration: 0.0002548719057813287 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012990704271942377 +│ │ │ ├── duration: 0.0001759770093485713 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001378529705107212 +│ │ ├── duration: 0.00016780896112322807 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_pass_id @@ -1175,13 +1175,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00025770498905330896 +│ │ │ ├── duration: 0.0002554110251367092 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012891099322587252 +│ │ │ ├── duration: 0.0001307780621573329 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00014449097216129303 +│ │ ├── duration: 0.0001368299126625061 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_addition_fail @@ -1194,10 +1194,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00010698498226702213 +│ │ │ ├── duration: 0.00010252906940877438 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0005300380289554596 +│ │ │ ├── duration: 0.0005463439738377929 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1217,7 +1217,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:51: AssertionError │ │ └── teardown -│ │ ├── duration: 0.00017780903726816177 +│ │ ├── duration: 0.00019687996245920658 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_division_zero @@ -1230,10 +1230,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00013072008732706308 +│ │ │ ├── duration: 0.00018415797967463732 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00017238094005733728 +│ │ │ ├── duration: 0.0001904340460896492 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/functions/math_utils.py @@ -1265,7 +1265,7 @@ │ │ │ │ │ │ functions/math_utils.py:5: ZeroDivisionError │ │ └── teardown -│ │ ├── duration: 0.00017717201262712479 +│ │ ├── duration: 0.0002142830053344369 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_multiply_xfail @@ -1280,10 +1280,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00016561197116971016 +│ │ │ ├── duration: 0.00016166595742106438 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00030839210376143456 +│ │ │ ├── duration: 0.00035155098885297775 │ │ │ ├── outcome: skipped │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1305,7 +1305,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:60: AssertionError │ │ └── teardown -│ │ ├── duration: 0.00018123409245163202 +│ │ ├── duration: 0.00020736793521791697 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_runtime_error @@ -1318,10 +1318,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00013604597188532352 +│ │ │ ├── duration: 0.00017478910740464926 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00016752199735492468 +│ │ │ ├── duration: 0.0001914800377562642 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1339,7 +1339,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:64: RuntimeError │ │ └── teardown -│ │ ├── duration: 0.00021249393466860056 +│ │ ├── duration: 0.00021000101696699858 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_memory_error @@ -1352,10 +1352,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00014093099161982536 +│ │ │ ├── duration: 0.00015665392857044935 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00017142097931355238 +│ │ │ ├── duration: 0.00018949003424495459 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1374,7 +1374,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:68: MemoryError │ │ └── teardown -│ │ ├── duration: 0.00020946108270436525 +│ │ ├── duration: 0.0002249530516564846 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_timeout_error @@ -1387,10 +1387,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00014280108734965324 +│ │ │ ├── duration: 0.00015317904762923717 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001711410004645586 +│ │ │ ├── duration: 0.00018029799684882164 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1409,7 +1409,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:72: TimeoutError │ │ └── teardown -│ │ ├── duration: 0.00020538410171866417 +│ │ ├── duration: 0.00021454994566738605 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_recursion_error @@ -1422,10 +1422,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001516349148005247 +│ │ │ ├── duration: 0.00014685909263789654 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.001071167062036693 +│ │ │ ├── duration: 0.001003001001663506 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1460,7 +1460,7 @@ │ │ │ E RecursionError: maximum recursion depth exceeded │ │ │ !!! Recursion detected (same locals & position) │ │ └── teardown -│ │ ├── duration: 0.00027304503601044416 +│ │ ├── duration: 0.0002952179638668895 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_floating_point_error @@ -1473,10 +1473,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00018789793830364943 +│ │ │ ├── duration: 0.00017113401554524899 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00019278505351394415 +│ │ │ ├── duration: 0.0002120990538969636 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1495,7 +1495,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:82: FloatingPointError │ │ └── teardown -│ │ ├── duration: 0.00022307096514850855 +│ │ ├── duration: 0.0002325150417163968 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_floating_point_overflow @@ -1508,10 +1508,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001619240501895547 +│ │ │ ├── duration: 0.0001649879850447178 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00020230899099260569 +│ │ │ ├── duration: 0.0001982799731194973 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1529,7 +1529,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:86: OverflowError │ │ └── teardown -│ │ ├── duration: 0.00026020302902907133 +│ │ ├── duration: 0.0002216859720647335 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_value_error @@ -1542,10 +1542,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001663680886849761 +│ │ │ ├── duration: 0.00014171097427606583 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00019821594469249249 +│ │ │ ├── duration: 0.00018552399706095457 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1565,7 +1565,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:90: ValueError │ │ └── teardown -│ │ ├── duration: 0.000227580894716084 +│ │ ├── duration: 0.00022295594681054354 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_wrong_argument_error @@ -1578,10 +1578,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00016146700363606215 +│ │ │ ├── duration: 0.00013601896353065968 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00019120797514915466 +│ │ │ ├── duration: 0.000186258926987648 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1599,7 +1599,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:94: TypeError │ │ └── teardown -│ │ ├── duration: 0.00021881493739783764 +│ │ ├── duration: 0.00019501394126564264 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_unhandled_exception @@ -1612,10 +1612,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001670790370553732 +│ │ │ ├── duration: 0.00015195400919765234 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00019578600767999887 +│ │ │ ├── duration: 0.0001891111023724079 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1633,7 +1633,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:98: Exception │ │ └── teardown -│ │ ├── duration: 0.00021196703892201185 +│ │ ├── duration: 0.00021281710360199213 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_custom_error @@ -1646,10 +1646,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00015878805425018072 +│ │ │ ├── duration: 0.00016237597446888685 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00018661096692085266 +│ │ │ ├── duration: 0.0001754160039126873 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1668,7 +1668,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:102: CustomError │ │ └── teardown -│ │ ├── duration: 0.0002166079357266426 +│ │ ├── duration: 0.00019258400425314903 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_stop_iteration_direct @@ -1681,10 +1681,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00016521301586180925 +│ │ │ ├── duration: 0.0001778260339051485 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001944410614669323 +│ │ │ ├── duration: 0.0001964080147445202 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: @@ -1771,7 +1771,7 @@ │ │ │ │ │ │ cls = │ │ │ func = . at -│ │ │ 0x7fd466f3a700> +│ │ │ 0x7f765a1414c0> │ │ │ when = 'call' │ │ │ reraise = (, ) @@ -1854,7 +1854,7 @@ │ │ │ .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.p │ │ │ y:880: RuntimeError │ │ └── teardown -│ │ ├── duration: 0.00030061102006584406 +│ │ ├── duration: 0.00034132390283048153 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_generator_exit_direct @@ -1867,10 +1867,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00018094794359058142 +│ │ │ ├── duration: 0.00018427090253680944 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001996959326788783 +│ │ │ ├── duration: 0.00022542302031069994 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1888,7 +1888,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:110: GeneratorExit │ │ └── teardown -│ │ ├── duration: 0.00026764499489217997 +│ │ ├── duration: 0.00022514595184475183 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_malformed_code @@ -1901,10 +1901,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00015289103612303734 +│ │ │ ├── duration: 0.00017874198965728283 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0002156021073460579 +│ │ │ ├── duration: 0.00021966395433992147 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1928,7 +1928,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:114: SyntaxError │ │ └── teardown -│ │ ├── duration: 0.0002576360711827874 +│ │ ├── duration: 0.0001937819179147482 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_sys_exit @@ -1941,10 +1941,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001604260178282857 +│ │ │ ├── duration: 0.0001524758990854025 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00019332498777657747 +│ │ │ ├── duration: 0.0001867909450083971 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -1962,7 +1962,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:118: SystemExit │ │ └── teardown -│ │ ├── duration: 0.0002476929221302271 +│ │ ├── duration: 0.00018762191757559776 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_broken_function @@ -1975,10 +1975,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00015033804811537266 +│ │ │ ├── duration: 0.00014772498980164528 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00021614704746752977 +│ │ │ ├── duration: 0.0001685429597273469 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -2011,7 +2011,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:123: TypeError │ │ └── teardown -│ │ ├── duration: 0.00022305699530988932 +│ │ ├── duration: 0.00019867508672177792 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_import_error @@ -2024,10 +2024,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001747088972479105 +│ │ │ ├── duration: 0.0001438329927623272 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00023076799698174 +│ │ │ ├── duration: 0.0001768310321494937 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_math_utils.py @@ -2044,7 +2044,7 @@ │ │ │ │ │ │ tests/test_math_utils.py:127: ImportError │ │ └── teardown -│ │ ├── duration: 0.00018300896044820547 +│ │ ├── duration: 0.00021146296057850122 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_math_utils.py::test_module_not_found_error @@ -2057,10 +2057,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00013766204938292503 +│ │ │ ├── duration: 0.00015662796795368195 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0005122219445183873 +│ │ │ ├── duration: 0.0005846749991178513 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: @@ -2108,7 +2108,7 @@ │ │ │ _ _ _ _ _ _ _ _ │ │ │ │ │ │ name = 'non_existent_module_xyz' -│ │ │ import_ = +│ │ │ import_ = │ │ │ │ │ │ > ??? │ │ │ E ModuleNotFoundError: No module named @@ -2116,7 +2116,7 @@ │ │ │ │ │ │ :973: ModuleNotFoundError │ │ └── teardown -│ │ ├── duration: 0.00023928203154355288 +│ │ ├── duration: 0.0002498419489711523 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_basic_ids @@ -2132,13 +2132,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00030047609470784664 +│ │ │ ├── duration: 0.0002945010783150792 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00016878696624189615 +│ │ │ ├── duration: 0.00016439799219369888 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00013842293992638588 +│ │ ├── duration: 0.0001505690161138773 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_basic_ids @@ -2154,13 +2154,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00019119202625006437 +│ │ │ ├── duration: 0.00022719393018633127 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00013613898772746325 +│ │ │ ├── duration: 0.0001621349947527051 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00011882500257343054 +│ │ ├── duration: 0.00012948201037943363 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_with_reason_and_marks @@ -2176,13 +2176,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001636369852349162 +│ │ │ ├── duration: 0.00017178594134747982 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001382509944960475 +│ │ │ ├── duration: 0.00013888301327824593 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001186770386993885 +│ │ ├── duration: 0.00011328700929880142 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_with_reason_and_marks @@ -2199,12 +2199,12 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002609130460768938 +│ │ │ ├── duration: 0.0002714659785851836 │ │ │ ├── outcome: skipped │ │ │ └── longrepr: ('/workspace/tligui_y/slic/tests/test_param.py', 12, │ │ │ 'Skipped: nope') │ │ └── teardown -│ │ ├── duration: 0.0001349740196019411 +│ │ ├── duration: 0.0001330230152234435 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_multiple_positional_args[1-2] @@ -2220,13 +2220,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002457479713484645 +│ │ │ ├── duration: 0.00023477489594370127 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00014373508747667074 +│ │ │ ├── duration: 0.00013723107986152172 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00013499206397682428 +│ │ ├── duration: 0.00015417998656630516 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_multiple_positional_args[3-4] @@ -2242,13 +2242,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002064799191430211 +│ │ │ ├── duration: 0.00026552402414381504 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001446659443899989 +│ │ │ ├── duration: 0.00015120801981538534 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00014427106361836195 +│ │ ├── duration: 0.00013779604341834784 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_non_literal_with_id @@ -2264,13 +2264,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00017221493180841208 +│ │ │ ├── duration: 0.00018072605598717928 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00014430400915443897 +│ │ │ ├── duration: 0.00012813101056963205 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001282690791413188 +│ │ ├── duration: 0.00012478092685341835 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_timedistance_v1 @@ -2286,13 +2286,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002601470332592726 +│ │ │ ├── duration: 0.0002774460008367896 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001430939882993698 +│ │ │ ├── duration: 0.00014210108201950788 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00013901398051530123 +│ │ ├── duration: 0.00015061197336763144 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_timedistance_v1 @@ -2308,13 +2308,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00024175108410418034 +│ │ │ ├── duration: 0.0003146260278299451 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00015327997971326113 +│ │ │ ├── duration: 0.0001645640004426241 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00015468895435333252 +│ │ ├── duration: 0.0001625689910724759 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::TestDynamic::test_sum_positive @@ -2328,7 +2328,7 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001541879028081894 +│ │ │ ├── duration: 0.00015053991228342056 │ │ │ ├── outcome: failed │ │ │ └── longrepr: file /workspace/tligui_y/slic/tests/test_param.py, │ │ │ line 71 @@ -2345,7 +2345,7 @@ │ │ │ │ │ │ /workspace/tligui_y/slic/tests/test_param.py:71 │ │ └── teardown -│ │ ├── duration: 0.00015011499635875225 +│ │ ├── duration: 0.00014553102664649487 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_dynamic @@ -2359,13 +2359,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001856270246207714 +│ │ │ ├── duration: 0.00022449507378041744 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00013071892317384481 +│ │ │ ├── duration: 0.00013660592958331108 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00011859892401844263 +│ │ ├── duration: 0.00012341199908405542 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_dynamic @@ -2379,13 +2379,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001680969726294279 +│ │ │ ├── duration: 0.00018128997180610895 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00014720798935741186 +│ │ │ ├── duration: 0.00014186394400894642 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001188140595331788 +│ │ ├── duration: 0.00012391700875014067 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_dynamic @@ -2399,13 +2399,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00016193499322980642 +│ │ │ ├── duration: 0.0001914730528369546 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012127496302127838 +│ │ │ ├── duration: 0.00014480599202215672 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00013094197493046522 +│ │ ├── duration: 0.00011889601591974497 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_element_type[\U0001f525] @@ -2419,13 +2419,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001635371008887887 +│ │ │ ├── duration: 0.00017652299720793962 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012324901763349771 +│ │ │ ├── duration: 0.00012110103853046894 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00012399698607623577 +│ │ ├── duration: 0.00011177698615938425 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_element_type[\U0001f4a7] @@ -2439,13 +2439,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00017936795484274626 +│ │ │ ├── duration: 0.00017727608792483807 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001222860300913453 +│ │ │ ├── duration: 0.00012320594396442175 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00011837505735456944 +│ │ ├── duration: 0.00011309399269521236 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_element_type[\U0001f30d] @@ -2459,13 +2459,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00016431300900876522 +│ │ │ ├── duration: 0.00019549590069800615 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012099999003112316 +│ │ │ ├── duration: 0.0001270079519599676 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00011727598030120134 +│ │ ├── duration: 0.00011253997217863798 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_combination @@ -2481,13 +2481,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00020999496337026358 +│ │ │ ├── duration: 0.0002054710639640689 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012571504339575768 +│ │ │ ├── duration: 0.00014165788888931274 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00012275902554392815 +│ │ ├── duration: 0.00014828098937869072 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_combination @@ -2503,13 +2503,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00020620296709239483 +│ │ │ ├── duration: 0.00023143005091696978 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012850796338170767 +│ │ │ ├── duration: 0.0001272719819098711 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001271989895030856 +│ │ ├── duration: 0.00012970296666026115 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_combination @@ -2525,13 +2525,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00020310503896325827 +│ │ │ ├── duration: 0.0002159950090572238 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012249092105776072 +│ │ │ ├── duration: 0.00014112400822341442 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001311959931626916 +│ │ ├── duration: 0.00014916702639311552 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_combination @@ -2547,13 +2547,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0002059841062873602 +│ │ │ ├── duration: 0.0002264670329168439 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00012506998609751463 +│ │ │ ├── duration: 0.00013330194633454084 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00012300699017941952 +│ │ ├── duration: 0.0001385509967803955 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_indirect_fixture[1] @@ -2569,13 +2569,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0003793039359152317 +│ │ │ ├── duration: 0.00019485806114971638 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00014133600052446127 +│ │ │ ├── duration: 0.00012752204202115536 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00012198195327073336 +│ │ ├── duration: 0.00011469598393887281 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_indirect_fixture[2] @@ -2591,13 +2591,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001689760247245431 +│ │ │ ├── duration: 0.00038346590008586645 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001268000341951847 +│ │ │ ├── duration: 0.00014246406499296427 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00011569901835173368 +│ │ ├── duration: 0.00012095598503947258 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_param.py::test_addition @@ -2610,10 +2610,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00010615307837724686 +│ │ │ ├── duration: 0.00010920397471636534 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00015776301734149456 +│ │ │ ├── duration: 0.00016185909043997526 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_param.py @@ -2633,7 +2633,7 @@ │ │ │ │ │ │ tests/test_param.py:107: NameError │ │ └── teardown -│ │ ├── duration: 0.00016685703303664923 +│ │ ├── duration: 0.00015461992006748915 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_string_utils.py::test_uppercase_normal @@ -2646,13 +2646,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001334690023213625 +│ │ │ ├── duration: 0.00013899500481784344 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00017701496835798025 +│ │ │ ├── duration: 0.00015581701882183552 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00010455900337547064 +│ │ ├── duration: 0.00011763605289161205 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_string_utils.py::test_uppercase_type_error @@ -2665,10 +2665,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001102830283343792 +│ │ │ ├── duration: 0.00012513494584709406 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0001720399595797062 +│ │ │ ├── duration: 0.00018712098244577646 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/functions/string_utils.py @@ -2700,7 +2700,7 @@ │ │ │ │ │ │ functions/string_utils.py:3: TypeError │ │ └── teardown -│ │ ├── duration: 0.00015965395141392946 +│ │ ├── duration: 0.0001452360302209854 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_string_utils.py::test_reverse_string @@ -2713,13 +2713,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00013035698793828487 +│ │ │ ├── duration: 0.00011615606490522623 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00015214597806334496 +│ │ │ ├── duration: 0.00014155299868434668 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00010314001701772213 +│ │ ├── duration: 0.00013708206824958324 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_string_utils.py::test_warning_emit @@ -2732,13 +2732,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00011578993871808052 +│ │ │ ├── duration: 0.00011542299762368202 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00016405899077653885 +│ │ │ ├── duration: 0.0001703629968687892 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.00010211195331066847 +│ │ ├── duration: 0.00010944704990833998 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_string_utils.py::test_unicode_decode_error @@ -2751,10 +2751,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00010881200432777405 +│ │ │ ├── duration: 0.00011483195703476667 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00018069299403578043 +│ │ │ ├── duration: 0.00016621500253677368 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2774,7 +2774,7 @@ │ │ │ │ │ │ tests/test_string_utils.py:28: UnicodeDecodeError │ │ └── teardown -│ │ ├── duration: 0.0001528740394860506 +│ │ ├── duration: 0.00014103204011917114 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: @@ -2788,10 +2788,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.0001264140009880066 +│ │ │ ├── duration: 0.0001225159503519535 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00016648601740598679 +│ │ │ ├── duration: 0.00017642893362790346 │ │ │ ├── outcome: failed │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2812,7 +2812,7 @@ │ │ │ │ │ │ tests/test_string_utils.py:32: UnicodeDecodeError │ │ └── teardown -│ │ ├── duration: 0.00015061604790389538 +│ │ ├── duration: 0.0001375430729240179 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_string_utils.py::test_import_warning @@ -2825,13 +2825,13 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00012488802894949913 +│ │ │ ├── duration: 0.0001167969312518835 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.00015762599650770426 +│ │ │ ├── duration: 0.00014224601909518242 │ │ │ └── outcome: passed │ │ └── teardown -│ │ ├── duration: 0.0001053359592333436 +│ │ ├── duration: 0.00010322895832359791 │ │ └── outcome: passed │ ├── - │ │ ├── nodeid: tests/test_string_utils.py::test_xfail_uppercase_digits @@ -2846,10 +2846,10 @@ │ │ │ ├── slic │ │ │ └── │ │ ├── setup -│ │ │ ├── duration: 0.00012526800855994225 +│ │ │ ├── duration: 0.00012042908929288387 │ │ │ └── outcome: passed │ │ ├── call -│ │ │ ├── duration: 0.0006831710925325751 +│ │ │ ├── duration: 0.0006683010142296553 │ │ │ ├── outcome: skipped │ │ │ ├── crash │ │ │ │ ├── path: /workspace/tligui_y/slic/tests/test_string_utils.py @@ -2878,7 +2878,7 @@ │ │ │ │ │ │ tests/test_string_utils.py:41: AssertionError │ │ └── teardown -│ │ ├── duration: 0.00015418801922351122 +│ │ ├── duration: 0.00014400098007172346 │ │ └── outcome: passed │ └── - │ ├── nodeid: tests/test_string_utils.py::test_keyboard_interrupt_direct @@ -2891,7 +2891,7 @@ │ │ ├── slic │ │ └── │ └── setup -│ ├── duration: 0.00012405100278556347 +│ ├── duration: 0.0001536490162834525 │ └── outcome: passed └── warnings └── - diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index b92de7ee..900be824 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1752791538.8933263, "duration": 0.8680882453918457, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 36, "failed": 32, "xfailed": 2, "skipped": 1, "error": 1, "total": 72, "collected": 72}, "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_param.py::TestDynamic", "outcome": "passed", "result": [{"nodeid": "tests/test_param.py::TestDynamic::test_sum_positive", "type": "Function", "lineno": 70}]}, {"nodeid": "tests/test_param.py", "outcome": "passed", "result": [{"nodeid": "tests/test_param.py::test_basic_ids[one]", "type": "Function", "lineno": 3}, {"nodeid": "tests/test_param.py::test_basic_ids[two]", "type": "Function", "lineno": 3}, {"nodeid": "tests/test_param.py::test_with_reason_and_marks[ten]", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_param.py::test_with_reason_and_marks[twenty]", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_param.py::test_multiple_positional_args[1-2]", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_param.py::test_multiple_positional_args[3-4]", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_param.py::test_non_literal_with_id[custom-obj]", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_param.py::test_timedistance_v1[a0-b0-expected0]", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_param.py::test_timedistance_v1[a1-b1-expected1]", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_param.py::TestDynamic", "type": "Class"}, {"nodeid": "tests/test_param.py::test_dynamic[ten]", "type": "Function", "lineno": 78}, {"nodeid": "tests/test_param.py::test_dynamic[twenty]", "type": "Function", "lineno": 78}, {"nodeid": "tests/test_param.py::test_dynamic[thirty]", "type": "Function", "lineno": 78}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f525]", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f4a7]", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f30d]", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_param.py::test_combination[a-1]", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_param.py::test_combination[a-2]", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_param.py::test_combination[b-1]", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_param.py::test_combination[b-2]", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_param.py::test_indirect_fixture[1]", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_param.py::test_indirect_fixture[2]", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_param.py::test_addition", "type": "Function", "lineno": 104}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 25}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 29}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 33}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 49}]}, {"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_param.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.003938680049031973, "outcome": "passed"}, "call": {"duration": 0.0005063220160081983, "outcome": "passed"}, "teardown": {"duration": 0.0002667560474947095, "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.0005579169373959303, "outcome": "passed"}, "call": {"duration": 0.0003184290835633874, "outcome": "passed"}, "teardown": {"duration": 0.00015194108709692955, "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.00012269197031855583, "outcome": "passed"}, "call": {"duration": 0.00016928906552493572, "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.0001838039606809616, "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.00013523409143090248, "outcome": "passed"}, "call": {"duration": 0.0002121570287272334, "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.00020094995852559805, "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.0002663879422470927, "outcome": "passed"}, "call": {"duration": 0.00020063889678567648, "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 0x7fd466f5e8e0>\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.00023256591521203518, "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.00026671402156352997, "outcome": "passed"}, "call": {"duration": 0.003483411972410977, "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 0x7fd4669442e0>\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.0003593940054997802, "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.00015988596715033054, "outcome": "passed"}, "call": {"duration": 0.00022036500740796328, "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.00021720200311392546, "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.00028617295902222395, "outcome": "passed"}, "call": {"duration": 0.0002056289231404662, "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 0x7fd466c6ab20>\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.00025719194673001766, "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.0007923149969428778, "outcome": "passed"}, "call": {"duration": 0.0011412960011512041, "outcome": "passed"}, "teardown": {"duration": 0.0001715740654617548, "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.00014008698053658009, "outcome": "passed"}, "call": {"duration": 0.00019075290765613317, "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.00016167806461453438, "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.00016143801622092724, "outcome": "passed"}, "call": {"duration": 0.0001837590243667364, "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.0001907719997689128, "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.00014167907647788525, "outcome": "passed"}, "call": {"duration": 0.00017743592616170645, "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.00015704601537436247, "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.0003557100426405668, "outcome": "passed"}, "call": {"duration": 0.00016070401761680841, "outcome": "passed"}, "teardown": {"duration": 0.0001718839630484581, "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.0002720319898799062, "outcome": "passed"}, "call": {"duration": 0.0001407349482178688, "outcome": "passed"}, "teardown": {"duration": 0.00014150794595479965, "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.00025446899235248566, "outcome": "passed"}, "call": {"duration": 0.00013518496416509151, "outcome": "passed"}, "teardown": {"duration": 0.00013927300460636616, "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.00023732706904411316, "outcome": "passed"}, "call": {"duration": 0.00014572404325008392, "outcome": "passed"}, "teardown": {"duration": 0.00014652893878519535, "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.0002515829401090741, "outcome": "passed"}, "call": {"duration": 0.00014492601621896029, "outcome": "passed"}, "teardown": {"duration": 0.0001419930486008525, "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.0002527550095692277, "outcome": "passed"}, "call": {"duration": 0.00013582094106823206, "outcome": "passed"}, "teardown": {"duration": 0.0001394370337948203, "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.00027371395844966173, "outcome": "passed"}, "call": {"duration": 0.00012990704271942377, "outcome": "passed"}, "teardown": {"duration": 0.0001378529705107212, "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.00025770498905330896, "outcome": "passed"}, "call": {"duration": 0.00012891099322587252, "outcome": "passed"}, "teardown": {"duration": 0.00014449097216129303, "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.00010698498226702213, "outcome": "passed"}, "call": {"duration": 0.0005300380289554596, "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.00017780903726816177, "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.00013072008732706308, "outcome": "passed"}, "call": {"duration": 0.00017238094005733728, "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.00017717201262712479, "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.00016561197116971016, "outcome": "passed"}, "call": {"duration": 0.00030839210376143456, "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.00018123409245163202, "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.00013604597188532352, "outcome": "passed"}, "call": {"duration": 0.00016752199735492468, "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.00021249393466860056, "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.00014093099161982536, "outcome": "passed"}, "call": {"duration": 0.00017142097931355238, "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.00020946108270436525, "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.00014280108734965324, "outcome": "passed"}, "call": {"duration": 0.0001711410004645586, "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.00020538410171866417, "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.0001516349148005247, "outcome": "passed"}, "call": {"duration": 0.001071167062036693, "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.00027304503601044416, "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.00018789793830364943, "outcome": "passed"}, "call": {"duration": 0.00019278505351394415, "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.00022307096514850855, "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.0001619240501895547, "outcome": "passed"}, "call": {"duration": 0.00020230899099260569, "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.00026020302902907133, "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.0001663680886849761, "outcome": "passed"}, "call": {"duration": 0.00019821594469249249, "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.000227580894716084, "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.00016146700363606215, "outcome": "passed"}, "call": {"duration": 0.00019120797514915466, "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.00021881493739783764, "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.0001670790370553732, "outcome": "passed"}, "call": {"duration": 0.00019578600767999887, "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.00021196703892201185, "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.00015878805425018072, "outcome": "passed"}, "call": {"duration": 0.00018661096692085266, "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.0002166079357266426, "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.00016521301586180925, "outcome": "passed"}, "call": {"duration": 0.0001944410614669323, "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 0x7fd466f3a700>\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.00030061102006584406, "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.00018094794359058142, "outcome": "passed"}, "call": {"duration": 0.0001996959326788783, "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.00026764499489217997, "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.00015289103612303734, "outcome": "passed"}, "call": {"duration": 0.0002156021073460579, "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.0002576360711827874, "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.0001604260178282857, "outcome": "passed"}, "call": {"duration": 0.00019332498777657747, "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.0002476929221302271, "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.00015033804811537266, "outcome": "passed"}, "call": {"duration": 0.00021614704746752977, "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.00022305699530988932, "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.0001747088972479105, "outcome": "passed"}, "call": {"duration": 0.00023076799698174, "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.00018300896044820547, "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.00013766204938292503, "outcome": "passed"}, "call": {"duration": 0.0005122219445183873, "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.00023928203154355288, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_basic_ids[one]", "lineno": 3, "outcome": "passed", "keywords": ["test_basic_ids[one]", "parametrize", "pytestmark", "one", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00030047609470784664, "outcome": "passed"}, "call": {"duration": 0.00016878696624189615, "outcome": "passed"}, "teardown": {"duration": 0.00013842293992638588, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_basic_ids[two]", "lineno": 3, "outcome": "passed", "keywords": ["test_basic_ids[two]", "parametrize", "pytestmark", "two", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00019119202625006437, "outcome": "passed"}, "call": {"duration": 0.00013613898772746325, "outcome": "passed"}, "teardown": {"duration": 0.00011882500257343054, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_with_reason_and_marks[ten]", "lineno": 11, "outcome": "passed", "keywords": ["test_with_reason_and_marks[ten]", "parametrize", "pytestmark", "ten", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0001636369852349162, "outcome": "passed"}, "call": {"duration": 0.0001382509944960475, "outcome": "passed"}, "teardown": {"duration": 0.0001186770386993885, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_with_reason_and_marks[twenty]", "lineno": 11, "outcome": "skipped", "keywords": ["test_with_reason_and_marks[twenty]", "parametrize", "skip", "pytestmark", "twenty", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002609130460768938, "outcome": "skipped", "longrepr": "('/workspace/tligui_y/slic/tests/test_param.py', 12, 'Skipped: nope')"}, "teardown": {"duration": 0.0001349740196019411, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_multiple_positional_args[1-2]", "lineno": 19, "outcome": "passed", "keywords": ["test_multiple_positional_args[1-2]", "parametrize", "pytestmark", "1-2", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002457479713484645, "outcome": "passed"}, "call": {"duration": 0.00014373508747667074, "outcome": "passed"}, "teardown": {"duration": 0.00013499206397682428, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_multiple_positional_args[3-4]", "lineno": 19, "outcome": "passed", "keywords": ["test_multiple_positional_args[3-4]", "parametrize", "pytestmark", "3-4", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002064799191430211, "outcome": "passed"}, "call": {"duration": 0.0001446659443899989, "outcome": "passed"}, "teardown": {"duration": 0.00014427106361836195, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_non_literal_with_id[custom-obj]", "lineno": 27, "outcome": "passed", "keywords": ["test_non_literal_with_id[custom-obj]", "parametrize", "pytestmark", "custom-obj", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00017221493180841208, "outcome": "passed"}, "call": {"duration": 0.00014430400915443897, "outcome": "passed"}, "teardown": {"duration": 0.0001282690791413188, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_timedistance_v1[a0-b0-expected0]", "lineno": 40, "outcome": "passed", "keywords": ["test_timedistance_v1[a0-b0-expected0]", "parametrize", "pytestmark", "a0-b0-expected0", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002601470332592726, "outcome": "passed"}, "call": {"duration": 0.0001430939882993698, "outcome": "passed"}, "teardown": {"duration": 0.00013901398051530123, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_timedistance_v1[a1-b1-expected1]", "lineno": 40, "outcome": "passed", "keywords": ["test_timedistance_v1[a1-b1-expected1]", "parametrize", "pytestmark", "a1-b1-expected1", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00024175108410418034, "outcome": "passed"}, "call": {"duration": 0.00015327997971326113, "outcome": "passed"}, "teardown": {"duration": 0.00015468895435333252, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::TestDynamic::test_sum_positive", "lineno": 70, "outcome": "error", "keywords": ["test_sum_positive", "TestDynamic", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0001541879028081894, "outcome": "failed", "longrepr": "file /workspace/tligui_y/slic/tests/test_param.py, line 71\n def test_sum_positive(self, x, y):\nE fixture 'x' not found\n> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, complex_setup, cov, doctest_namespace, element, extra, extras, include_metadata_in_junit_xml, json_metadata, metadata, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory\n> use 'pytest --fixtures [testpath]' for help on them.\n\n/workspace/tligui_y/slic/tests/test_param.py:71"}, "teardown": {"duration": 0.00015011499635875225, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_dynamic[ten]", "lineno": 78, "outcome": "passed", "keywords": ["test_dynamic[ten]", "ten", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0001856270246207714, "outcome": "passed"}, "call": {"duration": 0.00013071892317384481, "outcome": "passed"}, "teardown": {"duration": 0.00011859892401844263, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_dynamic[twenty]", "lineno": 78, "outcome": "passed", "keywords": ["test_dynamic[twenty]", "twenty", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0001680969726294279, "outcome": "passed"}, "call": {"duration": 0.00014720798935741186, "outcome": "passed"}, "teardown": {"duration": 0.0001188140595331788, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_dynamic[thirty]", "lineno": 78, "outcome": "passed", "keywords": ["test_dynamic[thirty]", "thirty", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00016193499322980642, "outcome": "passed"}, "call": {"duration": 0.00012127496302127838, "outcome": "passed"}, "teardown": {"duration": 0.00013094197493046522, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f525]", "lineno": 87, "outcome": "passed", "keywords": ["test_element_type[\\U0001f525]", "\\U0001f525", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0001635371008887887, "outcome": "passed"}, "call": {"duration": 0.00012324901763349771, "outcome": "passed"}, "teardown": {"duration": 0.00012399698607623577, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f4a7]", "lineno": 87, "outcome": "passed", "keywords": ["test_element_type[\\U0001f4a7]", "\\U0001f4a7", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00017936795484274626, "outcome": "passed"}, "call": {"duration": 0.0001222860300913453, "outcome": "passed"}, "teardown": {"duration": 0.00011837505735456944, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f30d]", "lineno": 87, "outcome": "passed", "keywords": ["test_element_type[\\U0001f30d]", "\\U0001f30d", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00016431300900876522, "outcome": "passed"}, "call": {"duration": 0.00012099999003112316, "outcome": "passed"}, "teardown": {"duration": 0.00011727598030120134, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_combination[a-1]", "lineno": 90, "outcome": "passed", "keywords": ["test_combination[a-1]", "parametrize", "pytestmark", "a-1", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00020999496337026358, "outcome": "passed"}, "call": {"duration": 0.00012571504339575768, "outcome": "passed"}, "teardown": {"duration": 0.00012275902554392815, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_combination[a-2]", "lineno": 90, "outcome": "passed", "keywords": ["test_combination[a-2]", "parametrize", "pytestmark", "a-2", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00020620296709239483, "outcome": "passed"}, "call": {"duration": 0.00012850796338170767, "outcome": "passed"}, "teardown": {"duration": 0.0001271989895030856, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_combination[b-1]", "lineno": 90, "outcome": "passed", "keywords": ["test_combination[b-1]", "parametrize", "pytestmark", "b-1", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00020310503896325827, "outcome": "passed"}, "call": {"duration": 0.00012249092105776072, "outcome": "passed"}, "teardown": {"duration": 0.0001311959931626916, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_combination[b-2]", "lineno": 90, "outcome": "passed", "keywords": ["test_combination[b-2]", "parametrize", "pytestmark", "b-2", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002059841062873602, "outcome": "passed"}, "call": {"duration": 0.00012506998609751463, "outcome": "passed"}, "teardown": {"duration": 0.00012300699017941952, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_indirect_fixture[1]", "lineno": 100, "outcome": "passed", "keywords": ["test_indirect_fixture[1]", "parametrize", "pytestmark", "1", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0003793039359152317, "outcome": "passed"}, "call": {"duration": 0.00014133600052446127, "outcome": "passed"}, "teardown": {"duration": 0.00012198195327073336, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_indirect_fixture[2]", "lineno": 100, "outcome": "passed", "keywords": ["test_indirect_fixture[2]", "parametrize", "pytestmark", "2", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0001689760247245431, "outcome": "passed"}, "call": {"duration": 0.0001268000341951847, "outcome": "passed"}, "teardown": {"duration": 0.00011569901835173368, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_addition", "lineno": 104, "outcome": "failed", "keywords": ["test_addition", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00010615307837724686, "outcome": "passed"}, "call": {"duration": 0.00015776301734149456, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_param.py", "lineno": 107, "message": "NameError: name 'addition' is not defined"}, "traceback": [{"path": "tests/test_param.py", "lineno": 107, "message": "NameError"}], "longrepr": "a = 5, b = 5, expected = 10\n\n def test_addition(a = 5, b = 5, expected = 10):\n # Has to pass\n> assert addition(a, b) == expected\nE NameError: name 'addition' is not defined\n\ntests/test_param.py:107: NameError"}, "teardown": {"duration": 0.00016685703303664923, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "lineno": 9, "outcome": "passed", "keywords": ["test_uppercase_normal", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001334690023213625, "outcome": "passed"}, "call": {"duration": 0.00017701496835798025, "outcome": "passed"}, "teardown": {"duration": 0.00010455900337547064, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "lineno": 13, "outcome": "failed", "keywords": ["test_uppercase_type_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001102830283343792, "outcome": "passed"}, "call": {"duration": 0.0001720399595797062, "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": 16, "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:16: \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.00015965395141392946, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "lineno": 17, "outcome": "passed", "keywords": ["test_reverse_string", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013035698793828487, "outcome": "passed"}, "call": {"duration": 0.00015214597806334496, "outcome": "passed"}, "teardown": {"duration": 0.00010314001701772213, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "lineno": 21, "outcome": "passed", "keywords": ["test_warning_emit", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011578993871808052, "outcome": "passed"}, "call": {"duration": 0.00016405899077653885, "outcome": "passed"}, "teardown": {"duration": 0.00010211195331066847, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 25, "outcome": "failed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00010881200432777405, "outcome": "passed"}, "call": {"duration": 0.00018069299403578043, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 28, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 28, "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:28: UnicodeDecodeError"}, "teardown": {"duration": 0.0001528740394860506, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "lineno": 29, "outcome": "failed", "keywords": ["test_unicode_decode_surrogateescape", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001264140009880066, "outcome": "passed"}, "call": {"duration": 0.00016648601740598679, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 32, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 32, "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:32: UnicodeDecodeError"}, "teardown": {"duration": 0.00015061604790389538, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "lineno": 33, "outcome": "passed", "keywords": ["test_import_warning", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012488802894949913, "outcome": "passed"}, "call": {"duration": 0.00015762599650770426, "outcome": "passed"}, "teardown": {"duration": 0.0001053359592333436, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "lineno": 37, "outcome": "xfailed", "keywords": ["test_xfail_uppercase_digits", "xfail", "pytestmark", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012526800855994225, "outcome": "passed"}, "call": {"duration": 0.0006831710925325751, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 41, "message": "AssertionError: assert 'ABC123' == 'ABC1234'\n \n - ABC1234\n ? -\n + ABC123"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 41, "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:41: AssertionError"}, "teardown": {"duration": 0.00015418801922351122, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "lineno": 49, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012405100278556347, "outcome": "passed"}}], "warnings": [{"message": "Test warning", "category": "UserWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 24}]} \ No newline at end of file +{"created": 1752791743.7411478, "duration": 0.8708326816558838, "exitcode": 2, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 36, "failed": 32, "xfailed": 2, "skipped": 1, "error": 1, "total": 72, "collected": 72}, "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_param.py::TestDynamic", "outcome": "passed", "result": [{"nodeid": "tests/test_param.py::TestDynamic::test_sum_positive", "type": "Function", "lineno": 70}]}, {"nodeid": "tests/test_param.py", "outcome": "passed", "result": [{"nodeid": "tests/test_param.py::test_basic_ids[one]", "type": "Function", "lineno": 3}, {"nodeid": "tests/test_param.py::test_basic_ids[two]", "type": "Function", "lineno": 3}, {"nodeid": "tests/test_param.py::test_with_reason_and_marks[ten]", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_param.py::test_with_reason_and_marks[twenty]", "type": "Function", "lineno": 11}, {"nodeid": "tests/test_param.py::test_multiple_positional_args[1-2]", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_param.py::test_multiple_positional_args[3-4]", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_param.py::test_non_literal_with_id[custom-obj]", "type": "Function", "lineno": 27}, {"nodeid": "tests/test_param.py::test_timedistance_v1[a0-b0-expected0]", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_param.py::test_timedistance_v1[a1-b1-expected1]", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_param.py::TestDynamic", "type": "Class"}, {"nodeid": "tests/test_param.py::test_dynamic[ten]", "type": "Function", "lineno": 78}, {"nodeid": "tests/test_param.py::test_dynamic[twenty]", "type": "Function", "lineno": 78}, {"nodeid": "tests/test_param.py::test_dynamic[thirty]", "type": "Function", "lineno": 78}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f525]", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f4a7]", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f30d]", "type": "Function", "lineno": 87}, {"nodeid": "tests/test_param.py::test_combination[a-1]", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_param.py::test_combination[a-2]", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_param.py::test_combination[b-1]", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_param.py::test_combination[b-2]", "type": "Function", "lineno": 90}, {"nodeid": "tests/test_param.py::test_indirect_fixture[1]", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_param.py::test_indirect_fixture[2]", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_param.py::test_addition", "type": "Function", "lineno": 104}]}, {"nodeid": "tests/test_string_utils.py", "outcome": "passed", "result": [{"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "type": "Function", "lineno": 9}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "type": "Function", "lineno": 13}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "type": "Function", "lineno": 21}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "type": "Function", "lineno": 25}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "type": "Function", "lineno": 29}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "type": "Function", "lineno": 33}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "type": "Function", "lineno": 49}]}, {"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_param.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.004046548041515052, "outcome": "passed"}, "call": {"duration": 0.0005751890130341053, "outcome": "passed"}, "teardown": {"duration": 0.00027146993670612574, "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.0005751339485868812, "outcome": "passed"}, "call": {"duration": 0.0003221150254830718, "outcome": "passed"}, "teardown": {"duration": 0.00014916493091732264, "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.00013069401029497385, "outcome": "passed"}, "call": {"duration": 0.00016645994037389755, "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.0001764741027727723, "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.00013184593990445137, "outcome": "passed"}, "call": {"duration": 0.00020911404862999916, "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.0001845019869506359, "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.0002584459725767374, "outcome": "passed"}, "call": {"duration": 0.00019680894911289215, "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 0x7f765c3e24f0>\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.00022463395725935698, "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.00023410096764564514, "outcome": "passed"}, "call": {"duration": 0.003556645940989256, "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 0x7f765c3e1670>\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.00034571392461657524, "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.00016880501061677933, "outcome": "passed"}, "call": {"duration": 0.00021762901451438665, "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.00019904598593711853, "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.0003270599991083145, "outcome": "passed"}, "call": {"duration": 0.00023433694150298834, "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 0x7f765a489fa0>\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.0002857811050489545, "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.0008257150184363127, "outcome": "passed"}, "call": {"duration": 0.000990186003036797, "outcome": "passed"}, "teardown": {"duration": 0.00018131209071725607, "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.00013583595864474773, "outcome": "passed"}, "call": {"duration": 0.00019874004647135735, "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.0001777369761839509, "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.0001502240775153041, "outcome": "passed"}, "call": {"duration": 0.00018184504006057978, "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.00017495499923825264, "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.00014169595669955015, "outcome": "passed"}, "call": {"duration": 0.0002153310924768448, "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.00017435895279049873, "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.00037685397546738386, "outcome": "passed"}, "call": {"duration": 0.00017807597760111094, "outcome": "passed"}, "teardown": {"duration": 0.00018104398623108864, "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.0002856618957594037, "outcome": "passed"}, "call": {"duration": 0.0001445950474590063, "outcome": "passed"}, "teardown": {"duration": 0.00014608900528401136, "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.0002723169745877385, "outcome": "passed"}, "call": {"duration": 0.0001356080174446106, "outcome": "passed"}, "teardown": {"duration": 0.0001608660677447915, "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.0002673009876161814, "outcome": "passed"}, "call": {"duration": 0.00014610099606215954, "outcome": "passed"}, "teardown": {"duration": 0.00014427292626351118, "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.0002576269907876849, "outcome": "passed"}, "call": {"duration": 0.00013455806765705347, "outcome": "passed"}, "teardown": {"duration": 0.00013685598969459534, "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.00026673509273678064, "outcome": "passed"}, "call": {"duration": 0.00015209801495075226, "outcome": "passed"}, "teardown": {"duration": 0.0001405650982633233, "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.0002548719057813287, "outcome": "passed"}, "call": {"duration": 0.0001759770093485713, "outcome": "passed"}, "teardown": {"duration": 0.00016780896112322807, "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.0002554110251367092, "outcome": "passed"}, "call": {"duration": 0.0001307780621573329, "outcome": "passed"}, "teardown": {"duration": 0.0001368299126625061, "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.00010252906940877438, "outcome": "passed"}, "call": {"duration": 0.0005463439738377929, "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.00019687996245920658, "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.00018415797967463732, "outcome": "passed"}, "call": {"duration": 0.0001904340460896492, "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.0002142830053344369, "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.00016166595742106438, "outcome": "passed"}, "call": {"duration": 0.00035155098885297775, "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.00020736793521791697, "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.00017478910740464926, "outcome": "passed"}, "call": {"duration": 0.0001914800377562642, "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.00021000101696699858, "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.00015665392857044935, "outcome": "passed"}, "call": {"duration": 0.00018949003424495459, "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.0002249530516564846, "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.00015317904762923717, "outcome": "passed"}, "call": {"duration": 0.00018029799684882164, "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.00021454994566738605, "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.00014685909263789654, "outcome": "passed"}, "call": {"duration": 0.001003001001663506, "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.0002952179638668895, "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.00017113401554524899, "outcome": "passed"}, "call": {"duration": 0.0002120990538969636, "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.0002325150417163968, "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.0001649879850447178, "outcome": "passed"}, "call": {"duration": 0.0001982799731194973, "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.0002216859720647335, "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.00014171097427606583, "outcome": "passed"}, "call": {"duration": 0.00018552399706095457, "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.00022295594681054354, "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.00013601896353065968, "outcome": "passed"}, "call": {"duration": 0.000186258926987648, "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.00019501394126564264, "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.00015195400919765234, "outcome": "passed"}, "call": {"duration": 0.0001891111023724079, "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.00021281710360199213, "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.00016237597446888685, "outcome": "passed"}, "call": {"duration": 0.0001754160039126873, "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.00019258400425314903, "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.0001778260339051485, "outcome": "passed"}, "call": {"duration": 0.0001964080147445202, "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 0x7f765a1414c0>\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.00034132390283048153, "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.00018427090253680944, "outcome": "passed"}, "call": {"duration": 0.00022542302031069994, "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.00022514595184475183, "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.00017874198965728283, "outcome": "passed"}, "call": {"duration": 0.00021966395433992147, "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.0001937819179147482, "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.0001524758990854025, "outcome": "passed"}, "call": {"duration": 0.0001867909450083971, "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.00018762191757559776, "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.00014772498980164528, "outcome": "passed"}, "call": {"duration": 0.0001685429597273469, "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.00019867508672177792, "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.0001438329927623272, "outcome": "passed"}, "call": {"duration": 0.0001768310321494937, "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.00021146296057850122, "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.00015662796795368195, "outcome": "passed"}, "call": {"duration": 0.0005846749991178513, "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.0002498419489711523, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_basic_ids[one]", "lineno": 3, "outcome": "passed", "keywords": ["test_basic_ids[one]", "parametrize", "pytestmark", "one", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002945010783150792, "outcome": "passed"}, "call": {"duration": 0.00016439799219369888, "outcome": "passed"}, "teardown": {"duration": 0.0001505690161138773, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_basic_ids[two]", "lineno": 3, "outcome": "passed", "keywords": ["test_basic_ids[two]", "parametrize", "pytestmark", "two", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00022719393018633127, "outcome": "passed"}, "call": {"duration": 0.0001621349947527051, "outcome": "passed"}, "teardown": {"duration": 0.00012948201037943363, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_with_reason_and_marks[ten]", "lineno": 11, "outcome": "passed", "keywords": ["test_with_reason_and_marks[ten]", "parametrize", "pytestmark", "ten", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00017178594134747982, "outcome": "passed"}, "call": {"duration": 0.00013888301327824593, "outcome": "passed"}, "teardown": {"duration": 0.00011328700929880142, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_with_reason_and_marks[twenty]", "lineno": 11, "outcome": "skipped", "keywords": ["test_with_reason_and_marks[twenty]", "parametrize", "skip", "pytestmark", "twenty", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002714659785851836, "outcome": "skipped", "longrepr": "('/workspace/tligui_y/slic/tests/test_param.py', 12, 'Skipped: nope')"}, "teardown": {"duration": 0.0001330230152234435, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_multiple_positional_args[1-2]", "lineno": 19, "outcome": "passed", "keywords": ["test_multiple_positional_args[1-2]", "parametrize", "pytestmark", "1-2", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00023477489594370127, "outcome": "passed"}, "call": {"duration": 0.00013723107986152172, "outcome": "passed"}, "teardown": {"duration": 0.00015417998656630516, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_multiple_positional_args[3-4]", "lineno": 19, "outcome": "passed", "keywords": ["test_multiple_positional_args[3-4]", "parametrize", "pytestmark", "3-4", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00026552402414381504, "outcome": "passed"}, "call": {"duration": 0.00015120801981538534, "outcome": "passed"}, "teardown": {"duration": 0.00013779604341834784, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_non_literal_with_id[custom-obj]", "lineno": 27, "outcome": "passed", "keywords": ["test_non_literal_with_id[custom-obj]", "parametrize", "pytestmark", "custom-obj", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00018072605598717928, "outcome": "passed"}, "call": {"duration": 0.00012813101056963205, "outcome": "passed"}, "teardown": {"duration": 0.00012478092685341835, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_timedistance_v1[a0-b0-expected0]", "lineno": 40, "outcome": "passed", "keywords": ["test_timedistance_v1[a0-b0-expected0]", "parametrize", "pytestmark", "a0-b0-expected0", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002774460008367896, "outcome": "passed"}, "call": {"duration": 0.00014210108201950788, "outcome": "passed"}, "teardown": {"duration": 0.00015061197336763144, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_timedistance_v1[a1-b1-expected1]", "lineno": 40, "outcome": "passed", "keywords": ["test_timedistance_v1[a1-b1-expected1]", "parametrize", "pytestmark", "a1-b1-expected1", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0003146260278299451, "outcome": "passed"}, "call": {"duration": 0.0001645640004426241, "outcome": "passed"}, "teardown": {"duration": 0.0001625689910724759, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::TestDynamic::test_sum_positive", "lineno": 70, "outcome": "error", "keywords": ["test_sum_positive", "TestDynamic", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00015053991228342056, "outcome": "failed", "longrepr": "file /workspace/tligui_y/slic/tests/test_param.py, line 71\n def test_sum_positive(self, x, y):\nE fixture 'x' not found\n> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, complex_setup, cov, doctest_namespace, element, extra, extras, include_metadata_in_junit_xml, json_metadata, metadata, monkeypatch, no_cover, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory\n> use 'pytest --fixtures [testpath]' for help on them.\n\n/workspace/tligui_y/slic/tests/test_param.py:71"}, "teardown": {"duration": 0.00014553102664649487, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_dynamic[ten]", "lineno": 78, "outcome": "passed", "keywords": ["test_dynamic[ten]", "ten", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00022449507378041744, "outcome": "passed"}, "call": {"duration": 0.00013660592958331108, "outcome": "passed"}, "teardown": {"duration": 0.00012341199908405542, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_dynamic[twenty]", "lineno": 78, "outcome": "passed", "keywords": ["test_dynamic[twenty]", "twenty", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00018128997180610895, "outcome": "passed"}, "call": {"duration": 0.00014186394400894642, "outcome": "passed"}, "teardown": {"duration": 0.00012391700875014067, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_dynamic[thirty]", "lineno": 78, "outcome": "passed", "keywords": ["test_dynamic[thirty]", "thirty", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0001914730528369546, "outcome": "passed"}, "call": {"duration": 0.00014480599202215672, "outcome": "passed"}, "teardown": {"duration": 0.00011889601591974497, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f525]", "lineno": 87, "outcome": "passed", "keywords": ["test_element_type[\\U0001f525]", "\\U0001f525", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00017652299720793962, "outcome": "passed"}, "call": {"duration": 0.00012110103853046894, "outcome": "passed"}, "teardown": {"duration": 0.00011177698615938425, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f4a7]", "lineno": 87, "outcome": "passed", "keywords": ["test_element_type[\\U0001f4a7]", "\\U0001f4a7", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00017727608792483807, "outcome": "passed"}, "call": {"duration": 0.00012320594396442175, "outcome": "passed"}, "teardown": {"duration": 0.00011309399269521236, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_element_type[\\U0001f30d]", "lineno": 87, "outcome": "passed", "keywords": ["test_element_type[\\U0001f30d]", "\\U0001f30d", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00019549590069800615, "outcome": "passed"}, "call": {"duration": 0.0001270079519599676, "outcome": "passed"}, "teardown": {"duration": 0.00011253997217863798, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_combination[a-1]", "lineno": 90, "outcome": "passed", "keywords": ["test_combination[a-1]", "parametrize", "pytestmark", "a-1", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002054710639640689, "outcome": "passed"}, "call": {"duration": 0.00014165788888931274, "outcome": "passed"}, "teardown": {"duration": 0.00014828098937869072, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_combination[a-2]", "lineno": 90, "outcome": "passed", "keywords": ["test_combination[a-2]", "parametrize", "pytestmark", "a-2", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00023143005091696978, "outcome": "passed"}, "call": {"duration": 0.0001272719819098711, "outcome": "passed"}, "teardown": {"duration": 0.00012970296666026115, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_combination[b-1]", "lineno": 90, "outcome": "passed", "keywords": ["test_combination[b-1]", "parametrize", "pytestmark", "b-1", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002159950090572238, "outcome": "passed"}, "call": {"duration": 0.00014112400822341442, "outcome": "passed"}, "teardown": {"duration": 0.00014916702639311552, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_combination[b-2]", "lineno": 90, "outcome": "passed", "keywords": ["test_combination[b-2]", "parametrize", "pytestmark", "b-2", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.0002264670329168439, "outcome": "passed"}, "call": {"duration": 0.00013330194633454084, "outcome": "passed"}, "teardown": {"duration": 0.0001385509967803955, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_indirect_fixture[1]", "lineno": 100, "outcome": "passed", "keywords": ["test_indirect_fixture[1]", "parametrize", "pytestmark", "1", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00019485806114971638, "outcome": "passed"}, "call": {"duration": 0.00012752204202115536, "outcome": "passed"}, "teardown": {"duration": 0.00011469598393887281, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_indirect_fixture[2]", "lineno": 100, "outcome": "passed", "keywords": ["test_indirect_fixture[2]", "parametrize", "pytestmark", "2", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00038346590008586645, "outcome": "passed"}, "call": {"duration": 0.00014246406499296427, "outcome": "passed"}, "teardown": {"duration": 0.00012095598503947258, "outcome": "passed"}}, {"nodeid": "tests/test_param.py::test_addition", "lineno": 104, "outcome": "failed", "keywords": ["test_addition", "test_param.py", "tests", "slic", ""], "setup": {"duration": 0.00010920397471636534, "outcome": "passed"}, "call": {"duration": 0.00016185909043997526, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_param.py", "lineno": 107, "message": "NameError: name 'addition' is not defined"}, "traceback": [{"path": "tests/test_param.py", "lineno": 107, "message": "NameError"}], "longrepr": "a = 5, b = 5, expected = 10\n\n def test_addition(a = 5, b = 5, expected = 10):\n # Has to pass\n> assert addition(a, b) == expected\nE NameError: name 'addition' is not defined\n\ntests/test_param.py:107: NameError"}, "teardown": {"duration": 0.00015461992006748915, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_normal", "lineno": 9, "outcome": "passed", "keywords": ["test_uppercase_normal", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00013899500481784344, "outcome": "passed"}, "call": {"duration": 0.00015581701882183552, "outcome": "passed"}, "teardown": {"duration": 0.00011763605289161205, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_uppercase_type_error", "lineno": 13, "outcome": "failed", "keywords": ["test_uppercase_type_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012513494584709406, "outcome": "passed"}, "call": {"duration": 0.00018712098244577646, "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": 16, "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:16: \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.0001452360302209854, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_reverse_string", "lineno": 17, "outcome": "passed", "keywords": ["test_reverse_string", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011615606490522623, "outcome": "passed"}, "call": {"duration": 0.00014155299868434668, "outcome": "passed"}, "teardown": {"duration": 0.00013708206824958324, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_warning_emit", "lineno": 21, "outcome": "passed", "keywords": ["test_warning_emit", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011542299762368202, "outcome": "passed"}, "call": {"duration": 0.0001703629968687892, "outcome": "passed"}, "teardown": {"duration": 0.00010944704990833998, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_error", "lineno": 25, "outcome": "failed", "keywords": ["test_unicode_decode_error", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00011483195703476667, "outcome": "passed"}, "call": {"duration": 0.00016621500253677368, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 28, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 28, "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:28: UnicodeDecodeError"}, "teardown": {"duration": 0.00014103204011917114, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_unicode_decode_surrogateescape", "lineno": 29, "outcome": "failed", "keywords": ["test_unicode_decode_surrogateescape", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001225159503519535, "outcome": "passed"}, "call": {"duration": 0.00017642893362790346, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 32, "message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 32, "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:32: UnicodeDecodeError"}, "teardown": {"duration": 0.0001375430729240179, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_import_warning", "lineno": 33, "outcome": "passed", "keywords": ["test_import_warning", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001167969312518835, "outcome": "passed"}, "call": {"duration": 0.00014224601909518242, "outcome": "passed"}, "teardown": {"duration": 0.00010322895832359791, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_xfail_uppercase_digits", "lineno": 37, "outcome": "xfailed", "keywords": ["test_xfail_uppercase_digits", "xfail", "pytestmark", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.00012042908929288387, "outcome": "passed"}, "call": {"duration": 0.0006683010142296553, "outcome": "skipped", "crash": {"path": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 41, "message": "AssertionError: assert 'ABC123' == 'ABC1234'\n \n - ABC1234\n ? -\n + ABC123"}, "traceback": [{"path": "tests/test_string_utils.py", "lineno": 41, "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:41: AssertionError"}, "teardown": {"duration": 0.00014400098007172346, "outcome": "passed"}}, {"nodeid": "tests/test_string_utils.py::test_keyboard_interrupt_direct", "lineno": 49, "outcome": "passed", "keywords": ["test_keyboard_interrupt_direct", "test_string_utils.py", "tests", "slic", ""], "setup": {"duration": 0.0001536490162834525, "outcome": "passed"}}], "warnings": [{"message": "Test warning", "category": "UserWarning", "when": "runtest", "filename": "/workspace/tligui_y/slic/tests/test_string_utils.py", "lineno": 24}]} \ No newline at end of file diff --git a/ci-reports/markdown/runtime_params.json b/ci-reports/markdown/runtime_params.json index 5eac47a2..68877b2c 100644 --- a/ci-reports/markdown/runtime_params.json +++ b/ci-reports/markdown/runtime_params.json @@ -266,7 +266,7 @@ "nodeid": "tests/test_param.py::test_non_literal_with_id[custom-obj]", "callspec": { "params": { - "data": "" + "data": "" }, "id": "custom-obj" }