Files
slic/ci-reports/markdown/TEST-REPORT.md
T

38 KiB

🧪 Test Report

Generated on 2025-07-14 12:20:09

📋 Summary

  • Passed: 21
  • Failed: 7
  • Xfailed: 1
  • Total: 29
  • Collected: 68
  • Total Duration: 0.449s

🔎 Tests

Passed (21)
📁 test_io_utils.py
🔧 Function: `test_read_file`
#1
  • Status: passed
  • Duration: 0.000522 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.004585384973324835
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0005223470507189631
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.0012825450394302607
📌 Outcome
passed
🔧 Function: `test_write_file`
#2
  • Status: passed
  • Duration: 0.000336 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0007035970920696855
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0003356320085003972
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.000676836003549397
📌 Outcome
passed
🔧 Function: `test_cause_io_error`
#3
  • Status: passed
  • Duration: 0.000370 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0001906540710479021
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0003695669583976269
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00020242598839104176
📌 Outcome
passed
🔧 Function: `test_file_not_found`
#4
  • Status: passed
  • Duration: 0.000202 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00018784101121127605
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00020207103807479143
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.0001990130404010415
📌 Outcome
passed
🔧 Function: `test_permission_error`
#5
  • Status: passed
  • Duration: 0.000220 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0003688280703499913
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0002199830487370491
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.0006377359386533499
📌 Outcome
passed
🔧 Function: `test_mock_open_error`
#6
  • Status: passed
  • Duration: 0.008738 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00034252204932272434
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.008737592957913876
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.0008831910090520978
📌 Outcome
passed
🔧 Function: `test_file_handle_closed_error`
#7
  • Status: passed
  • Duration: 0.000195 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00021371105685830116
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00019521894864737988
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00022020202595740557
📌 Outcome
passed
🔧 Function: `test_os_error`
#8
  • Status: passed
  • Duration: 0.000212 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0003871030639857054
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0002121219877153635
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.0007361109601333737
📌 Outcome
passed
🔧 Function: `test_file_not_found_error`
#10
  • Status: passed
  • Duration: 0.000205 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0001953050959855318
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00020465906709432602
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00021826301235705614
📌 Outcome
passed
📁 test_math_utils.py
🔧 Function: `test_call_missing_function`
#12
  • Status: passed
  • Duration: 0.000192 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00018954300321638584
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00019182008691132069
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00019805703777819872
📌 Outcome
passed
🔧 Function: `test_addition_pass`
#13
  • Status: passed
  • Duration: 0.000158 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00017546210438013077
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00015822798013687134
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00020389596465975046
📌 Outcome
passed
🔧 Function: `test_division_zero`
#15
  • Status: passed
  • Duration: 0.000196 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0001930199796333909
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0001957679633051157
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00021608592942357063
📌 Outcome
passed
🔧 Function: `test_memory_error`
#18
  • Status: passed
  • Duration: 0.000207 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00019800302106887102
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00020660401787608862
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00020049395971000195
📌 Outcome
passed
🔧 Function: `test_timeout_error`
#19
  • Status: passed
  • Duration: 0.000179 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00018141302280128002
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00017882301472127438
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00019298994448035955
📌 Outcome
passed
🔧 Function: `test_recursion_error`
#20
  • Status: passed
  • Duration: 0.001457 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.000197026995010674
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0014572929358109832
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00023228803183883429
📌 Outcome
passed
🔧 Function: `test_floating_point_error`
#21
  • Status: passed
  • Duration: 0.000187 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00018959096632897854
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00018655299209058285
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.0001966729760169983
📌 Outcome
passed
🔧 Function: `test_floating_point_overflow`
#22
  • Status: passed
  • Duration: 0.000179 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00017124705482274294
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00017946690786629915
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00020637200213968754
📌 Outcome
passed
🔧 Function: `test_value_error`
#23
  • Status: passed
  • Duration: 0.000186 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00017428898718208075
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00018609396647661924
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.0001979350345209241
📌 Outcome
passed
🔧 Function: `test_type_error`
#24
  • Status: passed
  • Duration: 0.000171 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00017266895156353712
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0001714819809421897
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.00021043303422629833
📌 Outcome
passed
🔧 Function: `test_custom_error`
#26
  • Status: passed
  • Duration: 0.000204 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00020842906087636948
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00020438898354768753
📌 Outcome
passed

🔧 Teardown Phase

📌 Duration
0.0002151569351553917
📌 Outcome
passed
🔧 Function: `test_keyboard_interrupt_direct`
#29
  • Status: passed
  • Duration: None
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00019766809418797493
📌 Outcome
passed
Failed (7)
📁 test_io_utils.py
🔧 Function: `test_write_file_readonly`
#9
  • Status: failed
  • Duration: 0.001412 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0007446100935339928
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.001411620993167162
📌 Outcome
failed
📌 Crash
path: /workspace/tligui_y/slic/tests/test_io_utils.py
lineno: 72
message: Failed: DID NOT RAISE <class 'PermissionError'>
📌 Traceback
path: tests/test_io_utils.py
lineno: 72
message: Failed
📌 Longrepr
tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_write_file_readonly0')

    def test_write_file_readonly(tmp_path):
        # Writing to read-only file raises PermissionError
        file = tmp_path / "readonly.txt"
        file.write_text("data")
        os.chmod(file, 0o444)
        with pytest.raises(PermissionError):
            with open(file, "w") as f:
>               f.write("new content")
E               Failed: DID NOT RAISE <class 'PermissionError'>

tests/test_io_utils.py:72: Failed

🔧 Teardown Phase

📌 Duration
0.0007463230285793543
📌 Outcome
passed
📁 test_math_utils.py
🔧 Function: `test_broken`
#11
  • Status: failed
  • Duration: 0.000183 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00018959399312734604
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00018309103325009346
📌 Outcome
failed
📌 Crash
path: /workspace/tligui_y/slic/tests/test_math_utils.py
lineno: 16
message: NameError: name 'want_the_test_to_fail' is not defined
📌 Traceback
path: tests/test_math_utils.py
lineno: 16
message: NameError
📌 Longrepr
def test_broken():
        # simulating a broken or faulty test implementation that will cause the test to error
>       want_the_test_to_fail
E       NameError: name 'want_the_test_to_fail' is not defined

tests/test_math_utils.py:16: NameError

🔧 Teardown Phase

📌 Duration
0.00025094894226640463
📌 Outcome
passed
🔧 Function: `test_addition_fail`
#14
  • Status: failed
  • Duration: 0.000478 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0001781419850885868
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00047771097160875797
📌 Outcome
failed
📌 Crash
path: /workspace/tligui_y/slic/tests/test_math_utils.py
lineno: 29
message: assert 4 == 5
 +  where 4 = addition(2, 2)
📌 Traceback
path: tests/test_math_utils.py
lineno: 29
message: AssertionError
📌 Longrepr
def test_addition_fail():
        # Assertion failure: expected incorrect result
>       assert addition(2, 2) == 5
E       assert 4 == 5
E        +  where 4 = addition(2, 2)

tests/test_math_utils.py:29: AssertionError

🔧 Teardown Phase

📌 Duration
0.00025041098706424236
📌 Outcome
passed
🔧 Function: `test_runtime_error`
#17
  • Status: failed
  • Duration: 0.000182 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00019690790213644505
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0001823940547183156
📌 Outcome
failed
📌 Crash
path: /workspace/tligui_y/slic/tests/test_math_utils.py
lineno: 43
message: RuntimeError: Forced runtime error
📌 Traceback
path: tests/test_math_utils.py
lineno: 43
message: RuntimeError
📌 Longrepr
def test_runtime_error():
        # Test raises an uncaught RuntimeError
>       raise RuntimeError("Forced runtime error")
E       RuntimeError: Forced runtime error

tests/test_math_utils.py:43: RuntimeError

🔧 Teardown Phase

📌 Duration
0.0002497039968147874
📌 Outcome
passed
🔧 Function: `test_unhandled_exception`
#25
  • Status: failed
  • Duration: 0.000178 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0001710799988359213
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0001779060112312436
📌 Outcome
failed
📌 Crash
path: /workspace/tligui_y/slic/tests/test_math_utils.py
lineno: 84
message: Exception: Generic unhandled exception
📌 Traceback
path: tests/test_math_utils.py
lineno: 84
message: Exception
📌 Longrepr
def test_unhandled_exception():
        # Raises generic unhandled Exception
>       raise Exception("Generic unhandled exception")
E       Exception: Generic unhandled exception

tests/test_math_utils.py:84: Exception

🔧 Teardown Phase

📌 Duration
0.0002738379407674074
📌 Outcome
passed
🔧 Function: `test_stop_iteration_direct`
#27
  • Status: failed
  • Duration: 0.000189 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0001840329496189952
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00018927408382296562
📌 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 <lambda>
path: .pixi/envs/default/lib/python3.8/site-packages/pluggy/_hooks.py
lineno: 513
message: in __call__
path: .pixi/envs/default/lib/python3.8/site-packages/pluggy/_manager.py
lineno: 120
message: in _hookexec
path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py
lineno: 92
message: in pytest_runtest_call
path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/threadexception.py
lineno: 68
message: in thread_exception_runtest_hook
path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py
lineno: 95
message: in pytest_runtest_call
path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/unraisableexception.py
lineno: 70
message: in unraisable_exception_runtest_hook
path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py
lineno: 846
message: in pytest_runtest_call
path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/logging.py
lineno: 829
message: in _runtest_for
path: .pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py
lineno: 880
message: RuntimeError
📌 Longrepr
def test_stop_iteration_direct():
        # Directly raise StopIteration exception
>       raise StopIteration()
E       StopIteration

tests/test_math_utils.py:93: StopIteration

The above exception was the direct cause of the following exception:

cls = <class '_pytest.runner.CallInfo'>
func = <function call_and_report.<locals>.<lambda> at 0x7f35c9394c10>
when = 'call'
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)

    @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>
    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 = <CaptureManager _method='no' _global_capturing=<MultiCapture out=None err=None in_=None _state='suspended' _in_suspended=False> _capture_fixture=None>
item = <Function test_stop_iteration_direct>

    @hookimpl(wrapper=True)
    def pytest_runtest_call(self, item: Item) -> Generator[None]:
        with self.item_capture("call", item):
>           return (yield)
E           RuntimeError: generator raised StopIteration

.pixi/envs/default/lib/python3.8/site-packages/_pytest/capture.py:880: RuntimeError

🔧 Teardown Phase

📌 Duration
0.00044300605077296495
📌 Outcome
passed
🔧 Function: `test_generator_exit_direct`
#28
  • Status: failed
  • Duration: 0.000218 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.00026665895711630583
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.00021848001051694155
📌 Outcome
failed
📌 Crash
path: /workspace/tligui_y/slic/tests/test_math_utils.py
lineno: 97
message: GeneratorExit
📌 Traceback
path: tests/test_math_utils.py
lineno: 97
message: GeneratorExit
📌 Longrepr
def test_generator_exit_direct():
        # Directly raise GeneratorExit exception
>       raise GeneratorExit()
E       GeneratorExit

tests/test_math_utils.py:97: GeneratorExit

🔧 Teardown Phase

📌 Duration
0.00027358101215213537
📌 Outcome
passed
Xfailed (1)
📁 test_math_utils.py
🔧 Function: `test_multiply_xfail`
#16
  • Status: xfailed
  • Duration: 0.000327 s
  • Severity: normal

🔧 Setup Phase

📌 Duration
0.0001933760941028595
📌 Outcome
passed

🔧 Call Phase

📌 Duration
0.0003274839837104082
📌 Outcome
skipped
📌 Crash
path: /workspace/tligui_y/slic/tests/test_math_utils.py
lineno: 39
message: assert 4 == 5
 +  where 4 = multiply(2, 2)
📌 Traceback
path: tests/test_math_utils.py
lineno: 39
message: AssertionError
📌 Longrepr
@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:39: AssertionError

🔧 Teardown Phase

📌 Duration
0.00027496693655848503
📌 Outcome
passed

📚 Collected files

(1 tests)
  • Outcome: passed
  • Details:
result:
  nodeid: tests/test_io_utils.py
  type: Module
  nodeid: tests/test_math_utils.py
  type: Module
  nodeid: tests/test_string_utils.py
  type: Module
  nodeid: tests/test_forth_file.py
  type: Module

tests (4 tests)
tests/test_forth_file.py
  • Outcome: passed
  • Details:
result:
  nodeid: tests/test_forth_file.py::test_broken
  type: Function
  lineno: 13
  nodeid: tests/test_forth_file.py::test_call_missing_function
  type: Function
  lineno: 17
  nodeid: tests/test_forth_file.py::test_addition_pass
  type: Function
  lineno: 22
  nodeid: tests/test_forth_file.py::test_addition_fail
  type: Function
  lineno: 26
  nodeid: tests/test_forth_file.py::test_division_zero
  type: Function
  lineno: 30
  nodeid: tests/test_forth_file.py::test_multiply_xfail
  type: Function
  lineno: 35
  nodeid: tests/test_forth_file.py::test_runtime_error
  type: Function
  lineno: 40
  nodeid: tests/test_forth_file.py::test_memory_error
  type: Function
  lineno: 44
  nodeid: tests/test_forth_file.py::test_timeout_error
  type: Function
  lineno: 49
  nodeid: tests/test_forth_file.py::test_recursion_error
  type: Function
  lineno: 54
  nodeid: tests/test_forth_file.py::test_floating_point_error
  type: Function
  lineno: 61
  nodeid: tests/test_forth_file.py::test_floating_point_overflow
  type: Function
  lineno: 66
  nodeid: tests/test_forth_file.py::test_value_error
  type: Function
  lineno: 71
  nodeid: tests/test_forth_file.py::test_type_error
  type: Function
  lineno: 76
  nodeid: tests/test_forth_file.py::test_unhandled_exception
  type: Function
  lineno: 81
  nodeid: tests/test_forth_file.py::test_custom_error
  type: Function
  lineno: 85
  nodeid: tests/test_forth_file.py::test_stop_iteration_direct
  type: Function
  lineno: 90
  nodeid: tests/test_forth_file.py::test_generator_exit_direct
  type: Function
  lineno: 94
  nodeid: tests/test_forth_file.py::test_keyboard_interrupt_direct
  type: Function
  lineno: 98
  nodeid: tests/test_forth_file.py::test_recursion_limit
  type: Function
  lineno: 102
  nodeid: tests/test_forth_file.py::test_malformed_code
  type: Function
  lineno: 112
  nodeid: tests/test_forth_file.py::test_sys_exit
  type: Function
  lineno: 117
  nodeid: tests/test_forth_file.py::test_broken_function
  type: Function
  lineno: 125
  nodeid: tests/test_forth_file.py::test_import_error_patch
  type: Function
  lineno: 133
  nodeid: tests/test_forth_file.py::test_module_not_found_error
  type: Function
  lineno: 144

tests/test_io_utils.py
  • Outcome: passed
  • Details:
result:
  nodeid: tests/test_io_utils.py::test_read_file
  type: Function
  lineno: 9
  nodeid: tests/test_io_utils.py::test_write_file
  type: Function
  lineno: 16
  nodeid: tests/test_io_utils.py::test_cause_io_error
  type: Function
  lineno: 22
  nodeid: tests/test_io_utils.py::test_file_not_found
  type: Function
  lineno: 27
  nodeid: tests/test_io_utils.py::test_permission_error
  type: Function
  lineno: 32
  nodeid: tests/test_io_utils.py::test_mock_open_error
  type: Function
  lineno: 40
  nodeid: tests/test_io_utils.py::test_file_handle_closed_error
  type: Function
  lineno: 49
  nodeid: tests/test_io_utils.py::test_os_error
  type: Function
  lineno: 56
  nodeid: tests/test_io_utils.py::test_write_file_readonly
  type: Function
  lineno: 64
  nodeid: tests/test_io_utils.py::test_file_not_found_error
  type: Function
  lineno: 73

tests/test_math_utils.py
  • Outcome: passed
  • Details:
result:
  nodeid: tests/test_math_utils.py::test_broken
  type: Function
  lineno: 13
  nodeid: tests/test_math_utils.py::test_call_missing_function
  type: Function
  lineno: 17
  nodeid: tests/test_math_utils.py::test_addition_pass
  type: Function
  lineno: 22
  nodeid: tests/test_math_utils.py::test_addition_fail
  type: Function
  lineno: 26
  nodeid: tests/test_math_utils.py::test_division_zero
  type: Function
  lineno: 30
  nodeid: tests/test_math_utils.py::test_multiply_xfail
  type: Function
  lineno: 35
  nodeid: tests/test_math_utils.py::test_runtime_error
  type: Function
  lineno: 40
  nodeid: tests/test_math_utils.py::test_memory_error
  type: Function
  lineno: 44
  nodeid: tests/test_math_utils.py::test_timeout_error
  type: Function
  lineno: 49
  nodeid: tests/test_math_utils.py::test_recursion_error
  type: Function
  lineno: 54
  nodeid: tests/test_math_utils.py::test_floating_point_error
  type: Function
  lineno: 61
  nodeid: tests/test_math_utils.py::test_floating_point_overflow
  type: Function
  lineno: 66
  nodeid: tests/test_math_utils.py::test_value_error
  type: Function
  lineno: 71
  nodeid: tests/test_math_utils.py::test_type_error
  type: Function
  lineno: 76
  nodeid: tests/test_math_utils.py::test_unhandled_exception
  type: Function
  lineno: 81
  nodeid: tests/test_math_utils.py::test_custom_error
  type: Function
  lineno: 85
  nodeid: tests/test_math_utils.py::test_stop_iteration_direct
  type: Function
  lineno: 90
  nodeid: tests/test_math_utils.py::test_generator_exit_direct
  type: Function
  lineno: 94
  nodeid: tests/test_math_utils.py::test_keyboard_interrupt_direct
  type: Function
  lineno: 98
  nodeid: tests/test_math_utils.py::test_recursion_limit
  type: Function
  lineno: 102
  nodeid: tests/test_math_utils.py::test_malformed_code
  type: Function
  lineno: 112
  nodeid: tests/test_math_utils.py::test_sys_exit
  type: Function
  lineno: 117
  nodeid: tests/test_math_utils.py::test_broken_function
  type: Function
  lineno: 125
  nodeid: tests/test_math_utils.py::test_import_error_patch
  type: Function
  lineno: 133
  nodeid: tests/test_math_utils.py::test_module_not_found_error
  type: Function
  lineno: 144

tests/test_string_utils.py
  • Outcome: passed
  • Details:
result:
  nodeid: tests/test_string_utils.py::test_uppercase_normal
  type: Function
  lineno: 7
  nodeid: tests/test_string_utils.py::test_uppercase_type_error
  type: Function
  lineno: 11
  nodeid: tests/test_string_utils.py::test_reverse_string
  type: Function
  lineno: 16
  nodeid: tests/test_string_utils.py::test_warning_emit
  type: Function
  lineno: 20
  nodeid: tests/test_string_utils.py::test_unicode_decode_error
  type: Function
  lineno: 30
  nodeid: tests/test_string_utils.py::test_unicode_decode_surrogateescape
  type: Function
  lineno: 35
  nodeid: tests/test_string_utils.py::test_import_warning
  type: Function
  lineno: 40
  nodeid: tests/test_string_utils.py::test_xfail_uppercase_digits
  type: Function
  lineno: 47