Table of Contents
Test Report
View CI Run 1504 | Commit 4670b69
🧪 Test Report
Generated on 2025-08-03 13:38:27 CEST
🧾 General Info
- duration: 15.517720699310303
- root: /workspace/tligui_y/slic
- environment: {}
📋 Summary
- Failed: 74
- Passed: 277
- Total: 351
- Collected: 351
🔎 Tests
❌ Failed (74)
-
📄 test_utils_ask_yes_no.py
↳ Function: test_ask_yes_no
-
❌ Test 1
params: default=null, user_input="y", expected_output=true, expected_prompt="Question? [y/n] "📌 Runtime Parameters
params: default: None user_input: y expected_output: True expected_prompt: Question? [y/n] id: None-y-True-Question? [y/n]📌 Setup phase
duration:
0.0007124249823391438outcome:
passed📌 Call phase
duration:
0.0014017708599567413outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = 'y', expected_output = True expected_prompt = 'Question? [y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f686a35d8b0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00045306701213121414outcome:
passed -
❌ Test 2
params: default=null, user_input="yes", expected_output=true, expected_prompt="Question? [y/n] "📌 Runtime Parameters
params: default: None user_input: yes expected_output: True expected_prompt: Question? [y/n] id: None-yes-True-Question? [y/n]📌 Setup phase
duration:
0.0004089539870619774outcome:
passed📌 Call phase
duration:
0.0014565279707312584outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = 'yes', expected_output = True expected_prompt = 'Question? [y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab5a790> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00032795174047350883outcome:
passed -
❌ Test 3
params: default=null, user_input="n", expected_output=false, expected_prompt="Question? [y/n] "📌 Runtime Parameters
params: default: None user_input: n expected_output: False expected_prompt: Question? [y/n] id: None-n-False-Question? [y/n]📌 Setup phase
duration:
0.00039652595296502113outcome:
passed📌 Call phase
duration:
0.0014944770373404026outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = 'n', expected_output = False expected_prompt = 'Question? [y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab5a160> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.000315267127007246outcome:
passed -
❌ Test 4
params: default=null, user_input="no", expected_output=false, expected_prompt="Question? [y/n] "📌 Runtime Parameters
params: default: None user_input: no expected_output: False expected_prompt: Question? [y/n] id: None-no-False-Question? [y/n]📌 Setup phase
duration:
0.00039014173671603203outcome:
passed📌 Call phase
duration:
0.0014525600709021091outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = 'no', expected_output = False expected_prompt = 'Question? [y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab27a60> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00031737424433231354outcome:
passed -
❌ Test 5
params: default=null, user_input=["maybe", "y"], expected_output=true, expected_prompt="Question? [y/n] "📌 Runtime Parameters
params: default: None user_input: - maybe - y expected_output: True expected_prompt: Question? [y/n] id: None-user_input4-True-Question? [y/n]📌 Setup phase
duration:
0.00041868118569254875outcome:
passed📌 Call phase
duration:
0.001449356321245432outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = ['maybe', 'y'], expected_output = True expected_prompt = 'Question? [y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab5a5e0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0003322949633002281outcome:
passed -
❌ Test 6
params: default=null, user_input=["", "no"], expected_output=false, expected_prompt="Question? [y/n] "📌 Runtime Parameters
params: default: None user_input: - (vide) - no expected_output: False expected_prompt: Question? [y/n] id: None-user_input5-False-Question? [y/n]📌 Setup phase
duration:
0.0003817630931735039outcome:
passed📌 Call phase
duration:
0.0014944248832762241outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = ['', 'no'], expected_output = False expected_prompt = 'Question? [y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab27ee0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0003199959173798561outcome:
passed -
❌ Test 7
params: default=null, user_input=["invalid", "", "invalid", "yes"], expected_output=true, expected_prompt="Question? [y/n] "📌 Runtime Parameters
params: default: None user_input: - invalid - (vide) - invalid - yes expected_output: True expected_prompt: Question? [y/n] id: None-user_input6-True-Question? [y/n]📌 Setup phase
duration:
0.00038448208943009377outcome:
passed📌 Call phase
duration:
0.0014338470064103603outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = ['invalid', '', 'invalid', 'yes'] expected_output = True, expected_prompt = 'Question? [y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f68d1c2c040> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00028919707983732224outcome:
passed -
❌ Test 8
params: default="y", user_input="y", expected_output=true, expected_prompt="Question? [Y/n] "📌 Runtime Parameters
params: default: y user_input: y expected_output: True expected_prompt: Question? [Y/n] id: y-y-True-Question? [Y/n]📌 Setup phase
duration:
0.00036556413397192955outcome:
passed📌 Call phase
duration:
0.001393602229654789outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'y', user_input = 'y', expected_output = True expected_prompt = 'Question? [Y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab5a160> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00030208006501197815outcome:
passed -
❌ Test 9
params: default="y", user_input="n", expected_output=false, expected_prompt="Question? [Y/n] "📌 Runtime Parameters
params: default: y user_input: n expected_output: False expected_prompt: Question? [Y/n] id: y-n-False-Question? [Y/n]📌 Setup phase
duration:
0.00037575699388980865outcome:
passed📌 Call phase
duration:
0.0013853469863533974outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'y', user_input = 'n', expected_output = False expected_prompt = 'Question? [Y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab57310> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00029920972883701324outcome:
passed -
❌ Test 10
params: default="y", user_input="", expected_output=true, expected_prompt="Question? [Y/n] "📌 Runtime Parameters
params: default: y user_input: None expected_output: True expected_prompt: Question? [Y/n] id: y--True-Question? [Y/n]📌 Setup phase
duration:
0.0003648926503956318outcome:
passed📌 Call phase
duration:
0.001422007568180561outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'y', user_input = '', expected_output = True expected_prompt = 'Question? [Y/n] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab57d30> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002954513765871525outcome:
passed -
❌ Test 11
params: default="n", user_input="y", expected_output=true, expected_prompt="Question? [y/N] "📌 Runtime Parameters
params: default: n user_input: y expected_output: True expected_prompt: Question? [y/N] id: n-y-True-Question? [y/N]📌 Setup phase
duration:
0.0003679567016661167outcome:
passed📌 Call phase
duration:
0.0014021852985024452outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n', user_input = 'y', expected_output = True expected_prompt = 'Question? [y/N] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab573a0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0003029871731996536outcome:
passed -
❌ Test 12
params: default="n", user_input="n", expected_output=false, expected_prompt="Question? [y/N] "📌 Runtime Parameters
params: default: n user_input: n expected_output: False expected_prompt: Question? [y/N] id: n-n-False-Question? [y/N]📌 Setup phase
duration:
0.0003668651916086674outcome:
passed📌 Call phase
duration:
0.001399804838001728outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n', user_input = 'n', expected_output = False expected_prompt = 'Question? [y/N] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab27ee0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002924380823969841outcome:
passed -
❌ Test 13
params: default="n", user_input="", expected_output=false, expected_prompt="Question? [y/N] "📌 Runtime Parameters
params: default: n user_input: None expected_output: False expected_prompt: Question? [y/N] id: n--False-Question? [y/N]📌 Setup phase
duration:
0.00037180399522185326outcome:
passed📌 Call phase
duration:
0.001381807029247284outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 39 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n', user_input = '', expected_output = False expected_prompt = 'Question? [y/N] ' @pytest.mark.parametrize( "default, user_input, expected_output, expected_prompt", [ # Basic cases (None, 'y', True, "Question? [y/n] "), (None, 'yes', True, "Question? [y/n] "), (None, 'n', False, "Question? [y/n] "), (None, 'no', False, "Question? [y/n] "), # Invalid entrances first (None, ['maybe', 'y'], True, "Question? [y/n] "), (None, ['', 'no'], False, "Question? [y/n] "), (None, ['invalid', '', 'invalid', 'yes'], True, "Question? [y/n] "), # Try different defaults values than None ('y', 'y', True, "Question? [Y/n] "), ('y', 'n', False, "Question? [Y/n] "), ('y', '', True, "Question? [Y/n] "), ('n', 'y', True, "Question? [y/N] "), ('n', 'n', False, "Question? [y/N] "), ('n', '', False, "Question? [y/N] "), ] ) def test_ask_yes_no(default, user_input, expected_output, expected_prompt): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, return_value=user_input) > with input_patch as mock_input: tests/test_utils_ask_yes_no.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab5a790> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00029006972908973694outcome:
passed
↳ Function: test_ask_yes_no_ctrl_c
-
❌ Test 14
params: default=null, user_input="", expected_output=false, ctrl_c="n"📌 Runtime Parameters
params: default: None user_input: <class 'KeyboardInterrupt'> expected_output: False ctrl_c: n id: None-KeyboardInterrupt-False-n📌 Setup phase
duration:
0.00038129743188619614outcome:
passed📌 Call phase
duration:
0.001421382650732994outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = <class 'KeyboardInterrupt'> expected_output = False, ctrl_c = 'n' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab279d0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00029740110039711outcome:
passed -
❌ Test 15
params: default=null, user_input="", expected_output=true, ctrl_c="y"📌 Runtime Parameters
params: default: None user_input: <class 'KeyboardInterrupt'> expected_output: True ctrl_c: y id: None-KeyboardInterrupt-True-y📌 Setup phase
duration:
0.0003863750025629997outcome:
passed📌 Call phase
duration:
0.0014479132369160652outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = <class 'KeyboardInterrupt'>, expected_output = True ctrl_c = 'y' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab5ab80> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00034388573840260506outcome:
passed -
❌ Test 16
params: default="y", user_input="", expected_output=false, ctrl_c="n"📌 Runtime Parameters
params: default: y user_input: <class 'KeyboardInterrupt'> expected_output: False ctrl_c: n id: y-KeyboardInterrupt-False-n📌 Setup phase
duration:
0.000378279946744442outcome:
passed📌 Call phase
duration:
0.001409878022968769outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'y', user_input = <class 'KeyboardInterrupt'>, expected_output = False ctrl_c = 'n' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab57f70> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00028771301731467247outcome:
passed -
❌ Test 17
params: default="y", user_input="", expected_output=true, ctrl_c="y"📌 Runtime Parameters
params: default: y user_input: <class 'KeyboardInterrupt'> expected_output: True ctrl_c: y id: y-KeyboardInterrupt-True-y📌 Setup phase
duration:
0.00038542691618204117outcome:
passed📌 Call phase
duration:
0.001415276899933815outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'y', user_input = <class 'KeyboardInterrupt'>, expected_output = True ctrl_c = 'y' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687a855f70> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002908799797296524outcome:
passed -
❌ Test 18
params: default="n", user_input="", expected_output=false, ctrl_c="n"📌 Runtime Parameters
params: default: n user_input: <class 'KeyboardInterrupt'> expected_output: False ctrl_c: n id: n-KeyboardInterrupt-False-n📌 Setup phase
duration:
0.00037059374153614044outcome:
passed📌 Call phase
duration:
0.0014194436371326447outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n', user_input = <class 'KeyboardInterrupt'>, expected_output = False ctrl_c = 'n' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab579d0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0003023780882358551outcome:
passed -
❌ Test 19
params: default=null, user_input="['invalid', '', 'invalid', ]", expected_output=false, ctrl_c="n"📌 Runtime Parameters
params: default: None user_input: ['invalid', '', 'invalid', <class 'KeyboardInterrupt'>] expected_output: False ctrl_c: n id: None-user_input5-False-n📌 Setup phase
duration:
0.00036875205114483833outcome:
passed📌 Call phase
duration:
0.0013836841098964214outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None user_input = ['invalid', '', 'invalid', <class 'KeyboardInterrupt'>] expected_output = False, ctrl_c = 'n' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab5aaf0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00031042424961924553outcome:
passed -
❌ Test 20
params: default=null, user_input="['invalid', '', 'invalid', ]", expected_output=true, ctrl_c="y"📌 Runtime Parameters
params: default: None user_input: ['invalid', '', 'invalid', <class 'KeyboardInterrupt'>] expected_output: True ctrl_c: y id: None-user_input6-True-y📌 Setup phase
duration:
0.0003607310354709625outcome:
passed📌 Call phase
duration:
0.0014111651107668877outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None user_input = ['invalid', '', 'invalid', <class 'KeyboardInterrupt'>] expected_output = True, ctrl_c = 'y' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d310> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00028676027432084084outcome:
passed -
❌ Test 21
params: default=null, user_input="['foo', '', , '', 'invalid', , 'no']", expected_output=false, ctrl_c=null📌 Runtime Parameters
params: default: None user_input: ['foo', '', <class 'KeyboardInterrupt'>, '', 'invalid', <class 'KeyboardInterrupt'>, 'no'] expected_output: False ctrl_c: None id: None-user_input7-False-None📌 Setup phase
duration:
0.0003616148605942726outcome:
passed📌 Call phase
duration:
0.0013898080214858055outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None user_input = ['foo', '', <class 'KeyboardInterrupt'>, '', 'invalid', <class 'KeyboardInterrupt'>, ...] expected_output = False, ctrl_c = None @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d430> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00029572518542408943outcome:
passed -
❌ Test 22
params: default="n", user_input="[, , , '']", expected_output=false, ctrl_c=null📌 Runtime Parameters
params: default: n user_input: [<class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, ''] expected_output: False ctrl_c: None id: n-user_input8-False-None📌 Setup phase
duration:
0.00036712316796183586outcome:
passed📌 Call phase
duration:
0.0013807211071252823outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n' user_input = [<class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, ''] expected_output = False, ctrl_c = None @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d820> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00029998598620295525outcome:
passed -
❌ Test 23
params: default="n", user_input="[, , , '']", expected_output=false, ctrl_c="Invalid"📌 Runtime Parameters
params: default: n user_input: [<class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, ''] expected_output: False ctrl_c: Invalid id: n-user_input9-False-Invalid📌 Setup phase
duration:
0.000372827984392643outcome:
passed📌 Call phase
duration:
0.0015054610557854176outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 75 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n' user_input = [<class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, ''] expected_output = False, ctrl_c = 'Invalid' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_c", [ # Basic cases where it takes directly ctrl_c value (None, KeyboardInterrupt, False, "n"), (None, KeyboardInterrupt, True, "y"), ('y', KeyboardInterrupt, False, "n"), ('y', KeyboardInterrupt, True, "y"), ('n', KeyboardInterrupt, False, "n"), # Complex case where at the end it takes ctrl_c value after some loop (None, ['invalid', '', 'invalid', KeyboardInterrupt], False, "n"), (None, ['invalid', '', 'invalid', KeyboardInterrupt], True, "y"), # Cases where at the end even with some KeyboardInterrupt it don't takes the ctrl_c value (None, ['foo', '', KeyboardInterrupt, '', 'invalid', KeyboardInterrupt,'no'], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, None), ('n', [KeyboardInterrupt, KeyboardInterrupt, KeyboardInterrupt, ''], False, "Invalid") ] ) def test_ask_yes_no_ctrl_c(default, user_input, expected_output, ctrl_c): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d5e0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002834298647940159outcome:
passed
↳ Function: test_ask_yes_no_ctrl_d
-
❌ Test 24
params: default=null, user_input="", expected_output=false, ctrl_d="n"📌 Runtime Parameters
params: default: None user_input: <class 'EOFError'> expected_output: False ctrl_d: n id: None-EOFError-False-n📌 Setup phase
duration:
0.00038872892037034035outcome:
passed📌 Call phase
duration:
0.0013843020424246788outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = <class 'EOFError'>, expected_output = False ctrl_d = 'n' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab57b80> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002909703180193901outcome:
passed -
❌ Test 25
params: default=null, user_input="", expected_output=true, ctrl_d="y"📌 Runtime Parameters
params: default: None user_input: <class 'EOFError'> expected_output: True ctrl_d: y id: None-EOFError-True-y📌 Setup phase
duration:
0.000379370991140604outcome:
passed📌 Call phase
duration:
0.0013765497133135796outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = <class 'EOFError'>, expected_output = True ctrl_d = 'y' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab57430> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002772500738501549outcome:
passed -
❌ Test 26
params: default="y", user_input="", expected_output=true, ctrl_d="y"📌 Runtime Parameters
params: default: y user_input: <class 'EOFError'> expected_output: True ctrl_d: y id: y-EOFError-True-y📌 Setup phase
duration:
0.0003730151802301407outcome:
passed📌 Call phase
duration:
0.0013563190586864948outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'y', user_input = <class 'EOFError'>, expected_output = True ctrl_d = 'y' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5dee0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002831951715052128outcome:
passed -
❌ Test 27
params: default="n", user_input="", expected_output=true, ctrl_d="y"📌 Runtime Parameters
params: default: n user_input: <class 'EOFError'> expected_output: True ctrl_d: y id: n-EOFError-True-y📌 Setup phase
duration:
0.0003667939454317093outcome:
passed📌 Call phase
duration:
0.001389786135405302outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n', user_input = <class 'EOFError'>, expected_output = True ctrl_d = 'y' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5dd30> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00029215915128588676outcome:
passed -
❌ Test 28
params: default="n", user_input="", expected_output=false, ctrl_d="n"📌 Runtime Parameters
params: default: n user_input: <class 'EOFError'> expected_output: False ctrl_d: n id: n-EOFError-False-n📌 Setup phase
duration:
0.00040072202682495117outcome:
passed📌 Call phase
duration:
0.001447819173336029outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n', user_input = <class 'EOFError'>, expected_output = False ctrl_d = 'n' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab573a0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002990509383380413outcome:
passed -
❌ Test 29
params: default=null, user_input="['foo', ]", expected_output=true, ctrl_d="y"📌 Runtime Parameters
params: default: None user_input: ['foo', <class 'EOFError'>] expected_output: True ctrl_d: y id: None-user_input5-True-y📌 Setup phase
duration:
0.0003744303248822689outcome:
passed📌 Call phase
duration:
0.0013969088904559612outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = ['foo', <class 'EOFError'>], expected_output = True ctrl_d = 'y' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab571f0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00030142534524202347outcome:
passed -
❌ Test 30
params: default=null, user_input="['foo', ]", expected_output=false, ctrl_d="n"📌 Runtime Parameters
params: default: None user_input: ['foo', <class 'EOFError'>] expected_output: False ctrl_d: n id: None-user_input6-False-n📌 Setup phase
duration:
0.0003603682853281498outcome:
passed📌 Call phase
duration:
0.0013480358757078648outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = ['foo', <class 'EOFError'>] expected_output = False, ctrl_d = 'n' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d280> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002896753139793873outcome:
passed -
❌ Test 31
params: default="y", user_input="", expected_output=true, ctrl_d=null📌 Runtime Parameters
params: default: y user_input: <class 'EOFError'> expected_output: True ctrl_d: None id: y-EOFError-True-None📌 Setup phase
duration:
0.0003683231770992279outcome:
passed📌 Call phase
duration:
0.0013989019207656384outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'y', user_input = <class 'EOFError'>, expected_output = True ctrl_d = None @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab57b80> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00029401108622550964outcome:
passed -
❌ Test 32
params: default="n", user_input="", expected_output=false, ctrl_d=null📌 Runtime Parameters
params: default: n user_input: <class 'EOFError'> expected_output: False ctrl_d: None id: n-EOFError-False-None📌 Setup phase
duration:
0.00037879496812820435outcome:
passed📌 Call phase
duration:
0.0013930252753198147outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n', user_input = <class 'EOFError'>, expected_output = False ctrl_d = None @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687a9eb5e0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00028674211353063583outcome:
passed -
❌ Test 33
params: default=null, user_input="['invalid', 'ok', '', , 'ok', 'y']", expected_output=true, ctrl_d=null📌 Runtime Parameters
params: default: None user_input: ['invalid', 'ok', '', <class 'EOFError'>, 'ok', 'y'] expected_output: True ctrl_d: None id: None-user_input9-True-None📌 Setup phase
duration:
0.00036910315975546837outcome:
passed📌 Call phase
duration:
0.0014151488430798054outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None user_input = ['invalid', 'ok', '', <class 'EOFError'>, 'ok', 'y'] expected_output = True, ctrl_d = None @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab57940> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002960953861474991outcome:
passed -
❌ Test 34
params: default="n", user_input="['no', ]", expected_output=false, ctrl_d=null📌 Runtime Parameters
params: default: n user_input: ['no', <class 'EOFError'>] expected_output: False ctrl_d: None id: n-user_input10-False-None📌 Setup phase
duration:
0.00037393392994999886outcome:
passed📌 Call phase
duration:
0.0013922471553087234outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = 'n', user_input = ['no', <class 'EOFError'>], expected_output = False ctrl_d = None @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d790> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002861679531633854outcome:
passed -
❌ Test 35
params: default=null, user_input="[, , , 'y']", expected_output=true, ctrl_d=null📌 Runtime Parameters
params: default: None user_input: [<class 'EOFError'>, <class 'EOFError'>, <class 'EOFError'>, 'y'] expected_output: True ctrl_d: None id: None-user_input11-True-None📌 Setup phase
duration:
0.0003696940839290619outcome:
passed📌 Call phase
duration:
0.0013775099068880081outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None user_input = [<class 'EOFError'>, <class 'EOFError'>, <class 'EOFError'>, 'y'] expected_output = True, ctrl_d = None @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d430> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00028843479230999947outcome:
passed -
❌ Test 36
params: default=null, user_input="['invalid', '', 'nope', ]", expected_output=false, ctrl_d="n"📌 Runtime Parameters
params: default: None user_input: ['invalid', '', 'nope', <class 'EOFError'>] expected_output: False ctrl_d: n id: None-user_input12-False-n📌 Setup phase
duration:
0.00036715809255838394outcome:
passed📌 Call phase
duration:
0.0013852743431925774outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = ['invalid', '', 'nope', <class 'EOFError'>] expected_output = False, ctrl_d = 'n' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d0d0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002864082343876362outcome:
passed -
❌ Test 37
params: default=null, user_input="['nope', 'nope', ]", expected_output=true, ctrl_d="y"📌 Runtime Parameters
params: default: None user_input: ['nope', 'nope', <class 'EOFError'>] expected_output: True ctrl_d: y id: None-user_input13-True-y📌 Setup phase
duration:
0.00038154004141688347outcome:
passed📌 Call phase
duration:
0.0014054970815777779outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 113 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, user_input = ['nope', 'nope', <class 'EOFError'>] expected_output = True, ctrl_d = 'y' @pytest.mark.parametrize( "default, user_input, expected_output, ctrl_d", [ # Basic cases, where it takes directly ctrl_c value (None, EOFError, False, "n"), (None, EOFError, True, "y"), ('y', EOFError, True, "y"), ('n', EOFError, True, "y"), ('n', EOFError, False, "n"), (None, ['foo', EOFError], True, "y"), (None, ['foo', EOFError], False, "n"), # Ctrl_d = None cases ('y', EOFError, True, None), ('n', EOFError, False, None), (None, ['invalid', 'ok', '', EOFError, 'ok', 'y'], True, None), ('n', ['no', EOFError], False, None), (None, [EOFError, EOFError, EOFError, 'y'], True, None), # Long sequences (None, ['invalid', '', 'nope', EOFError], False, "n"), (None, ['nope', 'nope', EOFError], True, "y"), ] ) def test_ask_yes_no_ctrl_d(default, user_input, expected_output, ctrl_d): patch_target = 'slic.utils.ask_yes_no.read_input' if isinstance(user_input, list): input_patch = patch(patch_target, side_effect=user_input) else: input_patch = patch(patch_target, side_effect=[user_input]) > with input_patch: tests/test_utils_ask_yes_no.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab57940> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00028865179046988487outcome:
passed
↳ Function: test_ask_yes_no_mixed_sequences
-
❌ Test 38
params: default=null, ctrl_c="invalid", ctrl_d=null, user_input="['what', '', 'nope', , 'ok', , 'no']", expected_output=false📌 Runtime Parameters
params: default: None ctrl_c: invalid ctrl_d: None user_input: ['what', '', 'nope', <class 'KeyboardInterrupt'>, 'ok', <class 'EOFError'>, 'no'] expected_output: False id: None-invalid-None-user_input0-False📌 Setup phase
duration:
0.00041093118488788605outcome:
passed📌 Call phase
duration:
0.0013821208849549294outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 128 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, ctrl_c = 'invalid', ctrl_d = None user_input = ['what', '', 'nope', <class 'KeyboardInterrupt'>, 'ok', <class 'EOFError'>, ...] expected_output = False @pytest.mark.parametrize( "default, ctrl_c, ctrl_d, user_input, expected_output", [ (None, "invalid", None, ['what', '', 'nope', KeyboardInterrupt, 'ok', EOFError, 'no'], False), (None, None, "notananswer", ['maybe', KeyboardInterrupt, 'nop', 'yep', EOFError, 'yes'], True), (None, "n", "nop", ['ok', EOFError, EOFError, 'maybe', EOFError, 'nah', KeyboardInterrupt], False), ] ) def test_ask_yes_no_mixed_sequences(default, ctrl_c, ctrl_d, user_input, expected_output): patch_target = 'slic.utils.ask_yes_no.read_input' > with patch(patch_target, side_effect=user_input): tests/test_utils_ask_yes_no.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687a2b41f0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0003546341322362423outcome:
passed -
❌ Test 39
params: default=null, ctrl_c=null, ctrl_d="notananswer", user_input="['maybe', , 'nop', 'yep', , 'yes']", expected_output=true📌 Runtime Parameters
params: default: None ctrl_c: None ctrl_d: notananswer user_input: ['maybe', <class 'KeyboardInterrupt'>, 'nop', 'yep', <class 'EOFError'>, 'yes'] expected_output: True id: None-None-notananswer-user_input1-True📌 Setup phase
duration:
0.00044284015893936157outcome:
passed📌 Call phase
duration:
0.0015259790234267712outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 128 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, ctrl_c = None, ctrl_d = 'notananswer' user_input = ['maybe', <class 'KeyboardInterrupt'>, 'nop', 'yep', <class 'EOFError'>, 'yes'] expected_output = True @pytest.mark.parametrize( "default, ctrl_c, ctrl_d, user_input, expected_output", [ (None, "invalid", None, ['what', '', 'nope', KeyboardInterrupt, 'ok', EOFError, 'no'], False), (None, None, "notananswer", ['maybe', KeyboardInterrupt, 'nop', 'yep', EOFError, 'yes'], True), (None, "n", "nop", ['ok', EOFError, EOFError, 'maybe', EOFError, 'nah', KeyboardInterrupt], False), ] ) def test_ask_yes_no_mixed_sequences(default, ctrl_c, ctrl_d, user_input, expected_output): patch_target = 'slic.utils.ask_yes_no.read_input' > with patch(patch_target, side_effect=user_input): tests/test_utils_ask_yes_no.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687a2b4c10> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00036289356648921967outcome:
passed -
❌ Test 40
params: default=null, ctrl_c="n", ctrl_d="nop", user_input="['ok', , , 'maybe', , 'nah', ]", expected_output=false📌 Runtime Parameters
params: default: None ctrl_c: n ctrl_d: nop user_input: ['ok', <class 'EOFError'>, <class 'EOFError'>, 'maybe', <class 'EOFError'>, 'nah', <class 'KeyboardInterrupt'>] expected_output: False id: None-n-nop-user_input2-False📌 Setup phase
duration:
0.000464871060103178outcome:
passed📌 Call phase
duration:
0.0015450399369001389outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_ask_yes_no.py lineno: 128 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
default = None, ctrl_c = 'n', ctrl_d = 'nop' user_input = ['ok', <class 'EOFError'>, <class 'EOFError'>, 'maybe', <class 'EOFError'>, 'nah', ...] expected_output = False @pytest.mark.parametrize( "default, ctrl_c, ctrl_d, user_input, expected_output", [ (None, "invalid", None, ['what', '', 'nope', KeyboardInterrupt, 'ok', EOFError, 'no'], False), (None, None, "notananswer", ['maybe', KeyboardInterrupt, 'nop', 'yep', EOFError, 'yes'], True), (None, "n", "nop", ['ok', EOFError, EOFError, 'maybe', EOFError, 'nah', KeyboardInterrupt], False), ] ) def test_ask_yes_no_mixed_sequences(default, ctrl_c, ctrl_d, user_input, expected_output): patch_target = 'slic.utils.ask_yes_no.read_input' > with patch(patch_target, side_effect=user_input): tests/test_utils_ask_yes_no.py:128: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f686a35d1f0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00036361487582325935outcome:
passed
-
-
📄 test_utils_debug.py
↳ Function: test_traceable
-
❌ Test 66
params: cls="", entry=[[10, 20], {}], expected="creating: A(10, 20)"📌 Runtime Parameters
params: cls: <class 'test_utils_debug.A'> entry: - - 10 - 20 - (vide) expected: creating: A(10, 20) id: A-entry0-creating: A(10, 20)📌 Setup phase
duration:
0.0002994891256093979outcome:
passed📌 Call phase
duration:
0.001608261838555336outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_debug.py lineno: 48 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
cls = <class 'test_utils_debug.A'>, entry = ([10, 20], {}) expected = 'creating: A(10, 20)' @pytest.mark.parametrize( "cls, entry, expected", [ # A(10, 20) (A, ([10, 20], {}), "creating: A(10, 20)"), # A(10, 20, e=100) (A, ([10, 20], {"e": 100}), "creating: A(10, 20, e=100)"), # A('foo', [1,2,3], flag=True, data={'x': 9}) (A, (['foo', [1,2,3]], {"flag": True, "data": {"x": 9}}), f"creating: A('foo', [1, 2, 3], flag={short_repr(True)}, data={short_repr({'x': 9})})"), # A(CustomObj("big"), [0]*12, name="test", meta="y"*70) (A, ([CustomObj("big"), [0]*12], {"name": "test", "meta": "y"*70}), f"creating: A({short_repr(CustomObj('big'))}, {short_repr([0]*12)}, name={short_repr('test')}, meta={short_repr('y'*70)})"), # A("A"*60, [0]*5) # long string, no kwargs (A, (["A"*60, [0]*5], {}), f"creating: A({short_repr('A'*60)}, {short_repr([0]*5)})"), ] ) def test_traceable(cls, entry, expected): args, kwargs = entry > with patch("slic.utils.debug.log.trace") as mock_trace: tests/test_utils_debug.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5ddc0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0003288690932095051outcome:
passed -
❌ Test 67
params: cls="", entry=[[10, 20], {"e": 100}], expected="creating: A(10, 20, e=100)"📌 Runtime Parameters
params: cls: <class 'test_utils_debug.A'> entry: - - 10 - 20 - e: 100 expected: creating: A(10, 20, e=100) id: A-entry1-creating: A(10, 20, e=100)📌 Setup phase
duration:
0.00038598477840423584outcome:
passed📌 Call phase
duration:
0.0015307571738958359outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_debug.py lineno: 48 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
cls = <class 'test_utils_debug.A'>, entry = ([10, 20], {'e': 100}) expected = 'creating: A(10, 20, e=100)' @pytest.mark.parametrize( "cls, entry, expected", [ # A(10, 20) (A, ([10, 20], {}), "creating: A(10, 20)"), # A(10, 20, e=100) (A, ([10, 20], {"e": 100}), "creating: A(10, 20, e=100)"), # A('foo', [1,2,3], flag=True, data={'x': 9}) (A, (['foo', [1,2,3]], {"flag": True, "data": {"x": 9}}), f"creating: A('foo', [1, 2, 3], flag={short_repr(True)}, data={short_repr({'x': 9})})"), # A(CustomObj("big"), [0]*12, name="test", meta="y"*70) (A, ([CustomObj("big"), [0]*12], {"name": "test", "meta": "y"*70}), f"creating: A({short_repr(CustomObj('big'))}, {short_repr([0]*12)}, name={short_repr('test')}, meta={short_repr('y'*70)})"), # A("A"*60, [0]*5) # long string, no kwargs (A, (["A"*60, [0]*5], {}), f"creating: A({short_repr('A'*60)}, {short_repr([0]*5)})"), ] ) def test_traceable(cls, entry, expected): args, kwargs = entry > with patch("slic.utils.debug.log.trace") as mock_trace: tests/test_utils_debug.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d1f0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00033687008544802666outcome:
passed -
❌ Test 68
params: cls="", entry="foo", [1, 2, 3, {"flag": true, "data": {"x": 9}}], expected="creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})"📌 Runtime Parameters
params: cls: <class 'test_utils_debug.A'> entry: - - foo - - 1 - 2 - 3 - flag: True data: x: 9 expected: creating: A('foo', [1, 2, 3], flag=True, data={'x': 9}) id: A-entry2-creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})📌 Setup phase
duration:
0.0003481903113424778outcome:
passed📌 Call phase
duration:
0.0015610354021191597outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_debug.py lineno: 48 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
cls = <class 'test_utils_debug.A'> entry = (['foo', [1, 2, 3]], {'data': {'x': 9}, 'flag': True}) expected = "creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})" @pytest.mark.parametrize( "cls, entry, expected", [ # A(10, 20) (A, ([10, 20], {}), "creating: A(10, 20)"), # A(10, 20, e=100) (A, ([10, 20], {"e": 100}), "creating: A(10, 20, e=100)"), # A('foo', [1,2,3], flag=True, data={'x': 9}) (A, (['foo', [1,2,3]], {"flag": True, "data": {"x": 9}}), f"creating: A('foo', [1, 2, 3], flag={short_repr(True)}, data={short_repr({'x': 9})})"), # A(CustomObj("big"), [0]*12, name="test", meta="y"*70) (A, ([CustomObj("big"), [0]*12], {"name": "test", "meta": "y"*70}), f"creating: A({short_repr(CustomObj('big'))}, {short_repr([0]*12)}, name={short_repr('test')}, meta={short_repr('y'*70)})"), # A("A"*60, [0]*5) # long string, no kwargs (A, (["A"*60, [0]*5], {}), f"creating: A({short_repr('A'*60)}, {short_repr([0]*5)})"), ] ) def test_traceable(cls, entry, expected): args, kwargs = entry > with patch("slic.utils.debug.log.trace") as mock_trace: tests/test_utils_debug.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687aa5d310> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00033059995621442795outcome:
passed -
❌ Test 69
params: cls="", entry="([CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], {'name': 'test', 'meta': 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'})", expected="creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...)"📌 Runtime Parameters
params: cls: <class 'test_utils_debug.A'> entry: ([CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], {'name': 'test', 'meta': 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'}) expected: creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...) id: A-entry3-creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...)📌 Setup phase
duration:
0.00037170620635151863outcome:
passed📌 Call phase
duration:
0.0015228670090436935outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_debug.py lineno: 48 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
cls = <class 'test_utils_debug.A'> entry = ([CustomObj(big), [0, 0, 0, 0, 0, 0, ...]], {'meta': 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy', 'name': 'test'}) expected = "creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...)" @pytest.mark.parametrize( "cls, entry, expected", [ # A(10, 20) (A, ([10, 20], {}), "creating: A(10, 20)"), # A(10, 20, e=100) (A, ([10, 20], {"e": 100}), "creating: A(10, 20, e=100)"), # A('foo', [1,2,3], flag=True, data={'x': 9}) (A, (['foo', [1,2,3]], {"flag": True, "data": {"x": 9}}), f"creating: A('foo', [1, 2, 3], flag={short_repr(True)}, data={short_repr({'x': 9})})"), # A(CustomObj("big"), [0]*12, name="test", meta="y"*70) (A, ([CustomObj("big"), [0]*12], {"name": "test", "meta": "y"*70}), f"creating: A({short_repr(CustomObj('big'))}, {short_repr([0]*12)}, name={short_repr('test')}, meta={short_repr('y'*70)})"), # A("A"*60, [0]*5) # long string, no kwargs (A, (["A"*60, [0]*5], {}), f"creating: A({short_repr('A'*60)}, {short_repr([0]*5)})"), ] ) def test_traceable(cls, entry, expected): args, kwargs = entry > with patch("slic.utils.debug.log.trace") as mock_trace: tests/test_utils_debug.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687ab5a4c0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0003447253257036209outcome:
passed -
❌ Test 70
params: cls="", entry="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", [0, 0, 0, 0, 0, {}], expected="creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])"📌 Runtime Parameters
params: cls: <class 'test_utils_debug.A'> entry: - - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) expected: creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0]) id: A-entry4-creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])📌 Setup phase
duration:
0.0003871861845254898outcome:
passed📌 Call phase
duration:
0.001537554431706667outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_debug.py lineno: 48 message: None - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1377 message: in __enter__ - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1552 message: in <lambda> - path: .pixi/envs/default/lib/python3.8/unittest/mock.py lineno: 1224 message: in _importer - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/__init__.py lineno: 8 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/__init__.py lineno: 5 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/__init__.py lineno: 2 message: in <module> - path: slic/utils/logcfg.py lineno: 60 message: in import_with_log - path: slic/core/scanner/scanner.py lineno: 43 message: in <module> - path: slic/core/scanner/scanner.py lineno: 121 message: in Scanner - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
cls = <class 'test_utils_debug.A'> entry = (['AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', [0, 0, 0, 0, 0]], {}) expected = "creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])" @pytest.mark.parametrize( "cls, entry, expected", [ # A(10, 20) (A, ([10, 20], {}), "creating: A(10, 20)"), # A(10, 20, e=100) (A, ([10, 20], {"e": 100}), "creating: A(10, 20, e=100)"), # A('foo', [1,2,3], flag=True, data={'x': 9}) (A, (['foo', [1,2,3]], {"flag": True, "data": {"x": 9}}), f"creating: A('foo', [1, 2, 3], flag={short_repr(True)}, data={short_repr({'x': 9})})"), # A(CustomObj("big"), [0]*12, name="test", meta="y"*70) (A, ([CustomObj("big"), [0]*12], {"name": "test", "meta": "y"*70}), f"creating: A({short_repr(CustomObj('big'))}, {short_repr([0]*12)}, name={short_repr('test')}, meta={short_repr('y'*70)})"), # A("A"*60, [0]*5) # long string, no kwargs (A, (["A"*60, [0]*5], {}), f"creating: A({short_repr('A'*60)}, {short_repr([0]*5)})"), ] ) def test_traceable(cls, entry, expected): args, kwargs = entry > with patch("slic.utils.debug.log.trace") as mock_trace: tests/test_utils_debug.py:48: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .pixi/envs/default/lib/python3.8/unittest/mock.py:1377: in __enter__ self.target = self.getter() .pixi/envs/default/lib/python3.8/unittest/mock.py:1552: in <lambda> getter = lambda: _importer(target) .pixi/envs/default/lib/python3.8/unittest/mock.py:1224: in _importer thing = __import__(import_path) slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <function Scanner.make_scan at 0x7f687a2b4550> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00032721972092986107outcome:
passed
↳ Function: test_short_repr
-
❌ Test 72
params: value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", cutoff=10, expected="'aaaaaaaaaa..."📌 Runtime Parameters
params: value: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa cutoff: 10 expected: 'aaaaaaaaaa... id: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10-'aaaaaaaaaa...📌 Setup phase
duration:
0.0002689668908715248outcome:
passed📌 Call phase
duration:
0.000824514776468277outcome:
failedcrash:
path: /workspace/tligui_y/slic/tests/test_utils_debug.py lineno: 66 message: assert "'aaaaaaaaa..." == "'aaaaaaaaaa..." - 'aaaaaaaaaa... ? - + 'aaaaaaaaa...traceback:
- path: tests/test_utils_debug.py lineno: 66 message: AssertionErrorlongrepr:
value = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' cutoff = 10, expected = "'aaaaaaaaaa..." @pytest.mark.parametrize( "value, cutoff, expected", [ ("abc", 10, "'abc'"), ("a" * 100, 10, "'aaaaaaaaaa..."), (12345, 10, "12345"), ([0]*100, 15, str(repr([0]*100))[:15] + "..."), (None, 10, "None"), (type("Obj", (), {"__repr__": lambda self: "Obj(" + "x"*50 + ")"})(), 20, "Obj(xxxxxxxxxxxxxxxxx..."), ] ) def test_short_repr(value, cutoff, expected): > assert short_repr(value, cutoff) == expected E assert "'aaaaaaaaa..." == "'aaaaaaaaaa..." E E - 'aaaaaaaaaa... E ? - E + 'aaaaaaaaa... tests/test_utils_debug.py:66: AssertionError📌 Teardown phase
duration:
0.0002200673334300518outcome:
passed -
❌ Test 76
params: value="Obj(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)", cutoff=20, expected="Obj(xxxxxxxxxxxxxxxxx..."📌 Runtime Parameters
params: value: Obj(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx) cutoff: 20 expected: Obj(xxxxxxxxxxxxxxxxx... id: value5-20-Obj(xxxxxxxxxxxxxxxxx...📌 Setup phase
duration:
0.0002615125849843025outcome:
passed📌 Call phase
duration:
0.0005579809658229351outcome:
failedcrash:
path: /workspace/tligui_y/slic/tests/test_utils_debug.py lineno: 66 message: AssertionError: assert 'Obj(xxxxxxxxxxxxxxxx...' == 'Obj(xxxxxxxxxxxxxxxxx...' - Obj(xxxxxxxxxxxxxxxxx... ? - + Obj(xxxxxxxxxxxxxxxx...traceback:
- path: tests/test_utils_debug.py lineno: 66 message: AssertionErrorlongrepr:
value = Obj(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx), cutoff = 20 expected = 'Obj(xxxxxxxxxxxxxxxxx...' @pytest.mark.parametrize( "value, cutoff, expected", [ ("abc", 10, "'abc'"), ("a" * 100, 10, "'aaaaaaaaaa..."), (12345, 10, "12345"), ([0]*100, 15, str(repr([0]*100))[:15] + "..."), (None, 10, "None"), (type("Obj", (), {"__repr__": lambda self: "Obj(" + "x"*50 + ")"})(), 20, "Obj(xxxxxxxxxxxxxxxxx..."), ] ) def test_short_repr(value, cutoff, expected): > assert short_repr(value, cutoff) == expected E AssertionError: assert 'Obj(xxxxxxxxxxxxxxxx...' == 'Obj(xxxxxxxxxxxxxxxxx...' E E - Obj(xxxxxxxxxxxxxxxxx... E ? - E + Obj(xxxxxxxxxxxxxxxx... tests/test_utils_debug.py:66: AssertionError📌 Teardown phase
duration:
0.0002462179400026798outcome:
passed
-
-
📄 test_utils_get_adj.py
↳ Function: test_get_adj_success
-
❌ Test 145
📌 Setup phase
duration:
0.00015240907669067383outcome:
passed📌 Call phase
duration:
0.0003444231115281582outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_get_adj.py lineno: 25 message: None - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_get_adj.py lineno: 11 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
def test_get_adj_success(): > a1 = SubAdjustable("brightness", units="%", limit_low=0, limit_high=100) tests/test_utils_get_adj.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_get_adj.py:11: in __init__ super().__init__(*a, **kw) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'SubAdjustable' object has no attribute '_val'") raised in repr()] method object at 0x7f6879ba33c0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00014649517834186554outcome:
passed
↳ Function: test_ensure_adjs_mixed
-
❌ Test 147
📌 Setup phase
duration:
0.00018973881378769875outcome:
passed📌 Call phase
duration:
0.00028799381107091904outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_get_adj.py lineno: 33 message: None - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_get_adj.py lineno: 11 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
def test_ensure_adjs_mixed(): > a2 = SubAdjustable("contrast", units="%", limit_low=0, limit_high=100) tests/test_utils_get_adj.py:33: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_get_adj.py:11: in __init__ super().__init__(*a, **kw) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'SubAdjustable' object has no attribute '_val'") raised in repr()] method object at 0x7f686b74fd00> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00015602493658661842outcome:
passed
↳ Function: test_get_adjs_filter
-
❌ Test 148
📌 Setup phase
duration:
0.00012790318578481674outcome:
passed📌 Call phase
duration:
0.0002829660661518574outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_get_adj.py lineno: 39 message: None - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_get_adj.py lineno: 11 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
def test_get_adjs_filter(): > a4 = SubAdjustable("mid_brightness", units="%", limit_low=0, limit_high=100) tests/test_utils_get_adj.py:39: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_get_adj.py:11: in __init__ super().__init__(*a, **kw) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'SubAdjustable' object has no attribute '_val'") raised in repr()] method object at 0x7f6879f4c240> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00014494918286800385outcome:
passed
-
-
📄 test_utils_logcfg.py
↳ Function: test_import_logging_once_per_module
-
❌ Test 160
📌 Setup phase
duration:
0.00014610681682825089outcome:
passed📌 Call phase
duration:
1.2219571177847683outcome:
failedcrash:
path: /workspace/tligui_y/slic/tests/test_utils_logcfg.py lineno: 71 message: AssertionError: Script failed: [E 250803 11:38:22 tools:40] cannot assign endstation to IP 172.18.0.3 (51efa7ed2cbf) Traceback (most recent call last): File "/tmp/tmpjpysqao0.py", line 2, in <module> from slic.utils.logcfg import * File "/workspace/tligui_y/slic/slic/__init__.py", line 4, in <module> from slic.gui.wxdebug import wxdebug as _wxdebug File "/workspace/tligui_y/slic/slic/gui/__init__.py", line 2, in <module> from .gui import GUI, run File "/workspace/tligui_y/slic/slic/gui/gui.py", line 3, in <module> from .daqframe import DAQFrame File "/workspace/tligui_y/slic/slic/gui/daqframe.py", line 3, in <module> from .daqpanels import ConfigPanel, StaticPanel, ScanPanel, Scan2DPanel, TweakPanel, GoToPanel File "/workspace/tligui_y/slic/slic/gui/daqpanels/__init__.py", line 2, in <module> from .config import ConfigPanel File "/workspace/tligui_y/slic/slic/gui/daqpanels/config.py", line 3, in <module> from slic.core.acquisition import BSChannels, PVChannels File "/workspace/tligui_y/slic/slic/core/__init__.py", line 5, in <module> from . import scanner File "/workspace/tligui_y/slic/slic/core/scanner/__init__.py", line 2, in <module> from .scanner import Scanner File "/workspace/tligui_y/slic/slic/core/scanner/scanner.py", line 43, in <module> class Scanner: File "/workspace/tligui_y/slic/slic/core/scanner/scanner.py", line 121, in Scanner @forwards_to(make_scan, nfilled=3) File "/workspace/tligui_y/slic/slic/utils/argfwd.py", line 12, in forwards_to pos_inner, kw_inner = get_args(func_inner) File "/workspace/tligui_y/slic/slic/utils/argfwd.py", line 34, in get_args all_args = spec.args AttributeError: 'Signature' object has no attribute 'args' assert 1 == 0 + where 1 = CompletedProcess(args=['/workspace/tligui_y/slic/.pixi/envs/default/bin/python3.8', '/tmp/tmpjpysqao0.py'], returncode...py", line 34, in get_args\n all_args = spec.args\nAttributeError: \'Signature\' object has no attribute \'args\'\n').returncodetraceback:
- path: tests/test_utils_logcfg.py lineno: 71 message: AssertionErrorlongrepr:
def test_import_logging_once_per_module(): code = textwrap.dedent(""" from slic.utils.logcfg import * import math import io import random """) with tempfile.NamedTemporaryFile("w", suffix=".py", delete=False) as tmp: tmp.write(code) tmp_path = tmp.name env = os.environ.copy() root_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) env["PYTHONPATH"] = root_path + os.pathsep + env.get("PYTHONPATH", "") result = subprocess.run([sys.executable, tmp_path], capture_output=True, text=True, env=env) os.remove(tmp_path) > assert result.returncode == 0, f"Script failed:\n{result.stderr}" E AssertionError: Script failed: E [E 250803 11:38:22 tools:40] cannot assign endstation to IP 172.18.0.3 (51efa7ed2cbf) E Traceback (most recent call last): E File "/tmp/tmpjpysqao0.py", line 2, in <module> E from slic.utils.logcfg import * E File "/workspace/tligui_y/slic/slic/__init__.py", line 4, in <module> E from slic.gui.wxdebug import wxdebug as _wxdebug E File "/workspace/tligui_y/slic/slic/gui/__init__.py", line 2, in <module> E from .gui import GUI, run E File "/workspace/tligui_y/slic/slic/gui/gui.py", line 3, in <module> E from .daqframe import DAQFrame E File "/workspace/tligui_y/slic/slic/gui/daqframe.py", line 3, in <module> E from .daqpanels import ConfigPanel, StaticPanel, ScanPanel, Scan2DPanel, TweakPanel, GoToPanel E File "/workspace/tligui_y/slic/slic/gui/daqpanels/__init__.py", line 2, in <module> E from .config import ConfigPanel E File "/workspace/tligui_y/slic/slic/gui/daqpanels/config.py", line 3, in <module> E from slic.core.acquisition import BSChannels, PVChannels E File "/workspace/tligui_y/slic/slic/core/__init__.py", line 5, in <module> E from . import scanner E File "/workspace/tligui_y/slic/slic/core/scanner/__init__.py", line 2, in <module> E from .scanner import Scanner E File "/workspace/tligui_y/slic/slic/core/scanner/scanner.py", line 43, in <module> E class Scanner: E File "/workspace/tligui_y/slic/slic/core/scanner/scanner.py", line 121, in Scanner E @forwards_to(make_scan, nfilled=3) E File "/workspace/tligui_y/slic/slic/utils/argfwd.py", line 12, in forwards_to E pos_inner, kw_inner = get_args(func_inner) E File "/workspace/tligui_y/slic/slic/utils/argfwd.py", line 34, in get_args E all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' E E assert 1 == 0 E + where 1 = CompletedProcess(args=['/workspace/tligui_y/slic/.pixi/envs/default/bin/python3.8', '/tmp/tmpjpysqao0.py'], returncode...py", line 34, in get_args\n all_args = spec.args\nAttributeError: \'Signature\' object has no attribute \'args\'\n').returncode tests/test_utils_logcfg.py:71: AssertionError📌 Teardown phase
duration:
0.0004616258665919304outcome:
passed
-
-
📄 test_utils_npy.py
↳ Function: test_nice_arange
-
❌ Test 169
params: start=5, stop=0, step=-1, expected="[5. 4. 3. 2. 1. 0.]"📌 Runtime Parameters
params: start: 5 stop: 0 step: -1 expected: [5. 4. 3. 2. 1. 0.] id: 5-0--1-expected1📌 Setup phase
duration:
0.0003770338371396065outcome:
passed📌 Call phase
duration:
0.001078357920050621outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-06, atol=0 Mismatched elements: 6 / 6 (100%) Max absolute difference: 5. Max relative difference: 3. x: array([0., 1., 2., 3., 4., 5.]) y: array([5., 4., 3., 2., 1., 0.])traceback:
- path: tests/test_utils_npy.py lineno: 16 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 5, stop = 0, step = -1, expected = array([5., 4., 3., 2., 1., 0.]) @pytest.mark.parametrize("start, stop, step, expected", [ (0, 5, 1, np.linspace(0, 5, 6)), # regular integer step (5, 0, -1, np.linspace(5, 0, 6)), # reversed with negative step (1, 2, 0.3, np.linspace(1, 2, 4)), # step doesn't divide evenly (-2, 2, 1.5, np.linspace(-2, 2, 3)), # centered range (2.5, 0.5, -0.4, np.linspace(2.5, 0.5, 6)), # reversed float ]) def test_nice_arange(start, stop, step, expected): > np.testing.assert_allclose(nice_arange(start, stop, step), expected, rtol=1e-6) tests/test_utils_npy.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687aa5d0d0>, array([0., 1., 2., 3., 4., 5.]), array([5., 4., 3., 2., 1., 0.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-06, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-06, atol=0 E E Mismatched elements: 6 / 6 (100%) E Max absolute difference: 5. E Max relative difference: 3. E x: array([0., 1., 2., 3., 4., 5.]) E y: array([5., 4., 3., 2., 1., 0.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00025962572544813156outcome:
passed -
❌ Test 171
params: start=-2, stop=2, step=1.5, expected="[-2. 0. 2.]"📌 Runtime Parameters
params: start: -2 stop: 2 step: 1.5 expected: [-2. 0. 2.] id: -2-2-1.5-expected3📌 Setup phase
duration:
0.00035517802461981773outcome:
passed📌 Call phase
duration:
0.0005500484257936478outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-06, atol=0 (shapes (4,), (3,) mismatch) x: array([-2. , -0.666667, 0.666667, 2. ]) y: array([-2., 0., 2.])traceback:
- path: tests/test_utils_npy.py lineno: 16 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = -2, stop = 2, step = 1.5, expected = array([-2., 0., 2.]) @pytest.mark.parametrize("start, stop, step, expected", [ (0, 5, 1, np.linspace(0, 5, 6)), # regular integer step (5, 0, -1, np.linspace(5, 0, 6)), # reversed with negative step (1, 2, 0.3, np.linspace(1, 2, 4)), # step doesn't divide evenly (-2, 2, 1.5, np.linspace(-2, 2, 3)), # centered range (2.5, 0.5, -0.4, np.linspace(2.5, 0.5, 6)), # reversed float ]) def test_nice_arange(start, stop, step, expected): > np.testing.assert_allclose(nice_arange(start, stop, step), expected, rtol=1e-6) tests/test_utils_npy.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f6879ee14c0>, array([-2. , -0.66666667, 0.66666667, 2. ]), array([-2., 0., 2.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-06, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-06, atol=0 E E (shapes (4,), (3,) mismatch) E x: array([-2. , -0.666667, 0.666667, 2. ]) E y: array([-2., 0., 2.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00022827787324786186outcome:
passed -
❌ Test 172
params: start=2.5, stop=0.5, step=-0.4, expected="[2.5 2.1 1.7 1.3 0.9 0.5]"📌 Runtime Parameters
params: start: 2.5 stop: 0.5 step: -0.4 expected: [2.5 2.1 1.7 1.3 0.9 0.5] id: 2.5-0.5--0.4-expected4📌 Setup phase
duration:
0.00035999203100800514outcome:
passed📌 Call phase
duration:
0.0008438737131655216outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-06, atol=0 Mismatched elements: 6 / 6 (100%) Max absolute difference: 2. Max relative difference: 4. x: array([0.5, 0.9, 1.3, 1.7, 2.1, 2.5]) y: array([2.5, 2.1, 1.7, 1.3, 0.9, 0.5])traceback:
- path: tests/test_utils_npy.py lineno: 16 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 2.5, stop = 0.5, step = -0.4 expected = array([2.5, 2.1, 1.7, 1.3, 0.9, 0.5]) @pytest.mark.parametrize("start, stop, step, expected", [ (0, 5, 1, np.linspace(0, 5, 6)), # regular integer step (5, 0, -1, np.linspace(5, 0, 6)), # reversed with negative step (1, 2, 0.3, np.linspace(1, 2, 4)), # step doesn't divide evenly (-2, 2, 1.5, np.linspace(-2, 2, 3)), # centered range (2.5, 0.5, -0.4, np.linspace(2.5, 0.5, 6)), # reversed float ]) def test_nice_arange(start, stop, step, expected): > np.testing.assert_allclose(nice_arange(start, stop, step), expected, rtol=1e-6) tests/test_utils_npy.py:16: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f6879ee1430>, array([0.5, 0.9, 1.3, 1.7, 2.1, 2.5]), array([2.5, 2.1, 1.7, 1.3, 0.9, 0.5])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-06, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-06, atol=0 E E Mismatched elements: 6 / 6 (100%) E Max absolute difference: 2. E Max relative difference: 4. E x: array([0.5, 0.9, 1.3, 1.7, 2.1, 2.5]) E y: array([2.5, 2.1, 1.7, 1.3, 0.9, 0.5]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.0002345619723200798outcome:
passed
↳ Function: test_nice_steps_left_aligned
-
❌ Test 184
params: start=0, stop=5, step=2, endpoint=true, expected="[0. 2. 4. 6.]"📌 Runtime Parameters
params: start: 0 stop: 5 step: 2 endpoint: True expected: [0. 2. 4. 6.] id: 0-5-2-True-expected0📌 Setup phase
duration:
0.0003923228941857815outcome:
passed📌 Call phase
duration:
0.0005466439761221409outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (3,), (4,) mismatch) x: array([0, 2, 4]) y: array([0., 2., 4., 6.])traceback:
- path: tests/test_utils_npy.py lineno: 53 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 0, stop = 5, step = 2, endpoint = True expected = array([0., 2., 4., 6.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([0., 2., 4., 6.])), # Normal case with endpoint overshooting (0, 5, 2, False, np.array([0., 2., 4.])), # No endpoint (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])), # Needs fractional alignment to include stop (-1, 2, 1.5, False, np.array([-1., 0.5])), # Same range but no endpoint (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])), # Step overshoots (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Backward steps with overshoot (5, 0, -2, False, np.array([5., 3., 1.])), # No endpoint, backward ]) def test_nice_steps_left_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f6879edeb80>, array([0, 2, 4]), array([0., 2., 4., 6.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (3,), (4,) mismatch) E x: array([0, 2, 4]) E y: array([0., 2., 4., 6.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.0002288571558892727outcome:
passed -
❌ Test 185
params: start=0, stop=5, step=2, endpoint=false, expected="[0. 2. 4.]"📌 Runtime Parameters
params: start: 0 stop: 5 step: 2 endpoint: False expected: [0. 2. 4.] id: 0-5-2-False-expected1📌 Setup phase
duration:
0.0003892900422215462outcome:
passed📌 Call phase
duration:
0.0004760781303048134outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (2,), (3,) mismatch) x: array([0, 2]) y: array([0., 2., 4.])traceback:
- path: tests/test_utils_npy.py lineno: 53 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 0, stop = 5, step = 2, endpoint = False, expected = array([0., 2., 4.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([0., 2., 4., 6.])), # Normal case with endpoint overshooting (0, 5, 2, False, np.array([0., 2., 4.])), # No endpoint (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])), # Needs fractional alignment to include stop (-1, 2, 1.5, False, np.array([-1., 0.5])), # Same range but no endpoint (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])), # Step overshoots (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Backward steps with overshoot (5, 0, -2, False, np.array([5., 3., 1.])), # No endpoint, backward ]) def test_nice_steps_left_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a8b0940>, array([0, 2]), array([0., 2., 4.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (2,), (3,) mismatch) E x: array([0, 2]) E y: array([0., 2., 4.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00023942021653056145outcome:
passed -
❌ Test 188
params: start=-2, stop=1, step=1.2, endpoint=true, expected="[-2. -0.8 0.4 1.6]"📌 Runtime Parameters
params: start: -2 stop: 1 step: 1.2 endpoint: True expected: [-2. -0.8 0.4 1.6] id: -2-1-1.2-True-expected4📌 Setup phase
duration:
0.0004027998074889183outcome:
passed📌 Call phase
duration:
0.0005010482855141163outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (3,), (4,) mismatch) x: array([-2. , -0.8, 0.4]) y: array([-2. , -0.8, 0.4, 1.6])traceback:
- path: tests/test_utils_npy.py lineno: 53 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = -2, stop = 1, step = 1.2, endpoint = True expected = array([-2. , -0.8, 0.4, 1.6]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([0., 2., 4., 6.])), # Normal case with endpoint overshooting (0, 5, 2, False, np.array([0., 2., 4.])), # No endpoint (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])), # Needs fractional alignment to include stop (-1, 2, 1.5, False, np.array([-1., 0.5])), # Same range but no endpoint (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])), # Step overshoots (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Backward steps with overshoot (5, 0, -2, False, np.array([5., 3., 1.])), # No endpoint, backward ]) def test_nice_steps_left_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f6879edea60>, array([-2. , -0.8, 0.4]), array([-2. , -0.8, 0.4, 1.6])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (3,), (4,) mismatch) E x: array([-2. , -0.8, 0.4]) E y: array([-2. , -0.8, 0.4, 1.6]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00022574793547391891outcome:
passed -
❌ Test 189
params: start=5, stop=0, step=-2, endpoint=true, expected="[ 5. 3. 1. -1.]"📌 Runtime Parameters
params: start: 5 stop: 0 step: -2 endpoint: True expected: [ 5. 3. 1. -1.] id: 5-0--2-True-expected5📌 Setup phase
duration:
0.00041061267256736755outcome:
passed📌 Call phase
duration:
0.0005276370793581009outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (3,), (4,) mismatch) x: array([0, 2, 4]) y: array([ 5., 3., 1., -1.])traceback:
- path: tests/test_utils_npy.py lineno: 53 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 5, stop = 0, step = -2, endpoint = True expected = array([ 5., 3., 1., -1.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([0., 2., 4., 6.])), # Normal case with endpoint overshooting (0, 5, 2, False, np.array([0., 2., 4.])), # No endpoint (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])), # Needs fractional alignment to include stop (-1, 2, 1.5, False, np.array([-1., 0.5])), # Same range but no endpoint (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])), # Step overshoots (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Backward steps with overshoot (5, 0, -2, False, np.array([5., 3., 1.])), # No endpoint, backward ]) def test_nice_steps_left_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a8b03a0>, array([0, 2, 4]), array([ 5., 3., 1., -1.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (3,), (4,) mismatch) E x: array([0, 2, 4]) E y: array([ 5., 3., 1., -1.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00023480597883462906outcome:
passed -
❌ Test 190
params: start=5, stop=0, step=-2, endpoint=false, expected="[5. 3. 1.]"📌 Runtime Parameters
params: start: 5 stop: 0 step: -2 endpoint: False expected: [5. 3. 1.] id: 5-0--2-False-expected6📌 Setup phase
duration:
0.0003945808857679367outcome:
passed📌 Call phase
duration:
0.0004889601841568947outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (2,), (3,) mismatch) x: array([0, 2]) y: array([5., 3., 1.])traceback:
- path: tests/test_utils_npy.py lineno: 53 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 5, stop = 0, step = -2, endpoint = False, expected = array([5., 3., 1.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([0., 2., 4., 6.])), # Normal case with endpoint overshooting (0, 5, 2, False, np.array([0., 2., 4.])), # No endpoint (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])), # Needs fractional alignment to include stop (-1, 2, 1.5, False, np.array([-1., 0.5])), # Same range but no endpoint (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])), # Step overshoots (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Backward steps with overshoot (5, 0, -2, False, np.array([5., 3., 1.])), # No endpoint, backward ]) def test_nice_steps_left_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a8b00d0>, array([0, 2]), array([5., 3., 1.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (2,), (3,) mismatch) E x: array([0, 2]) E y: array([5., 3., 1.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00023918692022562027outcome:
passed
↳ Function: test_nice_steps_right_aligned
-
❌ Test 191
params: start=0, stop=5, step=2, endpoint=true, expected="[6. 4. 2. 0.]"📌 Runtime Parameters
params: start: 0 stop: 5 step: 2 endpoint: True expected: [6. 4. 2. 0.] id: 0-5-2-True-expected0📌 Setup phase
duration:
0.00040007010102272034outcome:
passed📌 Call phase
duration:
0.0004942389205098152outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (3,), (4,) mismatch) x: array([1, 3, 5]) y: array([6., 4., 2., 0.])traceback:
- path: tests/test_utils_npy.py lineno: 67 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 0, stop = 5, step = 2, endpoint = True expected = array([6., 4., 2., 0.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([6., 4., 2., 0.])), # Right-aligned, overshoots left (0, 5, 2, False, np.array([4., 2., 0.])), # Right-aligned, no endpoint (-1, 2, 1.5, True, np.array([2., 0.5, -1.])), # Step doesn t divide evenly, reverse it (-1, 2, 1.5, False, np.array([0.5, -1.])), # Without endpoint (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Negative step, includes endpoint overshoot (5, 0, -2, False, np.array([3., 1., -1.])), # No endpoint, skips last one (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])), # Large symmetric range, reverse ]) def test_nice_steps_right_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a8b0ca0>, array([1, 3, 5]), array([6., 4., 2., 0.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (3,), (4,) mismatch) E x: array([1, 3, 5]) E y: array([6., 4., 2., 0.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.0002802042290568352outcome:
passed -
❌ Test 192
params: start=0, stop=5, step=2, endpoint=false, expected="[4. 2. 0.]"📌 Runtime Parameters
params: start: 0 stop: 5 step: 2 endpoint: False expected: [4. 2. 0.] id: 0-5-2-False-expected1📌 Setup phase
duration:
0.0003991900011897087outcome:
passed📌 Call phase
duration:
0.0004964987747371197outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (2,), (3,) mismatch) x: array([3, 5]) y: array([4., 2., 0.])traceback:
- path: tests/test_utils_npy.py lineno: 67 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 0, stop = 5, step = 2, endpoint = False, expected = array([4., 2., 0.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([6., 4., 2., 0.])), # Right-aligned, overshoots left (0, 5, 2, False, np.array([4., 2., 0.])), # Right-aligned, no endpoint (-1, 2, 1.5, True, np.array([2., 0.5, -1.])), # Step doesn t divide evenly, reverse it (-1, 2, 1.5, False, np.array([0.5, -1.])), # Without endpoint (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Negative step, includes endpoint overshoot (5, 0, -2, False, np.array([3., 1., -1.])), # No endpoint, skips last one (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])), # Large symmetric range, reverse ]) def test_nice_steps_right_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a8d7ee0>, array([3, 5]), array([4., 2., 0.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (2,), (3,) mismatch) E x: array([3, 5]) E y: array([4., 2., 0.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.0002625808119773865outcome:
passed -
❌ Test 193
params: start=-1, stop=2, step=1.5, endpoint=true, expected="[ 2. 0.5 -1. ]"📌 Runtime Parameters
params: start: -1 stop: 2 step: 1.5 endpoint: True expected: [ 2. 0.5 -1. ] id: -1-2-1.5-True-expected2📌 Setup phase
duration:
0.0004035751335322857outcome:
passed📌 Call phase
duration:
0.0009125219658017159outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 Mismatched elements: 2 / 3 (66.7%) Max absolute difference: 3. Max relative difference: 3. x: array([-1. , 0.5, 2. ]) y: array([ 2. , 0.5, -1. ])traceback:
- path: tests/test_utils_npy.py lineno: 67 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = -1, stop = 2, step = 1.5, endpoint = True expected = array([ 2. , 0.5, -1. ]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([6., 4., 2., 0.])), # Right-aligned, overshoots left (0, 5, 2, False, np.array([4., 2., 0.])), # Right-aligned, no endpoint (-1, 2, 1.5, True, np.array([2., 0.5, -1.])), # Step doesn t divide evenly, reverse it (-1, 2, 1.5, False, np.array([0.5, -1.])), # Without endpoint (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Negative step, includes endpoint overshoot (5, 0, -2, False, np.array([3., 1., -1.])), # No endpoint, skips last one (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])), # Large symmetric range, reverse ]) def test_nice_steps_right_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a8d7af0>, array([-1. , 0.5, 2. ]), array([ 2. , 0.5, -1. ])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E Mismatched elements: 2 / 3 (66.7%) E Max absolute difference: 3. E Max relative difference: 3. E x: array([-1. , 0.5, 2. ]) E y: array([ 2. , 0.5, -1. ]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00028821593150496483outcome:
passed -
❌ Test 194
params: start=-1, stop=2, step=1.5, endpoint=false, expected="[ 0.5 -1. ]"📌 Runtime Parameters
params: start: -1 stop: 2 step: 1.5 endpoint: False expected: [ 0.5 -1. ] id: -1-2-1.5-False-expected3📌 Setup phase
duration:
0.000422618817538023outcome:
passed📌 Call phase
duration:
0.0009412290528416634outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 Mismatched elements: 1 / 2 (50%) Max absolute difference: 3. Max relative difference: 3. x: array([0.5, 2. ]) y: array([ 0.5, -1. ])traceback:
- path: tests/test_utils_npy.py lineno: 67 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = -1, stop = 2, step = 1.5, endpoint = False expected = array([ 0.5, -1. ]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([6., 4., 2., 0.])), # Right-aligned, overshoots left (0, 5, 2, False, np.array([4., 2., 0.])), # Right-aligned, no endpoint (-1, 2, 1.5, True, np.array([2., 0.5, -1.])), # Step doesn t divide evenly, reverse it (-1, 2, 1.5, False, np.array([0.5, -1.])), # Without endpoint (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Negative step, includes endpoint overshoot (5, 0, -2, False, np.array([3., 1., -1.])), # No endpoint, skips last one (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])), # Large symmetric range, reverse ]) def test_nice_steps_right_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a8d7ee0>, array([0.5, 2. ]), array([ 0.5, -1. ])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E Mismatched elements: 1 / 2 (50%) E Max absolute difference: 3. E Max relative difference: 3. E x: array([0.5, 2. ]) E y: array([ 0.5, -1. ]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00028511881828308105outcome:
passed -
❌ Test 195
params: start=5, stop=0, step=-2, endpoint=true, expected="[ 5. 3. 1. -1.]"📌 Runtime Parameters
params: start: 5 stop: 0 step: -2 endpoint: True expected: [ 5. 3. 1. -1.] id: 5-0--2-True-expected4📌 Setup phase
duration:
0.0004056142643094063outcome:
passed📌 Call phase
duration:
0.0005440479144454002outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (3,), (4,) mismatch) x: array([1, 3, 5]) y: array([ 5., 3., 1., -1.])traceback:
- path: tests/test_utils_npy.py lineno: 67 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 5, stop = 0, step = -2, endpoint = True expected = array([ 5., 3., 1., -1.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([6., 4., 2., 0.])), # Right-aligned, overshoots left (0, 5, 2, False, np.array([4., 2., 0.])), # Right-aligned, no endpoint (-1, 2, 1.5, True, np.array([2., 0.5, -1.])), # Step doesn t divide evenly, reverse it (-1, 2, 1.5, False, np.array([0.5, -1.])), # Without endpoint (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Negative step, includes endpoint overshoot (5, 0, -2, False, np.array([3., 1., -1.])), # No endpoint, skips last one (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])), # Large symmetric range, reverse ]) def test_nice_steps_right_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a78d430>, array([1, 3, 5]), array([ 5., 3., 1., -1.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (3,), (4,) mismatch) E x: array([1, 3, 5]) E y: array([ 5., 3., 1., -1.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.0002512768842279911outcome:
passed -
❌ Test 196
params: start=5, stop=0, step=-2, endpoint=false, expected="[ 3. 1. -1.]"📌 Runtime Parameters
params: start: 5 stop: 0 step: -2 endpoint: False expected: [ 3. 1. -1.] id: 5-0--2-False-expected5📌 Setup phase
duration:
0.00044327881187200546outcome:
passed📌 Call phase
duration:
0.0005426150746643543outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (2,), (3,) mismatch) x: array([3, 5]) y: array([ 3., 1., -1.])traceback:
- path: tests/test_utils_npy.py lineno: 67 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = 5, stop = 0, step = -2, endpoint = False expected = array([ 3., 1., -1.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([6., 4., 2., 0.])), # Right-aligned, overshoots left (0, 5, 2, False, np.array([4., 2., 0.])), # Right-aligned, no endpoint (-1, 2, 1.5, True, np.array([2., 0.5, -1.])), # Step doesn t divide evenly, reverse it (-1, 2, 1.5, False, np.array([0.5, -1.])), # Without endpoint (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Negative step, includes endpoint overshoot (5, 0, -2, False, np.array([3., 1., -1.])), # No endpoint, skips last one (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])), # Large symmetric range, reverse ]) def test_nice_steps_right_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a78d9d0>, array([3, 5]), array([ 3., 1., -1.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (2,), (3,) mismatch) E x: array([3, 5]) E y: array([ 3., 1., -1.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.0002519097179174423outcome:
passed -
❌ Test 197
params: start=-3, stop=3, step=2, endpoint=true, expected="[ 5. 3. 1. -1. -3.]"📌 Runtime Parameters
params: start: -3 stop: 3 step: 2 endpoint: True expected: [ 5. 3. 1. -1. -3.] id: -3-3-2-True-expected6📌 Setup phase
duration:
0.0004320703446865082outcome:
passed📌 Call phase
duration:
0.0005360948853194714outcome:
failedcrash:
path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionError: Not equal to tolerance rtol=1e-07, atol=0 (shapes (4,), (5,) mismatch) x: array([-3, -1, 1, 3]) y: array([ 5., 3., 1., -1., -3.])traceback:
- path: tests/test_utils_npy.py lineno: 67 message: None - path: .pixi/envs/default/lib/python3.8/contextlib.py lineno: 75 message: AssertionErrorlongrepr:
start = -3, stop = 3, step = 2, endpoint = True expected = array([ 5., 3., 1., -1., -3.]) @pytest.mark.parametrize("start, stop, step, endpoint, expected", [ (0, 5, 2, True, np.array([6., 4., 2., 0.])), # Right-aligned, overshoots left (0, 5, 2, False, np.array([4., 2., 0.])), # Right-aligned, no endpoint (-1, 2, 1.5, True, np.array([2., 0.5, -1.])), # Step doesn t divide evenly, reverse it (-1, 2, 1.5, False, np.array([0.5, -1.])), # Without endpoint (5, 0, -2, True, np.array([5., 3., 1., -1.])), # Negative step, includes endpoint overshoot (5, 0, -2, False, np.array([3., 1., -1.])), # No endpoint, skips last one (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])), # Large symmetric range, reverse ]) def test_nice_steps_right_aligned(start, stop, step, endpoint, expected): > np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected) tests/test_utils_npy.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (<function assert_allclose.<locals>.compare at 0x7f687a78d820>, array([-3, -1, 1, 3]), array([ 5., 3., 1., -1., -3.])) kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Not equal to tolerance rtol=1e-07, atol=0 E E (shapes (4,), (5,) mismatch) E x: array([-3, -1, 1, 3]) E y: array([ 5., 3., 1., -1., -3.]) .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError📌 Teardown phase
duration:
0.00026581669226288795outcome:
passed
-
-
📄 test_utils_snapshot.py
↳ Function: test_snapshot
-
❌ Test 283
params: test_input="v1", "Visible", false], ["h1", "Hidden", true, expected=["Visible"], kwargs={}📌 Runtime Parameters
params: test_input: - - v1 - Visible - (vide) - - h1 - Hidden - True expected: - Visible kwargs: {} id: exclude_internals📌 Setup phase
duration:
0.0004661339335143566outcome:
passed📌 Call phase
duration:
0.0005672657862305641outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_snapshot.py lineno: 87 message: None - path: tests/test_utils_snapshot.py lineno: 87 message: in <listcomp> - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_snapshot.py lineno: 6 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
test_input = [('v1', 'Visible', False), ('h1', 'Hidden', True)] expected = ['Visible'], kwargs = {} @pytest.mark.parametrize("test_input,expected,kwargs", test_cases) def test_snapshot(test_input, expected, kwargs): > adjustables = [FakeAdjustable(*args) for args in test_input] tests/test_utils_snapshot.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_utils_snapshot.py:87: in <listcomp> adjustables = [FakeAdjustable(*args) for args in test_input] slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_snapshot.py:6: in __init__ super().__init__(ID=ID, name=name or ID, internal=internal) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'FakeAdjustable' object has no attribute '_value'") raised in repr()] method object at 0x7f6879f4c3c0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002478770911693573outcome:
passed -
❌ Test 284
params: test_input="v1", "Visible", false], ["h1", "Hidden", true, expected=["Visible", "Hidden"], kwargs={"include_internal": true}📌 Runtime Parameters
params: test_input: - - v1 - Visible - (vide) - - h1 - Hidden - True expected: - Visible - Hidden kwargs: include_internal: True id: include_internals📌 Setup phase
duration:
0.0003473181277513504outcome:
passed📌 Call phase
duration:
0.0002938290126621723outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_snapshot.py lineno: 87 message: None - path: tests/test_utils_snapshot.py lineno: 87 message: in <listcomp> - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_snapshot.py lineno: 6 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
test_input = [('v1', 'Visible', False), ('h1', 'Hidden', True)] expected = ['Visible', 'Hidden'], kwargs = {'include_internal': True} @pytest.mark.parametrize("test_input,expected,kwargs", test_cases) def test_snapshot(test_input, expected, kwargs): > adjustables = [FakeAdjustable(*args) for args in test_input] tests/test_utils_snapshot.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_utils_snapshot.py:87: in <listcomp> adjustables = [FakeAdjustable(*args) for args in test_input] slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_snapshot.py:6: in __init__ super().__init__(ID=ID, name=name or ID, internal=internal) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'FakeAdjustable' object has no attribute '_value'") raised in repr()] method object at 0x7f687a8955c0> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002246820367872715outcome:
passed -
❌ Test 286
params: test_input="3", "Charlie"], ["1", "Alpha"], ["2", "Beta", expected=["Alpha", "Beta", "Charlie"], kwargs="{'sort_key': }"📌 Runtime Parameters
params: test_input: - - 3 - Charlie - - 1 - Alpha - - 2 - Beta expected: - Alpha - Beta - Charlie kwargs: {'sort_key': <class 'str'>} id: sort_str📌 Setup phase
duration:
0.00027870479971170425outcome:
passed📌 Call phase
duration:
0.00028182612732052803outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_snapshot.py lineno: 87 message: None - path: tests/test_utils_snapshot.py lineno: 87 message: in <listcomp> - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_snapshot.py lineno: 6 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
test_input = [('3', 'Charlie'), ('1', 'Alpha'), ('2', 'Beta')] expected = ['Alpha', 'Beta', 'Charlie'], kwargs = {'sort_key': <class 'str'>} @pytest.mark.parametrize("test_input,expected,kwargs", test_cases) def test_snapshot(test_input, expected, kwargs): > adjustables = [FakeAdjustable(*args) for args in test_input] tests/test_utils_snapshot.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_utils_snapshot.py:87: in <listcomp> adjustables = [FakeAdjustable(*args) for args in test_input] slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_snapshot.py:6: in __init__ super().__init__(ID=ID, name=name or ID, internal=internal) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'FakeAdjustable' object has no attribute '_value'") raised in repr()] method object at 0x7f687a8cc580> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002345200628042221outcome:
passed -
❌ Test 287
params: test_input="z3", "C"], ["a1", "A"], ["m2", "B", expected=["A", "B", "C"], kwargs="{'sort_key': at 0x7f687aaf50d0>}"📌 Runtime Parameters
params: test_input: - - z3 - C - - a1 - A - - m2 - B expected: - A - B - C kwargs: {'sort_key': <function <lambda> at 0x7f687aaf50d0>} id: sort_id📌 Setup phase
duration:
0.0002897470258176327outcome:
passed📌 Call phase
duration:
0.0002809888683259487outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_snapshot.py lineno: 87 message: None - path: tests/test_utils_snapshot.py lineno: 87 message: in <listcomp> - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_snapshot.py lineno: 6 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
test_input = [('z3', 'C'), ('a1', 'A'), ('m2', 'B')], expected = ['A', 'B', 'C'] kwargs = {'sort_key': <function <lambda> at 0x7f687aaf50d0>} @pytest.mark.parametrize("test_input,expected,kwargs", test_cases) def test_snapshot(test_input, expected, kwargs): > adjustables = [FakeAdjustable(*args) for args in test_input] tests/test_utils_snapshot.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_utils_snapshot.py:87: in <listcomp> adjustables = [FakeAdjustable(*args) for args in test_input] slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_snapshot.py:6: in __init__ super().__init__(ID=ID, name=name or ID, internal=internal) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'FakeAdjustable' object has no attribute '_value'") raised in repr()] method object at 0x7f686b74fd00> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002020588144659996outcome:
passed -
❌ Test 288
params: test_input="3", "Charlie"], ["1", "alpha"], ["2", "Beta", expected=["alpha", "Beta", "Charlie"], kwargs="{'sort_key': at 0x7f687aaf5160>}"📌 Runtime Parameters
params: test_input: - - 3 - Charlie - - 1 - alpha - - 2 - Beta expected: - alpha - Beta - Charlie kwargs: {'sort_key': <function <lambda> at 0x7f687aaf5160>} id: sort_case_insensitive📌 Setup phase
duration:
0.0002908059395849705outcome:
passed📌 Call phase
duration:
0.0002453303895890713outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_snapshot.py lineno: 87 message: None - path: tests/test_utils_snapshot.py lineno: 87 message: in <listcomp> - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_snapshot.py lineno: 6 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
test_input = [('3', 'Charlie'), ('1', 'alpha'), ('2', 'Beta')] expected = ['alpha', 'Beta', 'Charlie'] kwargs = {'sort_key': <function <lambda> at 0x7f687aaf5160>} @pytest.mark.parametrize("test_input,expected,kwargs", test_cases) def test_snapshot(test_input, expected, kwargs): > adjustables = [FakeAdjustable(*args) for args in test_input] tests/test_utils_snapshot.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_utils_snapshot.py:87: in <listcomp> adjustables = [FakeAdjustable(*args) for args in test_input] slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_snapshot.py:6: in __init__ super().__init__(ID=ID, name=name or ID, internal=internal) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'FakeAdjustable' object has no attribute '_value'") raised in repr()] method object at 0x7f687a057b40> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002568839117884636outcome:
passed -
❌ Test 289
params: test_input="1", "A"], ["2", "BB"], ["3", "CCC", expected=["A", "BB", "CCC"], kwargs="{'sort_key': at 0x7f687aaf51f0>}"📌 Runtime Parameters
params: test_input: - - 1 - A - - 2 - BB - - 3 - CCC expected: - A - BB - CCC kwargs: {'sort_key': <function <lambda> at 0x7f687aaf51f0>} id: sort_length📌 Setup phase
duration:
0.000329561997205019outcome:
passed📌 Call phase
duration:
0.0002672499977052212outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_snapshot.py lineno: 87 message: None - path: tests/test_utils_snapshot.py lineno: 87 message: in <listcomp> - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_snapshot.py lineno: 6 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
test_input = [('1', 'A'), ('2', 'BB'), ('3', 'CCC')] expected = ['A', 'BB', 'CCC'] kwargs = {'sort_key': <function <lambda> at 0x7f687aaf51f0>} @pytest.mark.parametrize("test_input,expected,kwargs", test_cases) def test_snapshot(test_input, expected, kwargs): > adjustables = [FakeAdjustable(*args) for args in test_input] tests/test_utils_snapshot.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_utils_snapshot.py:87: in <listcomp> adjustables = [FakeAdjustable(*args) for args in test_input] slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_snapshot.py:6: in __init__ super().__init__(ID=ID, name=name or ID, internal=internal) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'FakeAdjustable' object has no attribute '_value'") raised in repr()] method object at 0x7f6879ecc040> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.00024838559329509735outcome:
passed -
❌ Test 290
params: test_input="1", "A"], ["2", "B"], ["3", "C", expected=["C", "B", "A"], kwargs="{'sort_key': at 0x7f687aaf5280>}"📌 Runtime Parameters
params: test_input: - - 1 - A - - 2 - B - - 3 - C expected: - C - B - A kwargs: {'sort_key': <function <lambda> at 0x7f687aaf5280>} id: sort_reverse📌 Setup phase
duration:
0.0003048032522201538outcome:
passed📌 Call phase
duration:
0.0002932450734078884outcome:
failedcrash:
path: /workspace/tligui_y/slic/slic/utils/argfwd.py lineno: 34 message: AttributeError: 'Signature' object has no attribute 'args'traceback:
- path: tests/test_utils_snapshot.py lineno: 87 message: None - path: tests/test_utils_snapshot.py lineno: 87 message: in <listcomp> - path: slic/utils/registry.py lineno: 19 message: in __call__ - path: tests/test_utils_snapshot.py lineno: 6 message: in __init__ - path: slic/core/adjustable/adjustable.py lineno: 24 message: in __init__ - path: slic/core/task/producer.py lineno: 13 message: in _task_producer - path: slic/utils/argfwd.py lineno: 12 message: in forwards_to - path: slic/utils/argfwd.py lineno: 34 message: AttributeErrorlongrepr:
test_input = [('1', 'A'), ('2', 'B'), ('3', 'C')], expected = ['C', 'B', 'A'] kwargs = {'sort_key': <function <lambda> at 0x7f687aaf5280>} @pytest.mark.parametrize("test_input,expected,kwargs", test_cases) def test_snapshot(test_input, expected, kwargs): > adjustables = [FakeAdjustable(*args) for args in test_input] tests/test_utils_snapshot.py:87: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_utils_snapshot.py:87: in <listcomp> adjustables = [FakeAdjustable(*args) for args in test_input] slic/utils/registry.py:19: in __call__ inst = super().__call__(*args, **kwargs) # creates the instance (calls __new__ and __init__ methods) tests/test_utils_snapshot.py:6: in __init__ super().__init__(ID=ID, name=name or ID, internal=internal) slic/core/adjustable/adjustable.py:24: in __init__ self._task_producer(self.set_target_value, stopper=self.stop) slic/core/task/producer.py:13: in _task_producer @forwards_to(func, nfilled=1, appended_kwargs=dict(hold=False)) # nfilled=1 to remove self slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ func = <[AttributeError("'FakeAdjustable' object has no attribute '_value'") raised in repr()] method object at 0x7f6879ecc140> def get_args(func): spec = inspect.signature(func) #spec = inspect.getfullargspec(func) #TODO replace by inspect.signature? > all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' slic/utils/argfwd.py:34: AttributeError📌 Teardown phase
duration:
0.0002045668661594391outcome:
passed
-
-
📄 test_utils_tqdm_mod.py
↳ Function: test_float_alignment_in_bar
-
❌ Test 295
📌 Setup phase
duration:
0.00012576021254062653outcome:
passed📌 Call phase
duration:
0.0012254309840500355outcome:
failedcrash:
path: /workspace/tligui_y/slic/tests/test_utils_tqdm_mod.py lineno: 130 message: assert 2 == 1 + where 2 = len({50, 65}) + where {50, 65} = set([50, 65, 65, 65, 65])traceback:
- path: tests/test_utils_tqdm_mod.py lineno: 130 message: AssertionErrorlongrepr:
def test_float_alignment_in_bar(): # Capture the tqdm output into a string buffer f = io.StringIO() with redirect_stdout(f): bar = tqdm_mod(total=100.12, desc="AlignBar", file=f, miniters=1, mininterval=0) bar.set(1.3333) bar.set(12.5) bar.set(99.89) bar.set(100.12) bar.close() # Extract lines containing the label lines = extract_lines(f.getvalue(), "AlignBar") # Expected formatted values using format_sizeof expected_values = [ "1.3/100.1", "12.5/100.1", "99.9/100.1", "100.1/100.1", ] # Extract the actual padded float/total strings from the full lines values = [] for line in lines: match = re.search(r"(\d{1,3}\.\d)/100\.1", line) if match: values.append(match.group(0)) # Ensure raw 100.12 never appears : format_sizeof must have truncated it assert all("100.12" not in line for line in lines), "Unrounded value '100.12' found in output!" # Check all expected values appear rounded as expected by format_sizeof for expected in expected_values: assert expected in values, f"Missing expected value: {expected}" # Check that all values are visually aligned, output with same length, to ensure that format_sizeof add the good number avec spaces print("\n") bar_segments = [] for line in lines: match = re.search(r".*?\]", line) if match: bar_segments.append(match.group(0)) print(match.group(0)) lengths = [len(seg) for seg in bar_segments] > assert len(set(lengths)) == 1 E assert 2 == 1 E + where 2 = len({50, 65}) E + where {50, 65} = set([50, 65, 65, 65, 65]) tests/test_utils_tqdm_mod.py:130: AssertionError📌 Teardown phase
duration:
0.00014259200543165207outcome:
passed
-
✅ Passed (277)
-
📄 test_utils_channels.py
↳ Function: test_load_channels_and_channels_class_with_professional_names
-
✅ Test 41
📌 Setup phase
duration:
0.00016159703955054283outcome:
passed📌 Call phase
duration:
0.0012560011819005013outcome:
passed📌 Teardown phase
duration:
0.00014335708692669868outcome:
passed
-
-
📄 test_utils_cpint.py
↳ Function: test_load_color_variants_all_keys_and_types
-
✅ Test 42
params: base_color="red"📌 Runtime Parameters
params: base_color: red id: red📌 Setup phase
duration:
0.0002528303302824497outcome:
passed📌 Call phase
duration:
0.0001901751384139061outcome:
passed📌 Teardown phase
duration:
0.00013668835163116455outcome:
passed -
✅ Test 43
params: base_color="blue"📌 Runtime Parameters
params: base_color: blue id: blue📌 Setup phase
duration:
0.000202203169465065outcome:
passed📌 Call phase
duration:
0.00015299906954169273outcome:
passed📌 Teardown phase
duration:
0.00012132199481129646outcome:
passed -
✅ Test 44
params: base_color="yellow"📌 Runtime Parameters
params: base_color: yellow id: yellow📌 Setup phase
duration:
0.0001880400814116001outcome:
passed📌 Call phase
duration:
0.00015320582315325737outcome:
passed📌 Teardown phase
duration:
0.0001232372596859932outcome:
passed -
✅ Test 45
params: base_color="green"📌 Runtime Parameters
params: base_color: green id: green📌 Setup phase
duration:
0.00017780903726816177outcome:
passed📌 Call phase
duration:
0.00014445697888731956outcome:
passed📌 Teardown phase
duration:
0.00011942815035581589outcome:
passed -
✅ Test 46
params: base_color="cyan"📌 Runtime Parameters
params: base_color: cyan id: cyan📌 Setup phase
duration:
0.00018752086907625198outcome:
passed📌 Call phase
duration:
0.00015130406245589256outcome:
passed📌 Teardown phase
duration:
0.000131901353597641outcome:
passed -
✅ Test 47
params: base_color="magenta"📌 Runtime Parameters
params: base_color: magenta id: magenta📌 Setup phase
duration:
0.00017055310308933258outcome:
passed📌 Call phase
duration:
0.0001442660577595234outcome:
passed📌 Teardown phase
duration:
0.00012708082795143127outcome:
passed -
✅ Test 48
params: base_color="white"📌 Runtime Parameters
params: base_color: white id: white📌 Setup phase
duration:
0.00017616990953683853outcome:
passed📌 Call phase
duration:
0.00014977436512708664outcome:
passed📌 Teardown phase
duration:
0.00012979330494999886outcome:
passed -
✅ Test 49
params: base_color="black"📌 Runtime Parameters
params: base_color: black id: black📌 Setup phase
duration:
0.00017320923507213593outcome:
passed📌 Call phase
duration:
0.00014886027202010155outcome:
passed📌 Teardown phase
duration:
0.0001286170445382595outcome:
passed
↳ Function: test_cprint_all_cases_fancy
-
✅ Test 50
params: objects=[["Fancy", "list"], {"a": 7}, null], color_spec=["red", "+"], sep=" | ", expected_flatten="['Fancy', 'list'] | {'a': 7} | None", expected_error=null📌 Runtime Parameters
params: objects: - - Fancy - list - a: 7 - (vide) color_spec: - red - + sep: | expected_flatten: ['Fancy', 'list'] | {'a': 7} | None expected_error: None id: objects0-color_spec0- | -['Fancy', 'list'] | {'a': 7} | None-None📌 Setup phase
duration:
0.0006631235592067242outcome:
passed📌 Call phase
duration:
0.0002612648531794548outcome:
passed📌 Teardown phase
duration:
0.00024818675592541695outcome:
passed -
✅ Test 51
params: objects=[{"k": [1, 2]}, 99, ["X", ["Y"]]], color_spec=["blue", "++"], sep=" - ", expected_flatten="{'k': [1, 2]} - 99 - ['X', ['Y']]", expected_error=null📌 Runtime Parameters
params: objects: - k: - 1 - 2 - 99 - - X - - Y color_spec: - blue - ++ sep: - expected_flatten: {'k': [1, 2]} - 99 - ['X', ['Y']] expected_error: None id: objects1-color_spec1- - -{'k': [1, 2]} - 99 - ['X', ['Y']]-None📌 Setup phase
duration:
0.0004687272012233734outcome:
passed📌 Call phase
duration:
0.00024946359917521477outcome:
passed📌 Teardown phase
duration:
0.00025077397003769875outcome:
passed -
✅ Test 52
params: objects=[[], {}, "End"], color_spec=["magenta", "--"], sep=" / ", expected_flatten="[] / {} / End", expected_error=null📌 Runtime Parameters
params: objects: - (vide) - (vide) - End color_spec: - magenta - -- sep: / expected_flatten: [] / {} / End expected_error: None id: objects2-color_spec2- / -[] / {} / End-None📌 Setup phase
duration:
0.0004784571938216686outcome:
passed📌 Call phase
duration:
0.00022109830752015114outcome:
passed📌 Teardown phase
duration:
0.00025782082229852676outcome:
passed -
✅ Test 53
params: objects="", [3, 4, "done", 0], color_spec=["green", ""], sep=";", expected_flatten="['', [3, 4]];done;0", expected_error=null📌 Runtime Parameters
params: objects: - - (vide) - - 3 - 4 - done - (vide) color_spec: - green - (vide) sep: ; expected_flatten: ['', [3, 4]];done;0 expected_error: None id: objects3-color_spec3-;-['', [3, 4]];done;0-None📌 Setup phase
duration:
0.0004617339000105858outcome:
passed📌 Call phase
duration:
0.00024391990154981613outcome:
passed📌 Teardown phase
duration:
0.00024077296257019043outcome:
passed -
✅ Test 54
params: objects=[["alpha", null], ["beta", {}], "stop"], color_spec=["yellow", ""], sep="::", expected_flatten="['alpha', None]::['beta', {}]::stop", expected_error=null📌 Runtime Parameters
params: objects: - - alpha - (vide) - - beta - (vide) - stop color_spec: - yellow - (vide) sep: :: expected_flatten: ['alpha', None]::['beta', {}]::stop expected_error: None id: objects4-color_spec4-::-['alpha', None]::['beta', {}]::stop-None📌 Setup phase
duration:
0.00045066699385643005outcome:
passed📌 Call phase
duration:
0.00022011995315551758outcome:
passed📌 Teardown phase
duration:
0.0002548322081565857outcome:
passed -
✅ Test 55
params: objects="deep", ["deeper", ["deepest"], "X"], color_spec=["cyan", "+"], sep=" ... ", expected_flatten="['deep', ['deeper', ['deepest']]] ... X", expected_error=null📌 Runtime Parameters
params: objects: - - deep - - deeper - - deepest - X color_spec: - cyan - + sep: ... expected_flatten: ['deep', ['deeper', ['deepest']]] ... X expected_error: None id: objects5-color_spec5- ... -['deep', ['deeper', ['deepest']]] ... X-None📌 Setup phase
duration:
0.0004662522114813328outcome:
passed📌 Call phase
duration:
0.00022426387295126915outcome:
passed📌 Teardown phase
duration:
0.00023664580658078194outcome:
passed -
✅ Test 56
params: objects=[{"dict": {"nested": [4, 5]}}, [true, false], 6.28], color_spec=["white", "++"], sep=" // ", expected_flatten="{'dict': {'nested': [4, 5]}} // [True, False] // 6.28", expected_error=null📌 Runtime Parameters
params: objects: - dict: nested: - 4 - 5 - - True - (vide) - 6.28 color_spec: - white - ++ sep: // expected_flatten: {'dict': {'nested': [4, 5]}} // [True, False] // 6.28 expected_error: None id: objects6-color_spec6- // -{'dict': {'nested': [4, 5]}} // [True, False] // 6.28-None📌 Setup phase
duration:
0.0004517752677202225outcome:
passed📌 Call phase
duration:
0.00023330608382821083outcome:
passed📌 Teardown phase
duration:
0.00024225981906056404outcome:
passed -
✅ Test 57
params: objects="A", ["B", "string", "C"], color_spec=["red", "--"], sep="==", expected_flatten="['A', ['B']]==string==C", expected_error=null📌 Runtime Parameters
params: objects: - - A - - B - string - C color_spec: - red - -- sep: == expected_flatten: ['A', ['B']]==string==C expected_error: None id: objects7-color_spec7-==-['A', ['B']]==string==C-None📌 Setup phase
duration:
0.0004705721512436867outcome:
passed📌 Call phase
duration:
0.00021343166008591652outcome:
passed📌 Teardown phase
duration:
0.00025319913402199745outcome:
passed -
✅ Test 58
params: objects="Test", null, [, {"v": 0}], color_spec=["green", "++"], sep=" ++ ", expected_flatten="['Test', None, []] ++ {'v': 0}", expected_error=null📌 Runtime Parameters
params: objects: - - Test - (vide) - (vide) - v: 0 color_spec: - green - ++ sep: ++ expected_flatten: ['Test', None, []] ++ {'v': 0} expected_error: None id: objects8-color_spec8- ++ -['Test', None, []] ++ {'v': 0}-None📌 Setup phase
duration:
0.00045752106234431267outcome:
passed📌 Call phase
duration:
0.0002351086586713791outcome:
passed📌 Teardown phase
duration:
0.00023884885013103485outcome:
passed -
✅ Test 59
params: objects=[["no", "color"], "plain"], color_spec=null, sep=";", expected_flatten="['no', 'color'];plain", expected_error=null📌 Runtime Parameters
params: objects: - - no - color - plain color_spec: None sep: ; expected_flatten: ['no', 'color'];plain expected_error: None id: objects9-None-;-['no', 'color'];plain-None📌 Setup phase
duration:
0.00046394625678658485outcome:
passed📌 Call phase
duration:
0.00020996900275349617outcome:
passed📌 Teardown phase
duration:
0.00025892117992043495outcome:
passed -
✅ Test 60
params: objects=[["simple"], "", 12], color_spec=null, sep=" | ", expected_flatten="['simple'] | | 12", expected_error=null📌 Runtime Parameters
params: objects: - - simple - (vide) - 12 color_spec: None sep: | expected_flatten: ['simple'] | | 12 expected_error: None id: objects10-None- | -['simple'] | | 12-None📌 Setup phase
duration:
0.0004561101086437702outcome:
passed📌 Call phase
duration:
0.0002261749468743801outcome:
passed📌 Teardown phase
duration:
0.00024293642491102219outcome:
passed -
✅ Test 61
params: objects=["very", "deep", {"ok": true}], color_spec=null, sep=" : ", expected_flatten="'very', 'deep' : {'ok': True}", expected_error=null📌 Runtime Parameters
params: objects: - - - very - deep - ok: True color_spec: None sep: : expected_flatten: [['very', 'deep']] : {'ok': True} expected_error: None id: objects11-None- : -[['very', 'deep']] : {'ok': True}-None📌 Setup phase
duration:
0.00044798990711569786outcome:
passed📌 Call phase
duration:
0.00020960019901394844outcome:
passed📌 Teardown phase
duration:
0.00025247177109122276outcome:
passed -
✅ Test 62
params: objects=[["fail", "color"], 123], color_spec=["green", "!!"], sep="|", expected_flatten="['fail', 'color']|123", expected_error=""📌 Runtime Parameters
params: objects: - - fail - color - 123 color_spec: - green - !! sep: | expected_flatten: ['fail', 'color']|123 expected_error: <class 'ValueError'> id: objects12-color_spec12-|-['fail', 'color']|123-ValueError📌 Setup phase
duration:
0.0004698401317000389outcome:
passed📌 Call phase
duration:
0.000580132007598877outcome:
passed📌 Teardown phase
duration:
0.0002757338806986809outcome:
passed -
✅ Test 63
params: objects=[["error"], {}], color_spec=["cyan", "xxx"], sep=" * ", expected_flatten="['error'] * {}", expected_error=""📌 Runtime Parameters
params: objects: - - error - (vide) color_spec: - cyan - xxx sep: * expected_flatten: ['error'] * {} expected_error: <class 'ValueError'> id: objects13-color_spec13- * -['error'] * {}-ValueError📌 Setup phase
duration:
0.00047662481665611267outcome:
passed📌 Call phase
duration:
0.0002413480542600155outcome:
passed📌 Teardown phase
duration:
0.00024761492386460304outcome:
passed -
✅ Test 64
params: objects="nope"], ["bad", color_spec=["magenta", "invalid"], sep="//", expected_flatten="['nope']//['bad']", expected_error=""📌 Runtime Parameters
params: objects: - - nope - - bad color_spec: - magenta - invalid sep: // expected_flatten: ['nope']//['bad'] expected_error: <class 'ValueError'> id: objects14-color_spec14-//-['nope']//['bad']-ValueError📌 Setup phase
duration:
0.00044672004878520966outcome:
passed📌 Call phase
duration:
0.00023671379312872887outcome:
passed📌 Teardown phase
duration:
0.0002493690699338913outcome:
passed -
✅ Test 65
params: objects=["wrong", "base"], color_spec=["notacolor", ""], sep="--", expected_flatten="wrong--base", expected_error=""📌 Runtime Parameters
params: objects: - wrong - base color_spec: - notacolor - (vide) sep: -- expected_flatten: wrong--base expected_error: <class 'ValueError'> id: objects15-color_spec15----wrong--base-ValueError📌 Setup phase
duration:
0.00047948118299245834outcome:
passed📌 Call phase
duration:
0.0002262531779706478outcome:
passed📌 Teardown phase
duration:
0.00026198383420705795outcome:
passed
-
-
📄 test_utils_debug.py
↳ Function: test_short_repr
-
✅ Test 71
params: value="abc", cutoff=10, expected="'abc'"📌 Runtime Parameters
params: value: abc cutoff: 10 expected: 'abc' id: abc-10-'abc'📌 Setup phase
duration:
0.0003940560854971409outcome:
passed📌 Call phase
duration:
0.00017755385488271713outcome:
passed📌 Teardown phase
duration:
0.0001653679646551609outcome:
passed -
✅ Test 73
params: value=12345, cutoff=10, expected="12345"📌 Runtime Parameters
params: value: 12345 cutoff: 10 expected: 12345 id: 12345-10-12345📌 Setup phase
duration:
0.00031258026137948036outcome:
passed📌 Call phase
duration:
0.00014837458729743958outcome:
passed📌 Teardown phase
duration:
0.00015568872913718224outcome:
passed -
✅ Test 74
params: value=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], cutoff=15, expected="[0, 0, 0, 0, 0,..."📌 Runtime Parameters
params: value: - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) - (vide) cutoff: 15 expected: [0, 0, 0, 0, 0,... id: value3-15-[0, 0, 0, 0, 0,...📌 Setup phase
duration:
0.00027141207829117775outcome:
passed📌 Call phase
duration:
0.00014654314145445824outcome:
passed📌 Teardown phase
duration:
0.00015345308929681778outcome:
passed -
✅ Test 75
params: value=null, cutoff=10, expected="None"📌 Runtime Parameters
params: value: None cutoff: 10 expected: None id: None-10-None📌 Setup phase
duration:
0.0002549709752202034outcome:
passed📌 Call phase
duration:
0.00013915915042161942outcome:
passed📌 Teardown phase
duration:
0.00016283802688121796outcome:
passed
-
-
📄 test_utils_dictext.py
↳ Function: test_attrdict_getattr
-
✅ Test 77
params: data={"x": 1, "y": 2}, attr="x", expected=1📌 Runtime Parameters
params: data: x: 1 y: 2 attr: x expected: 1 id: data0-x-1📌 Setup phase
duration:
0.0003103208728134632outcome:
passed📌 Call phase
duration:
0.00017070164903998375outcome:
passed📌 Teardown phase
duration:
0.0001766979694366455outcome:
passed -
✅ Test 78
params: data={"world": "ok"}, attr="world", expected="ok"📌 Runtime Parameters
params: data: world: ok attr: world expected: ok id: data1-world-ok📌 Setup phase
duration:
0.0002647791989147663outcome:
passed📌 Call phase
duration:
0.00014588842168450356outcome:
passed📌 Teardown phase
duration:
0.00015728967264294624outcome:
passed -
✅ Test 79
params: data={"outer": {"inner": 42}}, attr="outer", expected={"inner": 42}📌 Runtime Parameters
params: data: outer: inner: 42 attr: outer expected: inner: 42 id: data2-outer-expected2📌 Setup phase
duration:
0.0002659088931977749outcome:
passed📌 Call phase
duration:
0.00015135901048779488outcome:
passed📌 Teardown phase
duration:
0.00015927385538816452outcome:
passed
↳ Function: test_attrdict_setattr
-
✅ Test 80
params: initial={}, attr="nouveau", value=123📌 Runtime Parameters
params: initial: {} attr: nouveau value: 123 id: initial0-nouveau-123📌 Setup phase
duration:
0.0002800598740577698outcome:
passed📌 Call phase
duration:
0.00015000393614172935outcome:
passed📌 Teardown phase
duration:
0.0001559159718453884outcome:
passed -
✅ Test 81
params: initial={"a": 1}, attr="b", value="valeur"📌 Runtime Parameters
params: initial: a: 1 attr: b value: valeur id: initial1-b-valeur📌 Setup phase
duration:
0.00029247812926769257outcome:
passed📌 Call phase
duration:
0.00014295801520347595outcome:
passed📌 Teardown phase
duration:
0.00015821261331439018outcome:
passed
↳ Function: test_attrdict_delattr
-
✅ Test 82
params: initial={"a": 1, "b": 2}, to_del="a", expected_keys=["b"]📌 Runtime Parameters
params: initial: a: 1 b: 2 to_del: a expected_keys: - b id: initial0-a-expected_keys0📌 Setup phase
duration:
0.00027652038261294365outcome:
passed📌 Call phase
duration:
0.00018643680959939957outcome:
passed📌 Teardown phase
duration:
0.0001595849171280861outcome:
passed -
✅ Test 83
params: initial={"k": "v"}, to_del="k", expected_keys=[]📌 Runtime Parameters
params: initial: k: v to_del: k expected_keys: [] id: initial1-k-expected_keys1📌 Setup phase
duration:
0.00026951730251312256outcome:
passed📌 Call phase
duration:
0.0001852121204137802outcome:
passed📌 Teardown phase
duration:
0.0001628049649298191outcome:
passed
↳ Function: test_attrdict_dir
-
✅ Test 84
params: data={"alpha": 1, "beta": 2}, expected_keys="{'alpha', 'beta'}"📌 Runtime Parameters
params: data: alpha: 1 beta: 2 expected_keys: {'alpha', 'beta'} id: data0-expected_keys0📌 Setup phase
duration:
0.0002185567282140255outcome:
passed📌 Call phase
duration:
0.00015496090054512024outcome:
passed📌 Teardown phase
duration:
0.00014094775542616844outcome:
passed -
✅ Test 85
params: data={}, expected_keys="set()"📌 Runtime Parameters
params: data: {} expected_keys: set() id: data1-expected_keys1📌 Setup phase
duration:
0.0002305838279426098outcome:
passed📌 Call phase
duration:
0.00017090421169996262outcome:
passed📌 Teardown phase
duration:
0.00014089792966842651outcome:
passed
↳ Function: test_attrdict_getattr_and_missing
-
✅ Test 86
params: data={"x": 1, "y": 2}, attr="x", expect_value=1, expect_error=null📌 Runtime Parameters
params: data: x: 1 y: 2 attr: x expect_value: 1 expect_error: None id: data0-x-1-None📌 Setup phase
duration:
0.00033514201641082764outcome:
passed📌 Call phase
duration:
0.00014712102711200714outcome:
passed📌 Teardown phase
duration:
0.00016598403453826904outcome:
passed -
✅ Test 87
params: data={"number": 42}, attr="missing", expect_value=null, expect_error="'MyDict' object has no attribute 'missing'"📌 Runtime Parameters
params: data: number: 42 attr: missing expect_value: None expect_error: 'MyDict' object has no attribute 'missing' id: data1-missing-None-'MyDict' object has no attribute 'missing'📌 Setup phase
duration:
0.00030266400426626205outcome:
passed📌 Call phase
duration:
0.00016735540702939034outcome:
passed📌 Teardown phase
duration:
0.00019136397168040276outcome:
passed
↳ Function: test_dictupdatemixin_init_and_update
-
✅ Test 88
params: init_kwargs={"a": 1, "b": 2}, other=null, kwargs={}, expected={"a": 1, "b": 2}📌 Runtime Parameters
params: init_kwargs: a: 1 b: 2 other: None kwargs: {} expected: a: 1 b: 2 id: init_kwargs0-None-kwargs0-expected0📌 Setup phase
duration:
0.0003252169117331505outcome:
passed📌 Call phase
duration:
0.00017117708921432495outcome:
passed📌 Teardown phase
duration:
0.00017291726544499397outcome:
passed -
✅ Test 89
params: init_kwargs={}, other={"x": 10, "y": 20}, kwargs={}, expected={"x": 10, "y": 20}📌 Runtime Parameters
params: init_kwargs: {} other: x: 10 y: 20 kwargs: {} expected: x: 10 y: 20 id: init_kwargs1-other1-kwargs1-expected1📌 Setup phase
duration:
0.0003237370401620865outcome:
passed📌 Call phase
duration:
0.00016719475388526917outcome:
passed📌 Teardown phase
duration:
0.00016345921903848648outcome:
passed -
✅ Test 90
params: init_kwargs={"world": "ok"}, other={"number": 42}, kwargs={"num2": 100}, expected={"world": "ok", "number": 42, "num2": 100}📌 Runtime Parameters
params: init_kwargs: world: ok other: number: 42 kwargs: num2: 100 expected: world: ok number: 42 num2: 100 id: init_kwargs2-other2-kwargs2-expected2📌 Setup phase
duration:
0.00032312702387571335outcome:
passed📌 Call phase
duration:
0.0001546149142086506outcome:
passed📌 Teardown phase
duration:
0.00017563020810484886outcome:
passed -
✅ Test 91
params: init_kwargs={}, other=null, kwargs={"alpha": "beta"}, expected={"alpha": "beta"}📌 Runtime Parameters
params: init_kwargs: {} other: None kwargs: alpha: beta expected: alpha: beta id: init_kwargs3-None-kwargs3-expected3📌 Setup phase
duration:
0.0003094831481575966outcome:
passed📌 Call phase
duration:
0.00014400295913219452outcome:
passed📌 Teardown phase
duration:
0.00017812475562095642outcome:
passed -
✅ Test 92
params: init_kwargs={}, other={"key": "value"}, kwargs={"extra": 1}, expected={"key": "value", "extra": 1}📌 Runtime Parameters
params: init_kwargs: {} other: key: value kwargs: extra: 1 expected: key: value extra: 1 id: init_kwargs4-other4-kwargs4-expected4📌 Setup phase
duration:
0.0002971501089632511outcome:
passed📌 Call phase
duration:
0.00015953881666064262outcome:
passed📌 Teardown phase
duration:
0.00017058802768588066outcome:
passed -
✅ Test 93
params: init_kwargs={}, other="key", "value"], ["list", [5, 6], kwargs={"extra": {"subkey": 123}}, expected={"key": "value", "list": [5, 6], "extra": {"subkey": 123}}📌 Runtime Parameters
params: init_kwargs: {} other: - - key - value - - list - - 5 - 6 kwargs: extra: subkey: 123 expected: key: value list: - 5 - 6 extra: subkey: 123 id: init_kwargs5-other5-kwargs5-expected5📌 Setup phase
duration:
0.0003165821544826031outcome:
passed📌 Call phase
duration:
0.00029781926423311234outcome:
passed📌 Teardown phase
duration:
0.00017215916886925697outcome:
passed
-
-
📄 test_utils_dotdir.py
↳ Function: test_dotdir_creation_and_base_exists
-
✅ Test 94
📌 Setup phase
duration:
0.001630046870559454outcome:
passed📌 Call phase
duration:
0.0002812640741467476outcome:
passed📌 Teardown phase
duration:
0.00022228993475437164outcome:
passed
↳ Function: test_dotdir_repr_returns_path_str
-
✅ Test 95
📌 Setup phase
duration:
0.0006621992215514183outcome:
passed📌 Call phase
duration:
0.0002664760686457157outcome:
passed📌 Teardown phase
duration:
0.00020601507276296616outcome:
passed
↳ Function: test_dotdir_call
-
✅ Test 96
📌 Setup phase
duration:
0.0006719520315527916outcome:
passed📌 Call phase
duration:
0.00024812808260321617outcome:
passed📌 Teardown phase
duration:
0.00021727988496422768outcome:
passed
-
-
📄 test_utils_eval.py
↳ Function: test_arithmetic_eval_valid
-
✅ Test 97
params: expr="1 + 2", expected=3📌 Runtime Parameters
params: expr: 1 + 2 expected: 3 id: 1 + 2-3📌 Setup phase
duration:
0.0002562282606959343outcome:
passed📌 Call phase
duration:
0.0001995791681110859outcome:
passed📌 Teardown phase
duration:
0.00014801323413848877outcome:
passed -
✅ Test 98
params: expr="4 - 2", expected=2📌 Runtime Parameters
params: expr: 4 - 2 expected: 2 id: 4 - 2-2📌 Setup phase
duration:
0.00028330041095614433outcome:
passed📌 Call phase
duration:
0.0001729610376060009outcome:
passed📌 Teardown phase
duration:
0.00015544192865490913outcome:
passed -
✅ Test 99
params: expr="3 * 5", expected=15📌 Runtime Parameters
params: expr: 3 * 5 expected: 15 id: 3 * 5-15📌 Setup phase
duration:
0.00022556213662028313outcome:
passed📌 Call phase
duration:
0.0001665172167122364outcome:
passed📌 Teardown phase
duration:
0.0001789601519703865outcome:
passed -
✅ Test 100
params: expr="10 / 2", expected=5.0📌 Runtime Parameters
params: expr: 10 / 2 expected: 5.0 id: 10 / 2-5.0📌 Setup phase
duration:
0.00023357197642326355outcome:
passed📌 Call phase
duration:
0.000172504223883152outcome:
passed📌 Teardown phase
duration:
0.0001422632485628128outcome:
passed -
✅ Test 101
params: expr="10 % 3", expected=1📌 Runtime Parameters
params: expr: 10 % 3 expected: 1 id: 10 % 3-1📌 Setup phase
duration:
0.00022648880258202553outcome:
passed📌 Call phase
duration:
0.0001886887475848198outcome:
passed📌 Teardown phase
duration:
0.00014231400564312935outcome:
passed -
✅ Test 102
params: expr="-5", expected=-5📌 Runtime Parameters
params: expr: -5 expected: -5 id: -5--5📌 Setup phase
duration:
0.0002276962623000145outcome:
passed📌 Call phase
duration:
0.0001660119742155075outcome:
passed📌 Teardown phase
duration:
0.00015256181359291077outcome:
passed -
✅ Test 103
params: expr="+7", expected=7📌 Runtime Parameters
params: expr: +7 expected: 7 id: +7-7📌 Setup phase
duration:
0.00031155673786997795outcome:
passed📌 Call phase
duration:
0.00018085818737745285outcome:
passed📌 Teardown phase
duration:
0.0001652962528169155outcome:
passed -
✅ Test 104
params: expr="1 + 2 * 3", expected=7📌 Runtime Parameters
params: expr: 1 + 2 * 3 expected: 7 id: 1 + 2 * 3-7📌 Setup phase
duration:
0.00022843899205327034outcome:
passed📌 Call phase
duration:
0.00016644177958369255outcome:
passed📌 Teardown phase
duration:
0.00015144795179367065outcome:
passed -
✅ Test 105
params: expr="(1 + 2) * 3", expected=9📌 Runtime Parameters
params: expr: (1 + 2) * 3 expected: 9 id: (1 + 2) * 3-9📌 Setup phase
duration:
0.00022559193894267082outcome:
passed📌 Call phase
duration:
0.00019487878307700157outcome:
passed📌 Teardown phase
duration:
0.0001463061198592186outcome:
passed -
✅ Test 106
params: expr="-(-3)", expected=3📌 Runtime Parameters
params: expr: -(-3) expected: 3 id: -(-3)-3📌 Setup phase
duration:
0.00022342801094055176outcome:
passed📌 Call phase
duration:
0.00017543276771903038outcome:
passed📌 Teardown phase
duration:
0.00013788463547825813outcome:
passed -
✅ Test 107
params: expr="-2 + 4 * 2", expected=6📌 Runtime Parameters
params: expr: -2 + 4 * 2 expected: 6 id: -2 + 4 * 2-6📌 Setup phase
duration:
0.00024310685694217682outcome:
passed📌 Call phase
duration:
0.00017253495752811432outcome:
passed📌 Teardown phase
duration:
0.0001421426422894001outcome:
passed -
✅ Test 108
params: expr="(4 + 5) * (6 - 1)", expected=45📌 Runtime Parameters
params: expr: (4 + 5) * (6 - 1) expected: 45 id: (4 + 5) * (6 - 1)-45📌 Setup phase
duration:
0.0002446710132062435outcome:
passed📌 Call phase
duration:
0.00017378898337483406outcome:
passed📌 Teardown phase
duration:
0.0001427866518497467outcome:
passed -
✅ Test 109
params: expr="(((3)))", expected=3📌 Runtime Parameters
params: expr: (((3))) expected: 3 id: (((3)))-3📌 Setup phase
duration:
0.0002321307547390461outcome:
passed📌 Call phase
duration:
0.00015570176765322685outcome:
passed📌 Teardown phase
duration:
0.0001650969497859478outcome:
passed -
✅ Test 110
params: expr="-(-(-2))", expected=-2📌 Runtime Parameters
params: expr: -(-(-2)) expected: -2 id: -(-(-2))--2📌 Setup phase
duration:
0.00022523989900946617outcome:
passed📌 Call phase
duration:
0.00015730876475572586outcome:
passed📌 Teardown phase
duration:
0.00015471363440155983outcome:
passed -
✅ Test 111
params: expr="3 + +4", expected=7📌 Runtime Parameters
params: expr: 3 + +4 expected: 7 id: 3 + +4-7📌 Setup phase
duration:
0.00022711604833602905outcome:
passed📌 Call phase
duration:
0.00019945483654737473outcome:
passed📌 Teardown phase
duration:
0.00014819996431469917outcome:
passed -
✅ Test 112
params: expr="3 + -4", expected=-1📌 Runtime Parameters
params: expr: 3 + -4 expected: -1 id: 3 + -4--1📌 Setup phase
duration:
0.00023469189181923866outcome:
passed📌 Call phase
duration:
0.00016444409266114235outcome:
passed📌 Teardown phase
duration:
0.00014309817925095558outcome:
passed -
✅ Test 113
params: expr="True + 1", expected=2📌 Runtime Parameters
params: expr: True + 1 expected: 2 id: True + 1-2📌 Setup phase
duration:
0.0002664397470653057outcome:
passed📌 Call phase
duration:
0.00016476772725582123outcome:
passed📌 Teardown phase
duration:
0.0001392490230500698outcome:
passed -
✅ Test 114
params: expr="'string'", expected="string"📌 Runtime Parameters
params: expr: 'string' expected: string id: 'string'-string📌 Setup phase
duration:
0.00023419223725795746outcome:
passed📌 Call phase
duration:
0.00015290873125195503outcome:
passed📌 Teardown phase
duration:
0.0001508612185716629outcome:
passed -
✅ Test 115
params: expr="1e1000 * 1e1000", expected=Infinity📌 Runtime Parameters
params: expr: 1e1000 * 1e1000 expected: inf id: 1e1000 * 1e1000-inf📌 Setup phase
duration:
0.0002281409688293934outcome:
passed📌 Call phase
duration:
0.00015663588419556618outcome:
passed📌 Teardown phase
duration:
0.00015889806672930717outcome:
passed -
✅ Test 116
params: expr="'a' + 'b'", expected="ab"📌 Runtime Parameters
params: expr: 'a' + 'b' expected: ab id: 'a' + 'b'-ab📌 Setup phase
duration:
0.0002314629964530468outcome:
passed📌 Call phase
duration:
0.00015571387484669685outcome:
passed📌 Teardown phase
duration:
0.00014559784904122353outcome:
passed
↳ Function: test_arithmetic_eval_raises_with_message
-
✅ Test 117
params: expr="2 ** 3", expected_message="Unsupported BinOp Pow"📌 Runtime Parameters
params: expr: 2 ** 3 expected_message: Unsupported BinOp Pow id: 2 ** 3-Unsupported BinOp Pow📌 Setup phase
duration:
0.00021919002756476402outcome:
passed📌 Call phase
duration:
0.0005376199260354042outcome:
passed📌 Teardown phase
duration:
0.0001600608229637146outcome:
passed -
✅ Test 118
params: expr="3 << 1", expected_message="Unsupported BinOp LShift"📌 Runtime Parameters
params: expr: 3 << 1 expected_message: Unsupported BinOp LShift id: 3 << 1-Unsupported BinOp LShift📌 Setup phase
duration:
0.0002467446029186249outcome:
passed📌 Call phase
duration:
0.00037208711728453636outcome:
passed📌 Teardown phase
duration:
0.00015074806287884712outcome:
passed -
✅ Test 119
params: expr="1 < 2", expected_message="Unsupported node type Compare"📌 Runtime Parameters
params: expr: 1 < 2 expected_message: Unsupported node type Compare id: 1 < 2-Unsupported node type Compare📌 Setup phase
duration:
0.0002364390529692173outcome:
passed📌 Call phase
duration:
0.0004120832309126854outcome:
passed📌 Teardown phase
duration:
0.00015510711818933487outcome:
passed -
✅ Test 120
params: expr="abs(3)", expected_message="Unsupported node type Call"📌 Runtime Parameters
params: expr: abs(3) expected_message: Unsupported node type Call id: abs(3)-Unsupported node type Call📌 Setup phase
duration:
0.00024556228891015053outcome:
passed📌 Call phase
duration:
0.000359309371560812outcome:
passed📌 Teardown phase
duration:
0.00017701461911201477outcome:
passed -
✅ Test 121
params: expr="a + 2", expected_message="Unsupported node type Name"📌 Runtime Parameters
params: expr: a + 2 expected_message: Unsupported node type Name id: a + 2-Unsupported node type Name📌 Setup phase
duration:
0.0002320469357073307outcome:
passed📌 Call phase
duration:
0.00036948826164007187outcome:
passed📌 Teardown phase
duration:
0.00014676200225949287outcome:
passed -
✅ Test 122
params: expr="string", expected_message="Unsupported node type Name"📌 Runtime Parameters
params: expr: string expected_message: Unsupported node type Name id: string-Unsupported node type Name📌 Setup phase
duration:
0.00024437205865979195outcome:
passed📌 Call phase
duration:
0.00019439728930592537outcome:
passed📌 Teardown phase
duration:
0.0001431480050086975outcome:
passed -
✅ Test 123
params: expr="[1, 2] + [3]", expected_message="Unsupported node type List"📌 Runtime Parameters
params: expr: [1, 2] + [3] expected_message: Unsupported node type List id: [1, 2] + [3]-Unsupported node type List📌 Setup phase
duration:
0.0002465113066136837outcome:
passed📌 Call phase
duration:
0.00034801289439201355outcome:
passed📌 Teardown phase
duration:
0.00017770100384950638outcome:
passed -
✅ Test 124
params: expr="{1: 2}", expected_message="Unsupported node type Dict"📌 Runtime Parameters
params: expr: {1: 2} expected_message: Unsupported node type Dict id: {1: 2}-Unsupported node type Dict📌 Setup phase
duration:
0.0002386174164712429outcome:
passed📌 Call phase
duration:
0.00037029292434453964outcome:
passed📌 Teardown phase
duration:
0.00014599226415157318outcome:
passed
↳ Function: test_arithmetic_eval_runtime_errors
-
✅ Test 125
params: expr="1 / 0", exception=""📌 Runtime Parameters
params: expr: 1 / 0 exception: <class 'ZeroDivisionError'> id: 1 / 0-ZeroDivisionError📌 Setup phase
duration:
0.00024640606716275215outcome:
passed📌 Call phase
duration:
0.0001881602220237255outcome:
passed📌 Teardown phase
duration:
0.0001432490535080433outcome:
passed -
✅ Test 126
params: expr="10 % 0", exception=""📌 Runtime Parameters
params: expr: 10 % 0 exception: <class 'ZeroDivisionError'> id: 10 % 0-ZeroDivisionError📌 Setup phase
duration:
0.0002430691383779049outcome:
passed📌 Call phase
duration:
0.00017371494323015213outcome:
passed📌 Teardown phase
duration:
0.00013629300519824028outcome:
passed
↳ Function: test_forgiving_eval
-
✅ Test 127
params: expr="1 + 2", expected=3📌 Runtime Parameters
params: expr: 1 + 2 expected: 3 id: 1 + 2-3📌 Setup phase
duration:
0.00023819785565137863outcome:
passed📌 Call phase
duration:
0.00016257818788290024outcome:
passed📌 Teardown phase
duration:
0.00015265913680195808outcome:
passed -
✅ Test 128
params: expr="bad + 2", expected="bad + 2"📌 Runtime Parameters
params: expr: bad + 2 expected: bad + 2 id: bad + 2-bad + 2📌 Setup phase
duration:
0.0002284361980855465outcome:
passed📌 Call phase
duration:
0.00016660522669553757outcome:
passed📌 Teardown phase
duration:
0.00015133293345570564outcome:
passed -
✅ Test 129
params: expr="1 / 0", expected="1 / 0"📌 Runtime Parameters
params: expr: 1 / 0 expected: 1 / 0 id: 1 / 0-1 / 0📌 Setup phase
duration:
0.00022350484505295753outcome:
passed📌 Call phase
duration:
0.00019498495385050774outcome:
passed📌 Teardown phase
duration:
0.00014365185052156448outcome:
passed -
✅ Test 130
params: expr="2 ** 10", expected="2 ** 10"📌 Runtime Parameters
params: expr: 2 ** 10 expected: 2 ** 10 id: 2 ** 10-2 ** 10📌 Setup phase
duration:
0.00021365098655223846outcome:
passed📌 Call phase
duration:
0.00018119998276233673outcome:
passed📌 Teardown phase
duration:
0.00013944320380687714outcome:
passed
↳ Function: test_defaulting_eval
-
✅ Test 131
params: expr="3 * 4", default=0, expected=12📌 Runtime Parameters
params: expr: 3 * 4 default: 0 expected: 12 id: 3 * 4-0-12📌 Setup phase
duration:
0.0003059930168092251outcome:
passed📌 Call phase
duration:
0.00016511371359229088outcome:
passed📌 Teardown phase
duration:
0.0001545189879834652outcome:
passed -
✅ Test 132
params: expr="invalid + 1", default=99, expected=99📌 Runtime Parameters
params: expr: invalid + 1 default: 99 expected: 99 id: invalid + 1-99-99📌 Setup phase
duration:
0.00029289769008755684outcome:
passed📌 Call phase
duration:
0.0001643807627260685outcome:
passed📌 Teardown phase
duration:
0.00016592582687735558outcome:
passed -
✅ Test 133
params: expr="1 / 0", default=-1, expected=-1📌 Runtime Parameters
params: expr: 1 / 0 default: -1 expected: -1 id: 1 / 0--1--1📌 Setup phase
duration:
0.000259466003626585outcome:
passed📌 Call phase
duration:
0.0001627868041396141outcome:
passed📌 Teardown phase
duration:
0.00016445573419332504outcome:
passed -
✅ Test 134
params: expr="2 ** 10", default=42, expected=42📌 Runtime Parameters
params: expr: 2 ** 10 default: 42 expected: 42 id: 2 ** 10-42-42📌 Setup phase
duration:
0.00026620784774422646outcome:
passed📌 Call phase
duration:
0.0001783459447324276outcome:
passed📌 Teardown phase
duration:
0.000164862722158432outcome:
passed
-
-
📄 test_utils_exceptions.py
↳ Function: test_chained_exception_various
-
✅ Test 135
params: func="", expected_output="High-level task failed\ncaused by KeyError: 'missing'"📌 Runtime Parameters
params: func: <function cause_key_error at 0x7f6872f7d310> expected_output: High-level task failed caused by KeyError: 'missing' id: cause_key_error-High-level task failed\ncaused by KeyError: 'missing'📌 Setup phase
duration:
0.0002754400484263897outcome:
passed📌 Call phase
duration:
0.00016811536625027657outcome:
passed📌 Teardown phase
duration:
0.00015035690739750862outcome:
passed -
✅ Test 136
params: func="", expected_output="High-level task failed\ncaused by IndexError: list index out of range"📌 Runtime Parameters
params: func: <function cause_index_error at 0x7f6872f7d3a0> expected_output: High-level task failed caused by IndexError: list index out of range id: cause_index_error-High-level task failed\ncaused by IndexError: list index out of range📌 Setup phase
duration:
0.00023738015443086624outcome:
passed📌 Call phase
duration:
0.00014951592311263084outcome:
passed📌 Teardown phase
duration:
0.0001493571326136589outcome:
passed -
✅ Test 137
params: func="", expected_output="High-level task failed\ncaused by ZeroDivisionError: division by zero"📌 Runtime Parameters
params: func: <function cause_zero_division at 0x7f6872f7d430> expected_output: High-level task failed caused by ZeroDivisionError: division by zero id: cause_zero_division-High-level task failed\ncaused by ZeroDivisionError: division by zero📌 Setup phase
duration:
0.00023030303418636322outcome:
passed📌 Call phase
duration:
0.00015087006613612175outcome:
passed📌 Teardown phase
duration:
0.00018322840332984924outcome:
passed -
✅ Test 138
params: func="", expected_output="High-level task failed\ncaused by ValueError: invalid literal for int() with base 10: 'not_a_number'"📌 Runtime Parameters
params: func: <function cause_value_error at 0x7f6872f7d4c0> expected_output: High-level task failed caused by ValueError: invalid literal for int() with base 10: 'not_a_number' id: cause_value_error-High-level task failed\ncaused by ValueError: invalid literal for int() with base 10: 'not_a_number'📌 Setup phase
duration:
0.00022765016183257103outcome:
passed📌 Call phase
duration:
0.00015971669927239418outcome:
passed📌 Teardown phase
duration:
0.0001553008332848549outcome:
passed -
✅ Test 139
params: func="", expected_output="High-level task failed\ncaused by TypeError: can only concatenate str (not \"int\") to str"📌 Runtime Parameters
params: func: <function cause_type_error at 0x7f6872f7d550> expected_output: High-level task failed caused by TypeError: can only concatenate str (not "int") to str id: cause_type_error-High-level task failed\ncaused by TypeError: can only concatenate str (not "int") to str📌 Setup phase
duration:
0.00022726645693182945outcome:
passed📌 Call phase
duration:
0.0001764809712767601outcome:
passed📌 Teardown phase
duration:
0.00014003319665789604outcome:
passed
↳ Function: test_printed_exception
-
✅ Test 140
params: func="", expected_output="KeyError: 'missing'"📌 Runtime Parameters
params: func: <function cause_key_error at 0x7f6872f7d310> expected_output: KeyError: 'missing' id: cause_key_error-KeyError: 'missing'📌 Setup phase
duration:
0.0009080423042178154outcome:
passed📌 Call phase
duration:
0.0010667252354323864outcome:
passed📌 Teardown phase
duration:
0.00047794077545404434outcome:
passed -
✅ Test 141
params: func="", expected_output="IndexError: list index out of range"📌 Runtime Parameters
params: func: <function cause_index_error at 0x7f6872f7d3a0> expected_output: IndexError: list index out of range id: cause_index_error-IndexError: list index out of range📌 Setup phase
duration:
0.0006289659067988396outcome:
passed📌 Call phase
duration:
0.0010218489915132523outcome:
passed📌 Teardown phase
duration:
0.000493842177093029outcome:
passed -
✅ Test 142
params: func="", expected_output="ZeroDivisionError: division by zero"📌 Runtime Parameters
params: func: <function cause_zero_division at 0x7f6872f7d430> expected_output: ZeroDivisionError: division by zero id: cause_zero_division-ZeroDivisionError: division by zero📌 Setup phase
duration:
0.0006112139672040939outcome:
passed📌 Call phase
duration:
0.0008295383304357529outcome:
passed📌 Teardown phase
duration:
0.000470863189548254outcome:
passed -
✅ Test 143
params: func="", expected_output="ValueError: invalid literal for int() with base 10: 'not_a_number'"📌 Runtime Parameters
params: func: <function cause_value_error at 0x7f6872f7d4c0> expected_output: ValueError: invalid literal for int() with base 10: 'not_a_number' id: cause_value_error-ValueError: invalid literal for int() with base 10: 'not_a_number'📌 Setup phase
duration:
0.0005804398097097874outcome:
passed📌 Call phase
duration:
0.0008449489250779152outcome:
passed📌 Teardown phase
duration:
0.00042980024591088295outcome:
passed -
✅ Test 144
params: func="", expected_output="TypeError: can only concatenate str (not \"int\") to str"📌 Runtime Parameters
params: func: <function cause_type_error at 0x7f6872f7d550> expected_output: TypeError: can only concatenate str (not "int") to str id: cause_type_error-TypeError: can only concatenate str (not "int") to str📌 Setup phase
duration:
0.0006149751134216785outcome:
passed📌 Call phase
duration:
0.0008582831360399723outcome:
passed📌 Teardown phase
duration:
0.0004861378110945225outcome:
passed
-
-
📄 test_utils_get_adj.py
↳ Function: test_get_adj_not_found
-
✅ Test 146
📌 Setup phase
duration:
0.000547126866877079outcome:
passed📌 Call phase
duration:
0.0009719319641590118outcome:
passed📌 Teardown phase
duration:
0.0004011867567896843outcome:
passed
-
-
📄 test_utils_jsonext.py
↳ Function: test_json_validate_save_load
-
✅ Test 149
params: input_obj="[1 2 3]", expected=[1, 2, 3]📌 Runtime Parameters
params: input_obj: [1 2 3] expected: - 1 - 2 - 3 id: input_obj0-expected0📌 Setup phase
duration:
0.000788519624620676outcome:
passed📌 Call phase
duration:
0.00048222625628113747outcome:
passed📌 Teardown phase
duration:
0.00019723409786820412outcome:
passed -
✅ Test 150
params: input_obj="42", expected=42📌 Runtime Parameters
params: input_obj: 42 expected: 42 id: input_obj1-42📌 Setup phase
duration:
0.0006984006613492966outcome:
passed📌 Call phase
duration:
0.0004001636989414692outcome:
passed📌 Teardown phase
duration:
0.00018500909209251404outcome:
passed -
✅ Test 151
params: input_obj="(1-1j)", expected={"real": 1.0, "imag": -1.0}📌 Runtime Parameters
params: input_obj: (1-1j) expected: real: 1.0 imag: -1.0 id: (1-1j)-expected2📌 Setup phase
duration:
0.0006117289885878563outcome:
passed📌 Call phase
duration:
0.00040449807420372963outcome:
passed📌 Teardown phase
duration:
0.00018622400239109993outcome:
passed -
✅ Test 152
params: input_obj="/tmp/file.txt", expected="/tmp/file.txt"📌 Runtime Parameters
params: input_obj: /tmp/file.txt expected: /tmp/file.txt id: input_obj3-/tmp/file.txt📌 Setup phase
duration:
0.0006444994360208511outcome:
passed📌 Call phase
duration:
0.0003642006777226925outcome:
passed📌 Teardown phase
duration:
0.0001992369070649147outcome:
passed -
✅ Test 153
params: input_obj="{1, 2, 3}", expected=[1, 2, 3]📌 Runtime Parameters
params: input_obj: {1, 2, 3} expected: - 1 - 2 - 3 id: input_obj4-expected4📌 Setup phase
duration:
0.0006201141513884068outcome:
passed📌 Call phase
duration:
0.00038652075454592705outcome:
passed📌 Teardown phase
duration:
0.0002088877372443676outcome:
passed -
✅ Test 154
params: input_obj="{'a': array([10, 20])}", expected={"a": [10, 20]}📌 Runtime Parameters
params: input_obj: {'a': array([10, 20])} expected: a: - 10 - 20 id: input_obj5-expected5📌 Setup phase
duration:
0.0006012702360749245outcome:
passed📌 Call phase
duration:
0.000386945903301239outcome:
passed📌 Teardown phase
duration:
0.00021220603957772255outcome:
passed -
✅ Test 155
params: input_obj="{'c': (2+3j)}", expected={"c": {"real": 2.0, "imag": 3.0}}📌 Runtime Parameters
params: input_obj: {'c': (2+3j)} expected: c: real: 2.0 imag: 3.0 id: input_obj6-expected6📌 Setup phase
duration:
0.0006747869774699211outcome:
passed📌 Call phase
duration:
0.0004054587334394455outcome:
passed📌 Teardown phase
duration:
0.00020952196791768074outcome:
passed -
✅ Test 156
params: input_obj="{'nested': {'arr': array(10, 20],\n [30, 40), 'complex_num': (-1+5j), 'files': [PosixPath('/file1'), PosixPath('/file2')], 'set_values': {200, 100}, 'inner': {'num': 7}}}", expected={"nested": {"arr": 10, 20], [30, 40, "complex_num": {"real": -1.0, "imag": 5.0}, "files": ["/file1", "/file2"], "set_values": [100, 200], "inner": {"num": 7}}}📌 Runtime Parameters
params: input_obj: {'nested': {'arr': array([[10, 20], [30, 40]]), 'complex_num': (-1+5j), 'files': [PosixPath('/file1'), PosixPath('/file2')], 'set_values': {200, 100}, 'inner': {'num': 7}}} expected: nested: arr: - - 10 - 20 - - 30 - 40 complex_num: real: -1.0 imag: 5.0 files: - /file1 - /file2 set_values: - 100 - 200 inner: num: 7 id: input_obj7-expected7📌 Setup phase
duration:
0.0006298101507127285outcome:
passed📌 Call phase
duration:
0.0005641481839120388outcome:
passed📌 Teardown phase
duration:
0.0001988760195672512outcome:
passed
-
-
📄 test_utils_lazypv.py
↳ Function: test_getattr
-
✅ Test 157
📌 Setup phase
duration:
0.00014117732644081116outcome:
passed📌 Call phase
duration:
0.09950611786916852outcome:
passed📌 Teardown phase
duration:
0.0005437699146568775outcome:
passed
-
-
📄 test_utils_logcfg.py
↳ Function: test_custom_log_outputs
-
✅ Test 158
params: levelname="LONG", logfunc=" at 0x7f686bba89d0>", message="This is a LONG message"📌 Runtime Parameters
params: levelname: LONG logfunc: <function <lambda> at 0x7f686bba89d0> message: This is a LONG message id: LONG-<lambda>-This is a LONG message📌 Setup phase
duration:
0.0023588412441313267outcome:
passed📌 Call phase
duration:
0.0009821802377700806outcome:
passed📌 Teardown phase
duration:
0.00028109876438975334outcome:
passed -
✅ Test 159
params: levelname="ENLARGE", logfunc=" at 0x7f686bba8a60>", message="Please ENLARGE this!"📌 Runtime Parameters
params: levelname: ENLARGE logfunc: <function <lambda> at 0x7f686bba8a60> message: Please ENLARGE this! id: ENLARGE-<lambda>-Please ENLARGE this!📌 Setup phase
duration:
0.0004322580061852932outcome:
passed📌 Call phase
duration:
0.00041132885962724686outcome:
passed📌 Teardown phase
duration:
0.00023201806470751762outcome:
passed
-
-
📄 test_utils_logign.py
↳ Function: test_ignore_log_msg_behavior
-
✅ Test 161
params: levelname="WARNING", msg_to_ignore="This should be ignored", msg_to_keep="This should appear"📌 Runtime Parameters
params: levelname: WARNING msg_to_ignore: This should be ignored msg_to_keep: This should appear id: WARNING-This should be ignored-This should appear📌 Setup phase
duration:
0.0006631026044487953outcome:
passed📌 Call phase
duration:
0.000933357048779726outcome:
passed📌 Teardown phase
duration:
0.00025829486548900604outcome:
passed -
✅ Test 162
params: levelname="ENLARGE", msg_to_ignore="ENLARGE this", msg_to_keep="Keep this ENLARGE"📌 Runtime Parameters
params: levelname: ENLARGE msg_to_ignore: ENLARGE this msg_to_keep: Keep this ENLARGE id: ENLARGE-ENLARGE this-Keep this ENLARGE📌 Setup phase
duration:
0.0004305429756641388outcome:
passed📌 Call phase
duration:
0.0005236510187387466outcome:
passed📌 Teardown phase
duration:
0.00024042511358857155outcome:
passed
↳ Function: test_ignore_only_by_level
-
✅ Test 163
📌 Setup phase
duration:
0.00023436080664396286outcome:
passed📌 Call phase
duration:
0.0004065250977873802outcome:
passed📌 Teardown phase
duration:
0.00017809681594371796outcome:
passed
↳ Function: test_ignore_only_by_msg
-
✅ Test 164
📌 Setup phase
duration:
0.00027235131710767746outcome:
passed📌 Call phase
duration:
0.0003732219338417053outcome:
passed📌 Teardown phase
duration:
0.00017904117703437805outcome:
passed
↳ Function: test_filter_removed_after_context
-
✅ Test 165
📌 Setup phase
duration:
0.00023677106946706772outcome:
passed📌 Call phase
duration:
0.00038847001269459724outcome:
passed📌 Teardown phase
duration:
0.0001766919158399105outcome:
passed
-
-
📄 test_utils_metaclasses.py
↳ Function: test_combine_classes_combines_methods
-
✅ Test 166
📌 Setup phase
duration:
0.00014739995822310448outcome:
passed📌 Call phase
duration:
0.0002305787056684494outcome:
passed📌 Teardown phase
duration:
0.00010612979531288147outcome:
passed
↳ Function: test_registryabc_combines_registrymeta_and_abcmeta
-
✅ Test 167
📌 Setup phase
duration:
0.00011310819536447525outcome:
passed📌 Call phase
duration:
0.005366522818803787outcome:
passed📌 Teardown phase
duration:
0.0001321430318057537outcome:
passed
-
-
📄 test_utils_npy.py
↳ Function: test_nice_arange
-
✅ Test 168
params: start=0, stop=5, step=1, expected="[0. 1. 2. 3. 4. 5.]"📌 Runtime Parameters
params: start: 0 stop: 5 step: 1 expected: [0. 1. 2. 3. 4. 5.] id: 0-5-1-expected0📌 Setup phase
duration:
0.00038758479058742523outcome:
passed📌 Call phase
duration:
0.022281373851001263outcome:
passed📌 Teardown phase
duration:
0.00023789005354046822outcome:
passed -
✅ Test 170
params: start=1, stop=2, step=0.3, expected="[1. 1.33333333 1.66666667 2. ]"📌 Runtime Parameters
params: start: 1 stop: 2 step: 0.3 expected: [1. 1.33333333 1.66666667 2. ] id: 1-2-0.3-expected2📌 Setup phase
duration:
0.00036273663863539696outcome:
passed📌 Call phase
duration:
0.00042756088078022003outcome:
passed📌 Teardown phase
duration:
0.00019712699577212334outcome:
passed
↳ Function: test_nice_linspace
-
✅ Test 173
params: start=0, stop=10, num=4, expected="[ 0. 2.5 5. 7.5 10. ]"📌 Runtime Parameters
params: start: 0 stop: 10 num: 4 expected: [ 0. 2.5 5. 7.5 10. ] id: 0-10-4-expected0📌 Setup phase
duration:
0.0003851698711514473outcome:
passed📌 Call phase
duration:
0.0004340857267379761outcome:
passed📌 Teardown phase
duration:
0.00019221007823944092outcome:
passed -
✅ Test 174
params: start=5, stop=15, num=2, expected="[ 5. 10. 15.]"📌 Runtime Parameters
params: start: 5 stop: 15 num: 2 expected: [ 5. 10. 15.] id: 5-15-2-expected1📌 Setup phase
duration:
0.00032438989728689194outcome:
passed📌 Call phase
duration:
0.0003678589127957821outcome:
passed📌 Teardown phase
duration:
0.0001832917332649231outcome:
passed -
✅ Test 175
params: start=-5, stop=5, num=4, expected="[-5. -2.5 0. 2.5 5. ]"📌 Runtime Parameters
params: start: -5 stop: 5 num: 4 expected: [-5. -2.5 0. 2.5 5. ] id: -5-5-4-expected2📌 Setup phase
duration:
0.00034966040402650833outcome:
passed📌 Call phase
duration:
0.0003297426737844944outcome:
passed📌 Teardown phase
duration:
0.00020083505660295486outcome:
passed -
✅ Test 176
params: start=0, stop=1, num=3, expected="[0. 0.33333333 0.66666667 1. ]"📌 Runtime Parameters
params: start: 0 stop: 1 num: 3 expected: [0. 0.33333333 0.66666667 1. ] id: 0-1-3-expected3📌 Setup phase
duration:
0.00033826520666480064outcome:
passed📌 Call phase
duration:
0.0003306991420686245outcome:
passed📌 Teardown phase
duration:
0.00020585162565112114outcome:
passed -
✅ Test 177
params: start=2, stop=2, num=3, expected="[2. 2. 2. 2.]"📌 Runtime Parameters
params: start: 2 stop: 2 num: 3 expected: [2. 2. 2. 2.] id: 2-2-3-expected4📌 Setup phase
duration:
0.00032341573387384415outcome:
passed📌 Call phase
duration:
0.00035177310928702354outcome:
passed📌 Teardown phase
duration:
0.00018081720918416977outcome:
passed -
✅ Test 178
params: start=3, stop=0, num=3, expected="[3. 2. 1. 0.]"📌 Runtime Parameters
params: start: 3 stop: 0 num: 3 expected: [3. 2. 1. 0.] id: 3-0-3-expected5📌 Setup phase
duration:
0.00034342799335718155outcome:
passed📌 Call phase
duration:
0.00033185118809342384outcome:
passed📌 Teardown phase
duration:
0.00019580591470003128outcome:
passed -
✅ Test 179
params: start=0, stop=1, num=0, expected="[0.]"📌 Runtime Parameters
params: start: 0 stop: 1 num: 0 expected: [0.] id: 0-1-0-expected6📌 Setup phase
duration:
0.00033484073355793953outcome:
passed📌 Call phase
duration:
0.00037395209074020386outcome:
passed📌 Teardown phase
duration:
0.00017953524366021156outcome:
passed
↳ Function: test_nice_steps_centered
-
✅ Test 180
params: start=-2, stop=2, step=2, endpoint=true, expected="[-2. 0. 2.]"📌 Runtime Parameters
params: start: -2 stop: 2 step: 2 endpoint: True expected: [-2. 0. 2.] id: -2-2-2-True-expected0📌 Setup phase
duration:
0.00038409605622291565outcome:
passed📌 Call phase
duration:
0.0004056459292769432outcome:
passed📌 Teardown phase
duration:
0.00019378773868083954outcome:
passed -
✅ Test 181
params: start=0, stop=5, step=2, endpoint=true, expected="[0. 2. 4.]"📌 Runtime Parameters
params: start: 0 stop: 5 step: 2 endpoint: True expected: [0. 2. 4.] id: 0-5-2-True-expected1📌 Setup phase
duration:
0.00038279686123132706outcome:
passed📌 Call phase
duration:
0.0003256681375205517outcome:
passed📌 Teardown phase
duration:
0.00020280014723539352outcome:
passed -
✅ Test 182
params: start=0, stop=5, step=2, endpoint=false, expected="[0. 2.]"📌 Runtime Parameters
params: start: 0 stop: 5 step: 2 endpoint: False expected: [0. 2.] id: 0-5-2-False-expected2📌 Setup phase
duration:
0.0004394659772515297outcome:
passed📌 Call phase
duration:
0.00037904689088463783outcome:
passed📌 Teardown phase
duration:
0.00020975386723876outcome:
passed -
✅ Test 183
params: start=-1, stop=2, step=1.5, endpoint=true, expected="[-1.5 0. 1.5]"📌 Runtime Parameters
params: start: -1 stop: 2 step: 1.5 endpoint: True expected: [-1.5 0. 1.5] id: -1-2-1.5-True-expected3📌 Setup phase
duration:
0.00038100266829133034outcome:
passed📌 Call phase
duration:
0.0003548143431544304outcome:
passed📌 Teardown phase
duration:
0.00021354807540774345outcome:
passed
↳ Function: test_nice_steps_left_aligned
-
✅ Test 186
params: start=-1, stop=2, step=1.5, endpoint=true, expected="[-1. 0.5 2. ]"📌 Runtime Parameters
params: start: -1 stop: 2 step: 1.5 endpoint: True expected: [-1. 0.5 2. ] id: -1-2-1.5-True-expected2📌 Setup phase
duration:
0.0003827633336186409outcome:
passed📌 Call phase
duration:
0.00036051124334335327outcome:
passed📌 Teardown phase
duration:
0.00020935991778969765outcome:
passed -
✅ Test 187
params: start=-1, stop=2, step=1.5, endpoint=false, expected="[-1. 0.5]"📌 Runtime Parameters
params: start: -1 stop: 2 step: 1.5 endpoint: False expected: [-1. 0.5] id: -1-2-1.5-False-expected3📌 Setup phase
duration:
0.00038465484976768494outcome:
passed📌 Call phase
duration:
0.0003268830478191376outcome:
passed📌 Teardown phase
duration:
0.00020541390404105186outcome:
passed
↳ Function: test_within_scalar
-
✅ Test 198
params: val=5, vmin=0, vmax=10, expected=true📌 Runtime Parameters
params: val: 5 vmin: 0 vmax: 10 expected: True id: 5-0-10-True📌 Setup phase
duration:
0.00038531888276338577outcome:
passed📌 Call phase
duration:
0.00016095489263534546outcome:
passed📌 Teardown phase
duration:
0.00017157196998596191outcome:
passed -
✅ Test 199
params: val=5, vmin=6, vmax=10, expected=false📌 Runtime Parameters
params: val: 5 vmin: 6 vmax: 10 expected: False id: 5-6-10-False📌 Setup phase
duration:
0.00032908329740166664outcome:
passed📌 Call phase
duration:
0.00014545023441314697outcome:
passed📌 Teardown phase
duration:
0.00017004506662487984outcome:
passed -
✅ Test 200
params: val=5, vmin=null, vmax=10, expected=true📌 Runtime Parameters
params: val: 5 vmin: None vmax: 10 expected: True id: 5-None-10-True📌 Setup phase
duration:
0.0003122049383819103outcome:
passed📌 Call phase
duration:
0.0001538270153105259outcome:
passed📌 Teardown phase
duration:
0.00016683386638760567outcome:
passed -
✅ Test 201
params: val=5, vmin=0, vmax=null, expected=true📌 Runtime Parameters
params: val: 5 vmin: 0 vmax: None expected: True id: 5-0-None-True📌 Setup phase
duration:
0.0003189533017575741outcome:
passed📌 Call phase
duration:
0.00014123786240816116outcome:
passed📌 Teardown phase
duration:
0.00016700103878974915outcome:
passed -
✅ Test 202
params: val=5, vmin=null, vmax=null, expected=true📌 Runtime Parameters
params: val: 5 vmin: None vmax: None expected: True id: 5-None-None-True📌 Setup phase
duration:
0.0003011319786310196outcome:
passed📌 Call phase
duration:
0.0001351865939795971outcome:
passed📌 Teardown phase
duration:
0.0001918366178870201outcome:
passed
↳ Function: test_within_fraction
-
✅ Test 203
params: data=[1, 2, 3, 4, 5], vmin=2, vmax=5, expected=0.6📌 Runtime Parameters
params: data: - 1 - 2 - 3 - 4 - 5 vmin: 2 vmax: 5 expected: 0.6 id: data0-2-5-0.6📌 Setup phase
duration:
0.00031576724722981453outcome:
passed📌 Call phase
duration:
0.000388462096452713outcome:
passed📌 Teardown phase
duration:
0.0001801210455596447outcome:
passed -
✅ Test 204
params: data=[10, 20, 30], vmin=5, vmax=25, expected=0.6666666666666666📌 Runtime Parameters
params: data: - 10 - 20 - 30 vmin: 5 vmax: 25 expected: 0.6666666666666666 id: data1-5-25-0.6666666666666666📌 Setup phase
duration:
0.0003466987982392311outcome:
passed📌 Call phase
duration:
0.00026963092386722565outcome:
passed📌 Teardown phase
duration:
0.00017966609448194504outcome:
passed -
✅ Test 205
params: data=[1, 2, 3], vmin=null, vmax=2, expected=0.3333333333333333📌 Runtime Parameters
params: data: - 1 - 2 - 3 vmin: None vmax: 2 expected: 0.3333333333333333 id: data2-None-2-0.3333333333333333📌 Setup phase
duration:
0.0003150077536702156outcome:
passed📌 Call phase
duration:
0.00024686194956302643outcome:
passed📌 Teardown phase
duration:
0.00018077390268445015outcome:
passed -
✅ Test 206
params: data=[], vmin=0, vmax=1, expected=0📌 Runtime Parameters
params: data: [] vmin: 0 vmax: 1 expected: 0 id: data3-0-1-0📌 Setup phase
duration:
0.0003243819810450077outcome:
passed📌 Call phase
duration:
0.00025062309578061104outcome:
passed📌 Teardown phase
duration:
0.00017779506742954254outcome:
passed
↳ Function: test_fraction_to_percentage
-
✅ Test 207
params: fraction=0.456, ndigits=1, expected=45.6📌 Runtime Parameters
params: fraction: 0.456 ndigits: 1 expected: 45.6 id: 0.456-1-45.6📌 Setup phase
duration:
0.0002897786907851696outcome:
passed📌 Call phase
duration:
0.00015572598204016685outcome:
passed📌 Teardown phase
duration:
0.00016308017075061798outcome:
passed -
✅ Test 208
params: fraction=0.12345, ndigits=2, expected=12.35📌 Runtime Parameters
params: fraction: 0.12345 ndigits: 2 expected: 12.35 id: 0.12345-2-12.35📌 Setup phase
duration:
0.0002702777273952961outcome:
passed📌 Call phase
duration:
0.00014444999396800995outcome:
passed📌 Teardown phase
duration:
0.00015401281416416168outcome:
passed -
✅ Test 209
params: fraction=0.9999, ndigits=0, expected=100.0📌 Runtime Parameters
params: fraction: 0.9999 ndigits: 0 expected: 100.0 id: 0.9999-0-100.0📌 Setup phase
duration:
0.0002523353323340416outcome:
passed📌 Call phase
duration:
0.00014572497457265854outcome:
passed📌 Teardown phase
duration:
0.0001548677682876587outcome:
passed
↳ Function: test_get_dtype
-
✅ Test 210
params: val="[1 2 3]", expected=""📌 Runtime Parameters
params: val: [1 2 3] expected: <class 'numpy.ndarray'> id: val0-ndarray📌 Setup phase
duration:
0.00022754399105906487outcome:
passed📌 Call phase
duration:
0.00015341490507125854outcome:
passed📌 Teardown phase
duration:
0.00015245936810970306outcome:
passed -
✅ Test 211
params: val=[1, 2, 3], expected=""📌 Runtime Parameters
params: val: - 1 - 2 - 3 expected: <class 'list'> id: val1-list📌 Setup phase
duration:
0.00025138072669506073outcome:
passed📌 Call phase
duration:
0.00014015194028615952outcome:
passed📌 Teardown phase
duration:
0.00013946881517767906outcome:
passed -
✅ Test 212
params: val=3.14, expected=""📌 Runtime Parameters
params: val: 3.14 expected: <class 'float'> id: 3.14-float📌 Setup phase
duration:
0.0002237376756966114outcome:
passed📌 Call phase
duration:
0.0001375209540128708outcome:
passed📌 Teardown phase
duration:
0.0001572621986269951outcome:
passed
↳ Function: test_get_shape
-
✅ Test 213
params: val="1 2]\n [3 4", expected=[2, 2]📌 Runtime Parameters
params: val: [[1 2] [3 4]] expected: - 2 - 2 id: val0-expected0📌 Setup phase
duration:
0.0002255248837172985outcome:
passed📌 Call phase
duration:
0.00013992004096508026outcome:
passed📌 Teardown phase
duration:
0.00015866989269852638outcome:
passed -
✅ Test 214
params: val=[1, 2, 3], expected=[]📌 Runtime Parameters
params: val: - 1 - 2 - 3 expected: [] id: val1-expected1📌 Setup phase
duration:
0.000241096131503582outcome:
passed📌 Call phase
duration:
0.0001503261737525463outcome:
passed📌 Teardown phase
duration:
0.00013756798580288887outcome:
passed -
✅ Test 215
params: val=42, expected=[]📌 Runtime Parameters
params: val: 42 expected: [] id: 42-expected2📌 Setup phase
duration:
0.00021151360124349594outcome:
passed📌 Call phase
duration:
0.00015287334099411964outcome:
passed📌 Teardown phase
duration:
0.00014060596004128456outcome:
passed
↳ Function: test_is_array
-
✅ Test 216
params: val="[1 2 3]", expected=true📌 Runtime Parameters
params: val: [1 2 3] expected: True id: val0-True📌 Setup phase
duration:
0.00022367434576153755outcome:
passed📌 Call phase
duration:
0.00013427669182419777outcome:
passed📌 Teardown phase
duration:
0.00015485798940062523outcome:
passed -
✅ Test 217
params: val=[1, 2, 3], expected=false📌 Runtime Parameters
params: val: - 1 - 2 - 3 expected: False id: val1-False📌 Setup phase
duration:
0.0002501648850739002outcome:
passed📌 Call phase
duration:
0.00014108186587691307outcome:
passed📌 Teardown phase
duration:
0.00013769324868917465outcome:
passed -
✅ Test 218
params: val=42, expected=false📌 Runtime Parameters
params: val: 42 expected: False id: 42-False📌 Setup phase
duration:
0.00023420201614499092outcome:
passed📌 Call phase
duration:
0.00013756705448031425outcome:
passed📌 Teardown phase
duration:
0.0001547480933368206outcome:
passed
-
-
📄 test_utils_picklio.py
↳ Function: test_pickle_and_unpickle
-
✅ Test 219
params: test_obj={"a": 1, "b": [2, 3], "c": {"world": "ok"}}📌 Runtime Parameters
params: test_obj: a: 1 b: - 2 - 3 c: world: ok id: test_obj0📌 Setup phase
duration:
0.0008930140174925327outcome:
passed📌 Call phase
duration:
0.000458285678178072outcome:
passed📌 Teardown phase
duration:
0.00017418107017874718outcome:
passed -
✅ Test 220
params: test_obj=[1, 2, 3, 4, 5]📌 Runtime Parameters
params: test_obj: - 1 - 2 - 3 - 4 - 5 id: test_obj1📌 Setup phase
duration:
0.0006135329604148865outcome:
passed📌 Call phase
duration:
0.0003315596841275692outcome:
passed📌 Teardown phase
duration:
0.00018435390666127205outcome:
passed -
✅ Test 221
params: test_obj="simple string"📌 Runtime Parameters
params: test_obj: simple string id: simple string📌 Setup phase
duration:
0.0005827620625495911outcome:
passed📌 Call phase
duration:
0.00032108603045344353outcome:
passed📌 Teardown phase
duration:
0.0001609213650226593outcome:
passed -
✅ Test 222
params: test_obj=42📌 Runtime Parameters
params: test_obj: 42 id: 42📌 Setup phase
duration:
0.0006615510210394859outcome:
passed📌 Call phase
duration:
0.0003129602409899235outcome:
passed📌 Teardown phase
duration:
0.0001656799577176571outcome:
passed -
✅ Test 223
params: test_obj=3.14159📌 Runtime Parameters
params: test_obj: 3.14159 id: 3.14159📌 Setup phase
duration:
0.000578208826482296outcome:
passed📌 Call phase
duration:
0.0003304947167634964outcome:
passed📌 Teardown phase
duration:
0.00016227783635258675outcome:
passed -
✅ Test 224
params: test_obj=[true, false, null]📌 Runtime Parameters
params: test_obj: - True - (vide) - (vide) id: test_obj5📌 Setup phase
duration:
0.0005538659170269966outcome:
passed📌 Call phase
duration:
0.0003048330545425415outcome:
passed📌 Teardown phase
duration:
0.00017823511734604836outcome:
passed -
✅ Test 225
params: test_obj={"complex": [{"list": [1, 2]}, {"dict": {"x": 10}}]}📌 Runtime Parameters
params: test_obj: complex: - list: - 1 - 2 - dict: x: 10 id: test_obj6📌 Setup phase
duration:
0.0005496828816831112outcome:
passed📌 Call phase
duration:
0.0003162599168717861outcome:
passed📌 Teardown phase
duration:
0.00017094286158680916outcome:
passed
-
-
📄 test_utils_printing.py
↳ Function: test_maxlen_valid
-
✅ Test 226
params: seq=["a", "abc", ""], expected=3📌 Runtime Parameters
params: seq: - a - abc - (vide) expected: 3 id: seq0-3📌 Setup phase
duration:
0.00028068898245692253outcome:
passed📌 Call phase
duration:
0.00017675990238785744outcome:
passed📌 Teardown phase
duration:
0.00014641182497143745outcome:
passed -
✅ Test 227
params: seq=[], expected=0📌 Runtime Parameters
params: seq: [] expected: 0 id: seq1-0📌 Setup phase
duration:
0.0002330699935555458outcome:
passed📌 Call phase
duration:
0.00016749324277043343outcome:
passed📌 Teardown phase
duration:
0.00014279363676905632outcome:
passed -
✅ Test 228
params: seq=1, 2], [3], [4, 5, 6, expected=3📌 Runtime Parameters
params: seq: - - 1 - 2 - - 3 - - 4 - 5 - 6 expected: 3 id: seq2-3📌 Setup phase
duration:
0.00023339316248893738outcome:
passed📌 Call phase
duration:
0.0001407102681696415outcome:
passed📌 Teardown phase
duration:
0.00014370540156960487outcome:
passed -
✅ Test 229
params: seq=[{"a": 2, "b": 3}, {}, {"c": 4}], expected=2📌 Runtime Parameters
params: seq: - a: 2 b: 3 - (vide) - c: 4 expected: 2 id: seq3-2📌 Setup phase
duration:
0.00023657223209738731outcome:
passed📌 Call phase
duration:
0.00014855992048978806outcome:
passed📌 Teardown phase
duration:
0.00015348102897405624outcome:
passed
↳ Function: test_strlen
-
✅ Test 230
params: value=42, expected=2📌 Runtime Parameters
params: value: 42 expected: 2 id: 42-2📌 Setup phase
duration:
0.00024786079302430153outcome:
passed📌 Call phase
duration:
0.0001393081620335579outcome:
passed📌 Teardown phase
duration:
0.00014261389151215553outcome:
passed -
✅ Test 231
params: value="hello", expected=5📌 Runtime Parameters
params: value: hello expected: 5 id: hello-5📌 Setup phase
duration:
0.0002366378903388977outcome:
passed📌 Call phase
duration:
0.00013744691386818886outcome:
passed📌 Teardown phase
duration:
0.00014188000932335854outcome:
passed -
✅ Test 232
params: value=false, expected=5📌 Runtime Parameters
params: value: False expected: 5 id: False-5📌 Setup phase
duration:
0.0002281591296195984outcome:
passed📌 Call phase
duration:
0.00013654818758368492outcome:
passed📌 Teardown phase
duration:
0.00014773989096283913outcome:
passed -
✅ Test 233
params: value=null, expected=4📌 Runtime Parameters
params: value: None expected: 4 id: None-4📌 Setup phase
duration:
0.00021064234897494316outcome:
passed📌 Call phase
duration:
0.0001348690129816532outcome:
passed📌 Teardown phase
duration:
0.00014666887000203133outcome:
passed -
✅ Test 234
params: value=[1, 2, 3], expected=9📌 Runtime Parameters
params: value: - 1 - 2 - 3 expected: 9 id: value4-9📌 Setup phase
duration:
0.0002306867390871048outcome:
passed📌 Call phase
duration:
0.00013870513066649437outcome:
passed📌 Teardown phase
duration:
0.0001379246823489666outcome:
passed -
✅ Test 235
params: value={"a": 1}, expected=8📌 Runtime Parameters
params: value: a: 1 expected: 8 id: value5-8📌 Setup phase
duration:
0.00021472526714205742outcome:
passed📌 Call phase
duration:
0.00013889512047171593outcome:
passed📌 Teardown phase
duration:
0.00014156056568026543outcome:
passed -
✅ Test 236
params: value=[1, 2], expected=6📌 Runtime Parameters
params: value: - 1 - 2 expected: 6 id: value6-6📌 Setup phase
duration:
0.0002436051145195961outcome:
passed📌 Call phase
duration:
0.00014348328113555908outcome:
passed📌 Teardown phase
duration:
0.00013743620365858078outcome:
passed -
✅ Test 237
params: value="", expected=0📌 Runtime Parameters
params: value: None expected: 0 id: -0📌 Setup phase
duration:
0.00025028781965374947outcome:
passed📌 Call phase
duration:
0.000135758426040411outcome:
passed📌 Teardown phase
duration:
0.00013224175199866295outcome:
passed -
✅ Test 238
params: value="this is a phrase", expected=16📌 Runtime Parameters
params: value: this is a phrase expected: 16 id: this is a phrase-16📌 Setup phase
duration:
0.00020980602130293846outcome:
passed📌 Call phase
duration:
0.00014169421046972275outcome:
passed📌 Teardown phase
duration:
0.00013638893142342567outcome:
passed
↳ Function: test_maxstrlen
-
✅ Test 239
params: seq=[1, true, 3.1415], expected=6📌 Runtime Parameters
params: seq: - 1 - True - 3.1415 expected: 6 id: seq0-6📌 Setup phase
duration:
0.00023865792900323868outcome:
passed📌 Call phase
duration:
0.00014661718159914017outcome:
passed📌 Teardown phase
duration:
0.00013827811926603317outcome:
passed -
✅ Test 240
params: seq=["aa", "bbb", "c"], expected=3📌 Runtime Parameters
params: seq: - aa - bbb - c expected: 3 id: seq1-3📌 Setup phase
duration:
0.00022687576711177826outcome:
passed📌 Call phase
duration:
0.00015422096475958824outcome:
passed📌 Teardown phase
duration:
0.000135697890073061outcome:
passed -
✅ Test 241
params: seq=1, 2], [], [1, 2, 3, expected=9📌 Runtime Parameters
params: seq: - - 1 - 2 - (vide) - - 1 - 2 - 3 expected: 9 id: seq2-9📌 Setup phase
duration:
0.000213616993278265outcome:
passed📌 Call phase
duration:
0.00015009799972176552outcome:
passed📌 Teardown phase
duration:
0.0001371358521282673outcome:
passed -
✅ Test 242
params: seq=[{"a": 1}, {}, {"a": 1, "b": 2}], expected=16📌 Runtime Parameters
params: seq: - a: 1 - (vide) - a: 1 b: 2 expected: 16 id: seq3-16📌 Setup phase
duration:
0.00021305587142705917outcome:
passed📌 Call phase
duration:
0.00014124903827905655outcome:
passed📌 Teardown phase
duration:
0.00014453893527388573outcome:
passed -
✅ Test 243
params: seq=[null, false, 12345], expected=5📌 Runtime Parameters
params: seq: - (vide) - (vide) - 12345 expected: 5 id: seq4-5📌 Setup phase
duration:
0.00021999794989824295outcome:
passed📌 Call phase
duration:
0.00014901719987392426outcome:
passed📌 Teardown phase
duration:
0.00013911817222833633outcome:
passed
↳ Function: test_transpose_matrix
-
✅ Test 244
params: data=1, 2], [3, 4, expected=1, 3], [2, 4📌 Runtime Parameters
params: data: - - 1 - 2 - - 3 - 4 expected: - - 1 - 3 - - 2 - 4 id: data0-expected0📌 Setup phase
duration:
0.0002415962517261505outcome:
passed📌 Call phase
duration:
0.00015106098726391792outcome:
passed📌 Teardown phase
duration:
0.0002544652670621872outcome:
passed -
✅ Test 245
params: data="a", "b"], ["c", "d", expected="a", "c"], ["b", "d"📌 Runtime Parameters
params: data: - - a - b - - c - d expected: - - a - c - - b - d id: data1-expected1📌 Setup phase
duration:
0.0002643326297402382outcome:
passed📌 Call phase
duration:
0.00015247194096446037outcome:
passed📌 Teardown phase
duration:
0.0001409929245710373outcome:
passed -
✅ Test 246
params: data={"x": 1}, {"y": 2}], [{"x": 3}, {"y": 4}, expected={"x": 1}, {"x": 3}], [{"y": 2}, {"y": 4}📌 Runtime Parameters
params: data: - - x: 1 - y: 2 - - x: 3 - y: 4 expected: - - x: 1 - x: 3 - - y: 2 - y: 4 id: data2-expected2📌 Setup phase
duration:
0.00025714095681905746outcome:
passed📌 Call phase
duration:
0.0001471252180635929outcome:
passed📌 Teardown phase
duration:
0.00014078523963689804outcome:
passed
↳ Function: test_prepend
-
✅ Test 247
params: initial=[1, 2, 3], prepend=1, expected=[1, 2, 3]📌 Runtime Parameters
params: initial: - 1 - 2 - 3 prepend: 1 expected: - 1 - 2 - 3 id: initial0-1-expected0📌 Setup phase
duration:
0.00026833219453692436outcome:
passed📌 Call phase
duration:
0.00014107907190918922outcome:
passed📌 Teardown phase
duration:
0.000158009584993124outcome:
passed -
✅ Test 248
params: initial=["a", "b", "c"], prepend="a", expected=["a", "b", "c"]📌 Runtime Parameters
params: initial: - a - b - c prepend: a expected: - a - b - c id: initial1-a-expected1📌 Setup phase
duration:
0.00028020190075039864outcome:
passed📌 Call phase
duration:
0.00017307978123426437outcome:
passed📌 Teardown phase
duration:
0.00016466109082102776outcome:
passed -
✅ Test 249
params: initial=[{"a": 1}, {"b": 2}], prepend={"a": 1}, expected=[{"a": 1}, {"b": 2}]📌 Runtime Parameters
params: initial: - a: 1 - b: 2 prepend: a: 1 expected: - a: 1 - b: 2 id: initial2-prepend2-expected2📌 Setup phase
duration:
0.00028061820194125175outcome:
passed📌 Call phase
duration:
0.0001448630355298519outcome:
passed📌 Teardown phase
duration:
0.00015563564375042915outcome:
passed -
✅ Test 250
params: initial=1], [2], [3, prepend=[1], expected=1], [2], [3📌 Runtime Parameters
params: initial: - - 1 - - 2 - - 3 prepend: - 1 expected: - - 1 - - 2 - - 3 id: initial3-prepend3-expected3📌 Setup phase
duration:
0.00027285516262054443outcome:
passed📌 Call phase
duration:
0.0001370101235806942outcome:
passed📌 Teardown phase
duration:
0.00016417400911450386outcome:
passed
↳ Function: test_fmt_table_line
-
✅ Test 251
params: entries=["a", "bbb"], widths=[3, 5], expected=" a bbb"📌 Runtime Parameters
params: entries: - a - bbb widths: - 3 - 5 expected: a bbb id: entries0-widths0- a bbb📌 Setup phase
duration:
0.0002854778431355953outcome:
passed📌 Call phase
duration:
0.00015063583850860596outcome:
passed📌 Teardown phase
duration:
0.00017134938389062881outcome:
passed -
✅ Test 252
params: entries=[1, 2], widths=[2, 2], expected=" 1 2"📌 Runtime Parameters
params: entries: - 1 - 2 widths: - 2 - 2 expected: 1 2 id: entries1-widths1- 1 2📌 Setup phase
duration:
0.0002730502746999264outcome:
passed📌 Call phase
duration:
0.00014725793153047562outcome:
passed📌 Teardown phase
duration:
0.0001720879226922989outcome:
passed -
✅ Test 253
params: entries=["long", "val"], widths=[6, 4], expected=" long val"📌 Runtime Parameters
params: entries: - long - val widths: - 6 - 4 expected: long val id: entries2-widths2- long val📌 Setup phase
duration:
0.0002722581848502159outcome:
passed📌 Call phase
duration:
0.00014019198715686798outcome:
passed📌 Teardown phase
duration:
0.00015302794054150581outcome:
passed -
✅ Test 254
params: entries=[true, false], widths=[5, 6], expected=" True False"📌 Runtime Parameters
params: entries: - True - (vide) widths: - 5 - 6 expected: True False id: entries3-widths3- True False📌 Setup phase
duration:
0.0002788589335978031outcome:
passed📌 Call phase
duration:
0.00015660887584090233outcome:
passed📌 Teardown phase
duration:
0.0001651868224143982outcome:
passed -
✅ Test 255
params: entries=[123, 4567], widths=[5, 5], expected=" 123 4567"📌 Runtime Parameters
params: entries: - 123 - 4567 widths: - 5 - 5 expected: 123 4567 id: entries4-widths4- 123 4567📌 Setup phase
duration:
0.00026817014440894127outcome:
passed📌 Call phase
duration:
0.0001393021084368229outcome:
passed📌 Teardown phase
duration:
0.00014787493273615837outcome:
passed -
✅ Test 256
params: entries=["text with space", "end"], widths=[16, 5], expected=" text with space end"📌 Runtime Parameters
params: entries: - text with space - end widths: - 16 - 5 expected: text with space end id: entries5-widths5- text with space end📌 Setup phase
duration:
0.0002769618295133114outcome:
passed📌 Call phase
duration:
0.000145650003105402outcome:
passed📌 Teardown phase
duration:
0.0001527690328657627outcome:
passed -
✅ Test 257
params: entries=[{"a": 1}, {"b": 2}], widths=[10, 10], expected=" {'a': 1} {'b': 2}"📌 Runtime Parameters
params: entries: - a: 1 - b: 2 widths: - 10 - 10 expected: {'a': 1} {'b': 2} id: entries6-widths6- {'a': 1} {'b': 2}📌 Setup phase
duration:
0.00027526775375008583outcome:
passed📌 Call phase
duration:
0.00014303717762231827outcome:
passed📌 Teardown phase
duration:
0.00016418984159827232outcome:
passed -
✅ Test 258
params: entries=1, 2], [3, 4, widths=[10, 10], expected=" [1, 2] [3, 4]"📌 Runtime Parameters
params: entries: - - 1 - 2 - - 3 - 4 widths: - 10 - 10 expected: [1, 2] [3, 4] id: entries7-widths7- [1, 2] [3, 4]📌 Setup phase
duration:
0.0002809036523103714outcome:
passed📌 Call phase
duration:
0.00014428701251745224outcome:
passed📌 Teardown phase
duration:
0.00017120316624641418outcome:
passed
↳ Function: test_fmt_label_sep
-
✅ Test 259
params: widths=[3, 4], line="-", expected="--- ----"📌 Runtime Parameters
params: widths: - 3 - 4 line: - expected: --- ---- id: widths0------ ----📌 Setup phase
duration:
0.0002857879735529423outcome:
passed📌 Call phase
duration:
0.00016362406313419342outcome:
passed📌 Teardown phase
duration:
0.00015317415818572044outcome:
passed -
✅ Test 260
params: widths=[2, 3], line="=", expected="== ==="📌 Runtime Parameters
params: widths: - 2 - 3 line: = expected: == === id: widths1-=-== ===📌 Setup phase
duration:
0.00027427589520812035outcome:
passed📌 Call phase
duration:
0.00014396291226148605outcome:
passed📌 Teardown phase
duration:
0.00016573630273342133outcome:
passed -
✅ Test 261
params: widths=[5, 2], line="*", expected="***** **"📌 Runtime Parameters
params: widths: - 5 - 2 line: * expected: ***** ** id: widths2-*-***** **📌 Setup phase
duration:
0.00026606908068060875outcome:
passed📌 Call phase
duration:
0.00014038896188139915outcome:
passed📌 Teardown phase
duration:
0.00015153596177697182outcome:
passed
↳ Function: test_printable_dict_with_header
-
✅ Test 262
params: d={"medium": true, "very_long_key": 3.14, "x": 1}, header="HeaderTest", expected_lines=["HeaderTest:", "-----------", "medium: True", "very_long_key: 3.14", "x: 1", ""]📌 Runtime Parameters
params: d: medium: True very_long_key: 3.14 x: 1 header: HeaderTest expected_lines: - HeaderTest: - ----------- - medium: True - very_long_key: 3.14 - x: 1 - (vide) id: d0-HeaderTest-expected_lines0📌 Setup phase
duration:
0.00027310894802212715outcome:
passed📌 Call phase
duration:
0.0006070686504244804outcome:
passed📌 Teardown phase
duration:
0.0001892419531941414outcome:
passed
↳ Function: test_printable_dict_of_dicts
-
✅ Test 263
📌 Setup phase
duration:
0.00011631427332758904outcome:
passed📌 Call phase
duration:
0.00025827670469880104outcome:
passed📌 Teardown phase
duration:
0.00010201381519436836outcome:
passed
↳ Function: test_printable_table
-
✅ Test 264
params: data="X1", true, 0.1234, {"meta": "ok"}], ["AnotherSample", false, 98765.4321, {"meta": [1, 2, 3]}], ["Z", null, 0.0, {"meta": {"nested_key": 42}}, labels=["ID", "✓ Success?", "SuperPrecisionValue", "Result Metadata"], expected="A: ID\nB: ✓ Success?\nC: SuperPrecisionValue\nD: Result Metadata\n\n# A B C D\n- ------------- ----- ---------- ----------------------------\n0 X1 True 0.1234 {'meta': 'ok'}\n1 AnotherSample False 98765.4321 {'meta': [1, 2, 3]}\n2 Z None 0.0 {'meta': {'nested_key': 42}}"📌 Runtime Parameters
params: data: - - X1 - True - 0.1234 - meta: ok - - AnotherSample - (vide) - 98765.4321 - meta: - 1 - 2 - 3 - - Z - (vide) - (vide) - meta: nested_key: 42 labels: - ID - ✓ Success? - SuperPrecisionValue - Result Metadata expected: A: ID B: ✓ Success? C: SuperPrecisionValue D: Result Metadata # A B C D - ------------- ----- ---------- ---------------------------- 0 X1 True 0.1234 {'meta': 'ok'} 1 AnotherSample False 98765.4321 {'meta': [1, 2, 3]} 2 Z None 0.0 {'meta': {'nested_key': 42}} id: data0-labels0-A: ID\nB: \u2713 Success?\nC: SuperPrecisionValue\nD: Result Metadata\n\n# A B C D\n- ------------- ----- ---------- ----------------------------\n0 X1 True 0.1234 {'meta': 'ok'}\n1 AnotherSample False 98765.4321 {'meta': [1, 2, 3]}\n2 Z None 0.0 {'meta': {'nested_key': 42}}📌 Setup phase
duration:
0.0003013662062585354outcome:
passed📌 Call phase
duration:
0.00035674870014190674outcome:
passed📌 Teardown phase
duration:
0.00018356088548898697outcome:
passed
-
-
📄 test_utils_rangebar.py
↳ Function: test_full_progress_bar
-
✅ Test 265
📌 Setup phase
duration:
0.00039035407826304436outcome:
passed📌 Call phase
duration:
0.0003149122931063175outcome:
passed📌 Teardown phase
duration:
0.00018892763182520866outcome:
passed
↳ Function: test_half_progress_bar
-
✅ Test 266
📌 Setup phase
duration:
0.00034689297899603844outcome:
passed📌 Call phase
duration:
0.0002256808802485466outcome:
passed📌 Teardown phase
duration:
0.00027052778750658035outcome:
passed
↳ Function: test_zero_progress_bar
-
✅ Test 267
📌 Setup phase
duration:
0.00028999755159020424outcome:
passed📌 Call phase
duration:
0.00020814593881368637outcome:
passed📌 Teardown phase
duration:
0.0001656869426369667outcome:
passed
↳ Function: test_overflow_bar
-
✅ Test 268
📌 Setup phase
duration:
0.0002613486722111702outcome:
passed📌 Call phase
duration:
0.00020895805209875107outcome:
passed📌 Teardown phase
duration:
0.00015541864559054375outcome:
passed
↳ Function: test_underflow_bar
-
✅ Test 269
📌 Setup phase
duration:
0.0002868776209652424outcome:
passed📌 Call phase
duration:
0.00018819887191057205outcome:
passed📌 Teardown phase
duration:
0.00015736697241663933outcome:
passed
↳ Function: test_repr
-
✅ Test 270
📌 Setup phase
duration:
0.0001168958842754364outcome:
passed📌 Call phase
duration:
0.00016198400408029556outcome:
passed📌 Teardown phase
duration:
0.00011616013944149017outcome:
passed
↳ Function: test_each_value_separately
-
✅ Test 271
params: value=0, expected_bar_part=" "📌 Runtime Parameters
params: value: 0 expected_bar_part: id: 0-📌 Setup phase
duration:
0.0003767339512705803outcome:
passed📌 Call phase
duration:
0.00019932305440306664outcome:
passed📌 Teardown phase
duration:
0.00020552007481455803outcome:
passed -
✅ Test 272
params: value=10, expected_bar_part="█ "📌 Runtime Parameters
params: value: 10 expected_bar_part: █ id: 10-\u2588📌 Setup phase
duration:
0.00035995012149214745outcome:
passed📌 Call phase
duration:
0.00019988976418972015outcome:
passed📌 Teardown phase
duration:
0.0001842603087425232outcome:
passed -
✅ Test 273
params: value=25, expected_bar_part="██▌ "📌 Runtime Parameters
params: value: 25 expected_bar_part: ██▌ id: 25-\u2588\u2588\u258c📌 Setup phase
duration:
0.0003565708175301552outcome:
passed📌 Call phase
duration:
0.00019402522593736649outcome:
passed📌 Teardown phase
duration:
0.00018919305875897408outcome:
passed -
✅ Test 274
params: value=27, expected_bar_part="██▊ "📌 Runtime Parameters
params: value: 27 expected_bar_part: ██▊ id: 27-\u2588\u2588\u258a📌 Setup phase
duration:
0.00033806823194026947outcome:
passed📌 Call phase
duration:
0.0001856326125562191outcome:
passed📌 Teardown phase
duration:
0.0002054399810731411outcome:
passed -
✅ Test 275
params: value=49, expected_bar_part="████▉ "📌 Runtime Parameters
params: value: 49 expected_bar_part: ████▉ id: 49-\u2588\u2588\u2588\u2588\u2589📌 Setup phase
duration:
0.00035836221650242805outcome:
passed📌 Call phase
duration:
0.00019449181854724884outcome:
passed📌 Teardown phase
duration:
0.00018749991431832314outcome:
passed -
✅ Test 276
params: value=50, expected_bar_part="█████ "📌 Runtime Parameters
params: value: 50 expected_bar_part: █████ id: 50-\u2588\u2588\u2588\u2588\u2588📌 Setup phase
duration:
0.0003927932120859623outcome:
passed📌 Call phase
duration:
0.00018951762467622757outcome:
passed📌 Teardown phase
duration:
0.0001846766099333763outcome:
passed -
✅ Test 277
params: value=51, expected_bar_part="█████▏ "📌 Runtime Parameters
params: value: 51 expected_bar_part: █████▏ id: 51-\u2588\u2588\u2588\u2588\u2588\u258f📌 Setup phase
duration:
0.0003511430695652962outcome:
passed📌 Call phase
duration:
0.00018831808120012283outcome:
passed📌 Teardown phase
duration:
0.00019622920081019402outcome:
passed -
✅ Test 278
params: value=73, expected_bar_part="███████▎ "📌 Runtime Parameters
params: value: 73 expected_bar_part: ███████▎ id: 73-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e📌 Setup phase
duration:
0.000375320203602314outcome:
passed📌 Call phase
duration:
0.00020858505740761757outcome:
passed📌 Teardown phase
duration:
0.0001869508996605873outcome:
passed -
✅ Test 279
params: value=75, expected_bar_part="███████▌ "📌 Runtime Parameters
params: value: 75 expected_bar_part: ███████▌ id: 75-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c📌 Setup phase
duration:
0.0003660409711301327outcome:
passed📌 Call phase
duration:
0.00018990691751241684outcome:
passed📌 Teardown phase
duration:
0.00018688198179006577outcome:
passed -
✅ Test 280
params: value=90, expected_bar_part="█████████ "📌 Runtime Parameters
params: value: 90 expected_bar_part: █████████ id: 90-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588📌 Setup phase
duration:
0.0003416379913687706outcome:
passed📌 Call phase
duration:
0.00019665388390421867outcome:
passed📌 Teardown phase
duration:
0.0001904163509607315outcome:
passed -
✅ Test 281
params: value=100, expected_bar_part="██████████"📌 Runtime Parameters
params: value: 100 expected_bar_part: ██████████ id: 100-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588📌 Setup phase
duration:
0.0003436887636780739outcome:
passed📌 Call phase
duration:
0.00018847500905394554outcome:
passed📌 Teardown phase
duration:
0.00018928805366158485outcome:
passed
-
-
📄 test_utils_sendmail.py
↳ Function: test_sendmail_real_local_verbose
-
✅ Test 282
📌 Setup phase
duration:
0.0001297546550631523outcome:
passed📌 Call phase
duration:
1.9944361839443445outcome:
passed📌 Teardown phase
duration:
0.00027096644043922424outcome:
passed
-
-
📄 test_utils_snapshot.py
↳ Function: test_snapshot
-
✅ Test 285
params: test_input=[], expected=[], kwargs={}📌 Runtime Parameters
params: test_input: [] expected: [] kwargs: {} id: empty_case📌 Setup phase
duration:
0.00033922214061021805outcome:
passed📌 Call phase
duration:
0.00016729487106204033outcome:
passed📌 Teardown phase
duration:
0.00018366891890764236outcome:
passed
-
-
📄 test_utils_termtitle.py
↳ Function: test_terminal_title_with_tmux
-
✅ Test 291
📌 Setup phase
duration:
0.00016403384506702423outcome:
passed📌 Call phase
duration:
0.01624183915555477outcome:
passed📌 Teardown phase
duration:
0.00020250072702765465outcome:
passed
-
-
📄 test_utils_tqdm_mod.py
↳ Function: test_complete_progress_bar
-
✅ Test 292
📌 Setup phase
duration:
0.00014516431838274002outcome:
passed📌 Call phase
duration:
0.008119754958897829outcome:
passed📌 Teardown phase
duration:
0.00013008294627070427outcome:
passed
↳ Function: test_set_progress_multiple_points
-
✅ Test 293
📌 Setup phase
duration:
0.00012253038585186005outcome:
passed📌 Call phase
duration:
0.001398442778736353outcome:
passed📌 Teardown phase
duration:
0.00012517394497990608outcome:
passed
↳ Function: test_format_sizeof_alignment
-
✅ Test 294
📌 Setup phase
duration:
0.00016098516061902046outcome:
passed📌 Call phase
duration:
0.00015942193567752838outcome:
passed📌 Teardown phase
duration:
0.00010562315583229065outcome:
passed
↳ Function: test_custom_unit
-
✅ Test 296
📌 Setup phase
duration:
0.000120548065751791outcome:
passed📌 Call phase
duration:
0.004758516792207956outcome:
passed📌 Teardown phase
duration:
0.00013218121603131294outcome:
passed
↳ Function: test_clamp_above_total
-
✅ Test 297
📌 Setup phase
duration:
0.00013515306636691093outcome:
passed📌 Call phase
duration:
0.0004849052056670189outcome:
passed📌 Teardown phase
duration:
0.00011492893099784851outcome:
passed
↳ Function: test_clamp_below_zero
-
✅ Test 298
📌 Setup phase
duration:
0.00011317804455757141outcome:
passed📌 Call phase
duration:
0.0006087683141231537outcome:
passed📌 Teardown phase
duration:
0.00012059789150953293outcome:
passed
-
-
📄 test_utils_trinary.py
↳ Function: test_check_trinary_valid_values
-
✅ Test 299
📌 Setup phase
duration:
0.00012777606025338173outcome:
passed📌 Call phase
duration:
0.0001626182347536087outcome:
passed📌 Teardown phase
duration:
0.00010214373469352722outcome:
passed
↳ Function: test_check_trinary_invalid_value
-
✅ Test 300
📌 Setup phase
duration:
0.0001116311177611351outcome:
passed📌 Call phase
duration:
0.00038280198350548744outcome:
passed📌 Teardown phase
duration:
0.00012311292812228203outcome:
passed
↳ Function: test_check_trinary_with_custom_allowed_values
-
✅ Test 301
📌 Setup phase
duration:
0.00012249406427145004outcome:
passed📌 Call phase
duration:
0.0001648077741265297outcome:
passed📌 Teardown phase
duration:
0.00010903086513280869outcome:
passed
-
-
📄 test_utils_typecast.py
↳ Function: test_downcast_success
-
✅ Test 302
📌 Setup phase
duration:
0.00012558698654174805outcome:
passed📌 Call phase
duration:
0.000196204986423254outcome:
passed📌 Teardown phase
duration:
0.00010518403723835945outcome:
passed
↳ Function: test_upcast_success
-
✅ Test 303
📌 Setup phase
duration:
0.00010635377839207649outcome:
passed📌 Call phase
duration:
0.00014642300084233284outcome:
passed📌 Teardown phase
duration:
0.00010218890383839607outcome:
passed
↳ Function: test_downcast_invalid
-
✅ Test 304
📌 Setup phase
duration:
0.00010678684338927269outcome:
passed📌 Call phase
duration:
0.0003521740436553955outcome:
passed📌 Teardown phase
duration:
0.00010561197996139526outcome:
passed
↳ Function: test_upcast_invalid
-
✅ Test 305
📌 Setup phase
duration:
0.00010820059105753899outcome:
passed📌 Call phase
duration:
0.00019332719966769218outcome:
passed📌 Teardown phase
duration:
0.00012504076585173607outcome:
passed
↳ Function: test_object_identity_preserved
-
✅ Test 306
📌 Setup phase
duration:
0.00010534096509218216outcome:
passed📌 Call phase
duration:
0.0001716911792755127outcome:
passed📌 Teardown phase
duration:
0.00010450836271047592outcome:
passed
↳ Function: test_ensure_subclass_valid
-
✅ Test 307
📌 Setup phase
duration:
0.00010647997260093689outcome:
passed📌 Call phase
duration:
0.00016772979870438576outcome:
passed📌 Teardown phase
duration:
0.00010191788896918297outcome:
passed
↳ Function: test_ensure_subclass_invalid
-
✅ Test 308
📌 Setup phase
duration:
0.00010313605889678001outcome:
passed📌 Call phase
duration:
0.00016051670536398888outcome:
passed📌 Teardown phase
duration:
9.774323552846909e-05outcome:
passed
↳ Function: test_cast_changes_class
-
✅ Test 309
📌 Setup phase
duration:
0.0001071183942258358outcome:
passed📌 Call phase
duration:
0.00013829302042722702outcome:
passed📌 Teardown phase
duration:
0.00010721106082201004outcome:
passed
↳ Function: test_cast_preserves_identity
-
✅ Test 310
📌 Setup phase
duration:
0.00010124687105417252outcome:
passed📌 Call phase
duration:
0.0001289290376007557outcome:
passed📌 Teardown phase
duration:
0.0001062583178281784outcome:
passed
-
-
📄 test_utils_utils.py
↳ Function: test_singleton_instance
-
✅ Test 311
📌 Setup phase
duration:
0.00012658676132559776outcome:
passed📌 Call phase
duration:
0.00015655113384127617outcome:
passed📌 Teardown phase
duration:
0.00012136716395616531outcome:
passed
↳ Function: test_singleton_identity
-
✅ Test 312
📌 Setup phase
duration:
0.00010647391900420189outcome:
passed📌 Call phase
duration:
0.00013311393558979034outcome:
passed📌 Teardown phase
duration:
9.833462536334991e-05outcome:
passed
↳ Function: test_typename
-
✅ Test 313
params: obj=null, expected="NoneType"📌 Runtime Parameters
params: obj: None expected: NoneType id: None-NoneType📌 Setup phase
duration:
0.0002927822060883045outcome:
passed📌 Call phase
duration:
0.00015463493764400482outcome:
passed📌 Teardown phase
duration:
0.00015653669834136963outcome:
passed -
✅ Test 314
params: obj=true, expected="bool"📌 Runtime Parameters
params: obj: True expected: bool id: True-bool📌 Setup phase
duration:
0.00023106811568140984outcome:
passed📌 Call phase
duration:
0.00015806499868631363outcome:
passed📌 Teardown phase
duration:
0.00014133797958493233outcome:
passed -
✅ Test 315
params: obj=42, expected="int"📌 Runtime Parameters
params: obj: 42 expected: int id: 42-int📌 Setup phase
duration:
0.00022622710093855858outcome:
passed📌 Call phase
duration:
0.00016652187332510948outcome:
passed📌 Teardown phase
duration:
0.00013731187209486961outcome:
passed -
✅ Test 316
params: obj=3.14, expected="float"📌 Runtime Parameters
params: obj: 3.14 expected: float id: 3.14-float📌 Setup phase
duration:
0.00021480582654476166outcome:
passed📌 Call phase
duration:
0.0001431237906217575outcome:
passed📌 Teardown phase
duration:
0.00014094309881329536outcome:
passed -
✅ Test 317
params: obj="text", expected="str"📌 Runtime Parameters
params: obj: text expected: str id: text-str📌 Setup phase
duration:
0.00024270685389637947outcome:
passed📌 Call phase
duration:
0.0001342911273241043outcome:
passed📌 Teardown phase
duration:
0.0001350543461740017outcome:
passed -
✅ Test 318
params: obj="{1, 2, 3}", expected="set"📌 Runtime Parameters
params: obj: {1, 2, 3} expected: set id: obj5-set📌 Setup phase
duration:
0.000251151155680418outcome:
passed📌 Call phase
duration:
0.00013812072575092316outcome:
passed📌 Teardown phase
duration:
0.00013689277693629265outcome:
passed -
✅ Test 319
params: obj=1], [2, 3, expected="list"📌 Runtime Parameters
params: obj: - - 1 - - 2 - 3 expected: list id: obj6-list📌 Setup phase
duration:
0.00022804876789450645outcome:
passed📌 Call phase
duration:
0.00013817427679896355outcome:
passed📌 Teardown phase
duration:
0.00013518799096345901outcome:
passed -
✅ Test 320
params: obj=[{"a": [1, 2]}, {"b": [3, 4]}], expected="list"📌 Runtime Parameters
params: obj: - a: - 1 - 2 - b: - 3 - 4 expected: list id: obj7-list📌 Setup phase
duration:
0.00021981215104460716outcome:
passed📌 Call phase
duration:
0.00014117639511823654outcome:
passed📌 Teardown phase
duration:
0.00015541119500994682outcome:
passed -
✅ Test 321
params: obj={"key": [{"nested": 1}, [2, 3]]}, expected="dict"📌 Runtime Parameters
params: obj: key: - nested: 1 - - 2 - 3 expected: dict id: obj8-dict📌 Setup phase
duration:
0.00021928967908024788outcome:
passed📌 Call phase
duration:
0.0001316848210990429outcome:
passed📌 Teardown phase
duration:
0.00016245711594820023outcome:
passed -
✅ Test 322
params: obj=" at 0x7f687ab0aa60>", expected="function"📌 Runtime Parameters
params: obj: <function <lambda> at 0x7f687ab0aa60> expected: function id: <lambda>-function📌 Setup phase
duration:
0.00026136403903365135outcome:
passed📌 Call phase
duration:
0.00015361886471509933outcome:
passed📌 Teardown phase
duration:
0.00013576727360486984outcome:
passed -
✅ Test 323
params: obj="", expected="function"📌 Runtime Parameters
params: obj: <function sample_function at 0x7f687ab0a9d0> expected: function id: sample_function-function📌 Setup phase
duration:
0.0002232072874903679outcome:
passed📌 Call phase
duration:
0.00014165882021188736outcome:
passed📌 Teardown phase
duration:
0.00013673165813088417outcome:
passed -
✅ Test 324
params: obj=".nested at 0x7f687ab0aaf0>", expected="function"📌 Runtime Parameters
params: obj: <function sample_function.<locals>.nested at 0x7f687ab0aaf0> expected: function id: nested-function📌 Setup phase
duration:
0.0003333841450512409outcome:
passed📌 Call phase
duration:
0.00014896690845489502outcome:
passed📌 Teardown phase
duration:
0.00014160294085741043outcome:
passed -
✅ Test 325
params: obj="", expected="builtin_function_or_method"📌 Runtime Parameters
params: obj: <built-in function len> expected: builtin_function_or_method id: len-builtin_function_or_method📌 Setup phase
duration:
0.00023095589131116867outcome:
passed📌 Call phase
duration:
0.00013377005234360695outcome:
passed📌 Teardown phase
duration:
0.00013465574011206627outcome:
passed -
✅ Test 326
params: obj="", expected="builtin_function_or_method"📌 Runtime Parameters
params: obj: <built-in function sum> expected: builtin_function_or_method id: sum-builtin_function_or_method📌 Setup phase
duration:
0.0002341768704354763outcome:
passed📌 Call phase
duration:
0.00013706181198358536outcome:
passed📌 Teardown phase
duration:
0.00013733003288507462outcome:
passed -
✅ Test 327
params: obj="", expected="module"📌 Runtime Parameters
params: obj: <module 'math' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/lib-dynload/math.cpython-38-x86_64-linux-gnu.so'> expected: module id: math-module📌 Setup phase
duration:
0.0002278950996696949outcome:
passed📌 Call phase
duration:
0.000137310940772295outcome:
passed📌 Teardown phase
duration:
0.00016821036115288734outcome:
passed -
✅ Test 328
params: obj="", expected="module"📌 Runtime Parameters
params: obj: <module 'sys' (built-in)> expected: module id: sys-module📌 Setup phase
duration:
0.00021623307839035988outcome:
passed📌 Call phase
duration:
0.00013173604384064674outcome:
passed📌 Teardown phase
duration:
0.00014761509373784065outcome:
passed -
✅ Test 329
params: obj="", expected="type"📌 Runtime Parameters
params: obj: <class 'function'> expected: type id: function-type📌 Setup phase
duration:
0.00022482406347990036outcome:
passed📌 Call phase
duration:
0.00016255304217338562outcome:
passed📌 Teardown phase
duration:
0.00013929232954978943outcome:
passed -
✅ Test 330
params: obj=" at 0x7f687a68f660>", expected="generator"📌 Runtime Parameters
params: obj: <generator object <genexpr> at 0x7f687a68f660> expected: generator id: <genexpr>-generator📌 Setup phase
duration:
0.00022869696840643883outcome:
passed📌 Call phase
duration:
0.00014232005923986435outcome:
passed📌 Teardown phase
duration:
0.00013820501044392586outcome:
passed -
✅ Test 331
params: obj="", expected="list_iterator"📌 Runtime Parameters
params: obj: <list_iterator object at 0x7f687a9b42b0> expected: list_iterator id: obj18-list_iterator📌 Setup phase
duration:
0.0002323416993021965outcome:
passed📌 Call phase
duration:
0.00013755867257714272outcome:
passed📌 Teardown phase
duration:
0.00013520289212465286outcome:
passed
↳ Function: test_next_int
-
✅ Test 332
params: nums=[1, 2, 3], expected=4📌 Runtime Parameters
params: nums: - 1 - 2 - 3 expected: 4 id: nums0-4📌 Setup phase
duration:
0.00027573108673095703outcome:
passed📌 Call phase
duration:
0.00014697806909680367outcome:
passed📌 Teardown phase
duration:
0.00014448491856455803outcome:
passed -
✅ Test 333
params: nums=[10, 20], expected=21📌 Runtime Parameters
params: nums: - 10 - 20 expected: 21 id: nums1-21📌 Setup phase
duration:
0.00021879514679312706outcome:
passed📌 Call phase
duration:
0.00013570208102464676outcome:
passed📌 Teardown phase
duration:
0.00013440102338790894outcome:
passed -
✅ Test 334
params: nums=[], expected=0📌 Runtime Parameters
params: nums: [] expected: 0 id: nums2-0📌 Setup phase
duration:
0.00024279486387968063outcome:
passed📌 Call phase
duration:
0.00013999780640006065outcome:
passed📌 Teardown phase
duration:
0.0001652059145271778outcome:
passed
↳ Function: test_zero_pad
-
✅ Test 335
params: i=7, n=3, expected="007"📌 Runtime Parameters
params: i: 7 n: 3 expected: 007 id: 7-3-007📌 Setup phase
duration:
0.00026817992329597473outcome:
passed📌 Call phase
duration:
0.00014401786029338837outcome:
passed📌 Teardown phase
duration:
0.0002305959351360798outcome:
passed -
✅ Test 336
params: i=123, n=5, expected="00123"📌 Runtime Parameters
params: i: 123 n: 5 expected: 00123 id: 123-5-00123📌 Setup phase
duration:
0.0002958499826490879outcome:
passed📌 Call phase
duration:
0.00021916022524237633outcome:
passed📌 Teardown phase
duration:
0.00027358997613191605outcome:
passed -
✅ Test 337
params: i=0, n=2, expected="00"📌 Runtime Parameters
params: i: 0 n: 2 expected: 00 id: 0-2-00📌 Setup phase
duration:
0.0002913014031946659outcome:
passed📌 Call phase
duration:
0.00013815797865390778outcome:
passed📌 Teardown phase
duration:
0.00017210189253091812outcome:
passed
↳ Function: test_iround
-
✅ Test 338
params: val=3.6, expected=4📌 Runtime Parameters
params: val: 3.6 expected: 4 id: 3.6-4📌 Setup phase
duration:
0.0002275160513818264outcome:
passed📌 Call phase
duration:
0.0001471787691116333outcome:
passed📌 Teardown phase
duration:
0.00013916892930865288outcome:
passed -
✅ Test 339
params: val=2.1, expected=2📌 Runtime Parameters
params: val: 2.1 expected: 2 id: 2.1-2📌 Setup phase
duration:
0.00022259121760725975outcome:
passed📌 Call phase
duration:
0.00013926532119512558outcome:
passed📌 Teardown phase
duration:
0.0001449529081583023outcome:
passed -
✅ Test 340
params: val=-1.5, expected=-2📌 Runtime Parameters
params: val: -1.5 expected: -2 id: -1.5--2📌 Setup phase
duration:
0.0002601160667836666outcome:
passed📌 Call phase
duration:
0.00014033960178494453outcome:
passed📌 Teardown phase
duration:
0.00013857008889317513outcome:
passed -
✅ Test 341
params: val=-1.4, expected=-1📌 Runtime Parameters
params: val: -1.4 expected: -1 id: -1.4--1📌 Setup phase
duration:
0.00022824900224804878outcome:
passed📌 Call phase
duration:
0.00013643084093928337outcome:
passed📌 Teardown phase
duration:
0.00013774633407592773outcome:
passed
↳ Function: test_sorted_naturally
-
✅ Test 342
params: items=["file1", "file10", "file2"], expected=["file1", "file2", "file10"]📌 Runtime Parameters
params: items: - file1 - file10 - file2 expected: - file1 - file2 - file10 id: items0-expected0📌 Setup phase
duration:
0.00021855393424630165outcome:
passed📌 Call phase
duration:
0.00016822293400764465outcome:
passed📌 Teardown phase
duration:
0.00016258982941508293outcome:
passed -
✅ Test 343
params: items=["z9", "z10", "z2", "z1"], expected=["z1", "z2", "z9", "z10"]📌 Runtime Parameters
params: items: - z9 - z10 - z2 - z1 expected: - z1 - z2 - z9 - z10 id: items1-expected1📌 Setup phase
duration:
0.00022815074771642685outcome:
passed📌 Call phase
duration:
0.0001598619855940342outcome:
passed📌 Teardown phase
duration:
0.00014004996046423912outcome:
passed
↳ Function: test_sorted_naturally_reverse
-
✅ Test 344
params: items=["file1", "file10", "file2"], expected=["file10", "file2", "file1"]📌 Runtime Parameters
params: items: - file1 - file10 - file2 expected: - file10 - file2 - file1 id: items0-expected0📌 Setup phase
duration:
0.00021850690245628357outcome:
passed📌 Call phase
duration:
0.00016212603077292442outcome:
passed📌 Teardown phase
duration:
0.00014511588960886002outcome:
passed
-
-
📄 test_utils_xrange.py
↳ Function: test_xrange_finite
-
✅ Test 345
params: args=[10], kwargs={}, expected=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]📌 Runtime Parameters
params: args: - 10 kwargs: {} expected: - (vide) - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 id: args0-kwargs0-expected0📌 Setup phase
duration:
0.0002804328687489033outcome:
passed📌 Call phase
duration:
0.0001844889484345913outcome:
passed📌 Teardown phase
duration:
0.0001679002307355404outcome:
passed -
✅ Test 346
params: args=[0, 10], kwargs={}, expected=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]📌 Runtime Parameters
params: args: - (vide) - 10 kwargs: {} expected: - (vide) - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 id: args1-kwargs1-expected1📌 Setup phase
duration:
0.00027364492416381836outcome:
passed📌 Call phase
duration:
0.00013691233471035957outcome:
passed📌 Teardown phase
duration:
0.0001497841440141201outcome:
passed -
✅ Test 347
params: args=[0, 10, 2], kwargs={}, expected=[0, 2, 4, 6, 8]📌 Runtime Parameters
params: args: - (vide) - 10 - 2 kwargs: {} expected: - (vide) - 2 - 4 - 6 - 8 id: args2-kwargs2-expected2📌 Setup phase
duration:
0.000272601842880249outcome:
passed📌 Call phase
duration:
0.0001451936550438404outcome:
passed📌 Teardown phase
duration:
0.00016108201816678047outcome:
passed -
✅ Test 348
params: args=[10], kwargs={"step": 2}, expected=[0, 2, 4, 6, 8]📌 Runtime Parameters
params: args: - 10 kwargs: step: 2 expected: - (vide) - 2 - 4 - 6 - 8 id: args3-kwargs3-expected3📌 Setup phase
duration:
0.00025653373450040817outcome:
passed📌 Call phase
duration:
0.0002414938062429428outcome:
passed📌 Teardown phase
duration:
0.0001657409593462944outcome:
passed
↳ Function: test_xrange_infinite
-
✅ Test 349
params: args=[], kwargs={}, expected_repr="count(0)"📌 Runtime Parameters
params: args: [] kwargs: {} expected_repr: count(0) id: args0-kwargs0-count(0)📌 Setup phase
duration:
0.0002878052182495594outcome:
passed📌 Call phase
duration:
0.00015371199697256088outcome:
passed📌 Teardown phase
duration:
0.0001571900211274624outcome:
passed -
✅ Test 350
params: args=[], kwargs={"step": 2}, expected_repr="count(0, 2)"📌 Runtime Parameters
params: args: [] kwargs: step: 2 expected_repr: count(0, 2) id: args1-kwargs1-count(0, 2)📌 Setup phase
duration:
0.00028618331998586655outcome:
passed📌 Call phase
duration:
0.00014771334826946259outcome:
passed📌 Teardown phase
duration:
0.00015161000192165375outcome:
passed
↳ Function: test_xrange_too_many_args
-
✅ Test 351
params: args=[1, 2, 3, 4]📌 Runtime Parameters
params: args: - 1 - 2 - 3 - 4 id: args0📌 Setup phase
duration:
0.00017988821491599083outcome:
passed📌 Call phase
duration:
0.0004305201582610607outcome:
passed📌 Teardown phase
duration:
0.000631122849881649outcome:
passed
-
📚 Collected files
✅ (1 tests)
-
✅
- Outcome:
passed - result:
- nodeid: . type: Dir - Outcome:
✅ ci-reports (13 tests)
-
✅ ci-reports
- Outcome:
passed - result:
- nodeid: ci-reports/allure type: Dir - nodeid: ci-reports/junit type: Dir - nodeid: ci-reports/markdown type: Dir-
✅ 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 - Outcome:
-
✅ ci-reports/allure/data
- Outcome:
passed - result:
- nodeid: ci-reports/allure/data/test-cases type: Dir - Outcome:
-
✅ ci-reports/allure/data/test-cases
- Outcome:
passed - result:
[] - Outcome:
-
✅ ci-reports/allure/export
- Outcome:
passed - result:
[] - Outcome:
-
✅ ci-reports/allure/history
- Outcome:
passed - result:
[] - Outcome:
-
✅ 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 - Outcome:
-
✅ ci-reports/allure/plugin/behaviors
- Outcome:
passed - result:
[] - Outcome:
-
✅ ci-reports/allure/plugin/packages
- Outcome:
passed - result:
[] - Outcome:
-
✅ ci-reports/allure/plugin/screen-diff
- Outcome:
passed - result:
[] - Outcome:
-
✅ ci-reports/allure/widgets
- Outcome:
passed - result:
[] - Outcome:
-
✅ ci-reports/junit
- Outcome:
passed - result:
[] - Outcome:
-
✅ ci-reports/markdown
- Outcome:
passed - result:
[] - Outcome:
- Outcome:
✅ outputs (1 tests)
-
✅ outputs
- Outcome:
passed - result:
[] - Outcome:
✅ slic (30 tests)
-
✅ slic
- Outcome:
passed - result:
- nodeid: slic/core type: Package - nodeid: slic/devices type: Package - nodeid: slic/gui type: Package - nodeid: slic/utils type: Package-
✅ slic/core
- Outcome:
passed - result:
- nodeid: slic/core/acquisition type: Package - nodeid: slic/core/adjustable type: Package - nodeid: slic/core/condition type: Package - nodeid: slic/core/device type: Package - nodeid: slic/core/scanner type: Package - nodeid: slic/core/sensor type: Package - nodeid: slic/core/task type: Package - Outcome:
-
✅ slic/core/acquisition
- Outcome:
passed - result:
- nodeid: slic/core/acquisition/broker type: Package - Outcome:
-
✅ slic/core/acquisition/broker
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/core/adjustable
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/core/condition
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/core/device
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/core/scanner
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/core/sensor
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/core/task
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices
- Outcome:
passed - result:
- nodeid: slic/devices/cameras type: Package - nodeid: slic/devices/endstations type: Package - nodeid: slic/devices/general type: Package - nodeid: slic/devices/loptics type: Package - nodeid: slic/devices/timing type: Package - nodeid: slic/devices/xdiagnostics type: Package - nodeid: slic/devices/xoptics type: Package - Outcome:
-
✅ slic/devices/cameras
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices/endstations
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices/general
- Outcome:
passed - result:
- nodeid: slic/devices/general/detectors type: Package - nodeid: slic/devices/general/unused type: Dir - Outcome:
-
✅ slic/devices/general/detectors
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices/general/unused
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices/loptics
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices/timing
- Outcome:
passed - result:
- nodeid: slic/devices/timing/events type: Package - Outcome:
-
✅ slic/devices/timing/events
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices/xdiagnostics
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices/xoptics
- Outcome:
passed - result:
- nodeid: slic/devices/xoptics/slits type: Package - nodeid: slic/devices/xoptics/unused type: Dir - Outcome:
-
✅ slic/devices/xoptics/slits
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/devices/xoptics/unused
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/gui
- Outcome:
passed - result:
- nodeid: slic/gui/daqpanels type: Package - nodeid: slic/gui/widgets type: Package - Outcome:
-
✅ slic/gui/daqpanels
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/gui/widgets
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/utils
- Outcome:
passed - result:
- nodeid: slic/utils/ioc type: Package - nodeid: slic/utils/unused type: Dir - Outcome:
-
✅ slic/utils/ioc
- Outcome:
passed - result:
[] - Outcome:
-
✅ slic/utils/unused
- Outcome:
passed - result:
- nodeid: slic/utils/unused/xsim type: Package - Outcome:
-
✅ slic/utils/unused/xsim
- Outcome:
passed - result:
[] - Outcome:
- Outcome:
✅ temp-ci (1 tests)
-
✅ temp-ci
- Outcome:
passed - result:
[] - Outcome:
❌ tests (29 tests)
-
✅ tests
- Outcome:
passed - result:
- nodeid: tests/test_utils_argfwd.py type: Module - nodeid: tests/test_utils_ask_yes_no.py type: Module - nodeid: tests/test_utils_channels.py type: Module - nodeid: tests/test_utils_cpint.py type: Module - nodeid: tests/test_utils_debug.py type: Module - nodeid: tests/test_utils_dictext.py type: Module - nodeid: tests/test_utils_dotdir.py type: Module - nodeid: tests/test_utils_eval.py type: Module - nodeid: tests/test_utils_exceptions.py type: Module - nodeid: tests/test_utils_get_adj.py type: Module - nodeid: tests/test_utils_jsonext.py type: Module - nodeid: tests/test_utils_lazypv.py type: Module - nodeid: tests/test_utils_logcfg.py type: Module - nodeid: tests/test_utils_logign.py type: Module - nodeid: tests/test_utils_metaclasses.py type: Module - nodeid: tests/test_utils_npy.py type: Module - nodeid: tests/test_utils_path.py type: Module - nodeid: tests/test_utils_picklio.py type: Module - nodeid: tests/test_utils_printing.py type: Module - nodeid: tests/test_utils_rangebar.py type: Module - nodeid: tests/test_utils_sendmail.py type: Module - nodeid: tests/test_utils_snapshot.py type: Module - nodeid: tests/test_utils_termtitle.py type: Module - nodeid: tests/test_utils_tqdm_mod.py type: Module - nodeid: tests/test_utils_trinary.py type: Module - nodeid: tests/test_utils_typecast.py type: Module - nodeid: tests/test_utils_utils.py type: Module - nodeid: tests/test_utils_xrange.py type: Module-
❌ tests/test_utils_argfwd.py
- Outcome:
failed - result:
[]- longrepr:
tests/test_utils_argfwd.py:7: in <module> from slic.utils.argfwd import * slic/__init__.py:4: in <module> from slic.gui.wxdebug import wxdebug as _wxdebug slic/gui/__init__.py:2: in <module> from .gui import GUI, run slic/gui/gui.py:3: in <module> from .daqframe import DAQFrame slic/gui/daqframe.py:3: in <module> from .daqpanels import ConfigPanel, StaticPanel, ScanPanel, Scan2DPanel, TweakPanel, GoToPanel slic/gui/daqpanels/__init__.py:2: in <module> from .config import ConfigPanel slic/gui/daqpanels/config.py:3: in <module> from slic.core.acquisition import BSChannels, PVChannels slic/core/__init__.py:5: in <module> from . import scanner slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) slic/utils/argfwd.py:34: in get_args all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' - Outcome:
-
✅ tests/test_utils_ask_yes_no.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-y-True-Question? [y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-yes-True-Question? [y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-n-False-Question? [y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-no-False-Question? [y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input4-True-Question? [y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input5-False-Question? [y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input6-True-Question? [y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[y-y-True-Question? [Y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[y-n-False-Question? [Y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[y--True-Question? [Y/n] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[n-y-True-Question? [y/N] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[n-n-False-Question? [y/N] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[n--False-Question? [y/N] ] type: Function lineno: 8 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-KeyboardInterrupt-False-n] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-KeyboardInterrupt-True-y] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[y-KeyboardInterrupt-False-n] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[y-KeyboardInterrupt-True-y] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-KeyboardInterrupt-False-n] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input5-False-n] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input6-True-y] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input7-False-None] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-user_input8-False-None] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-user_input9-False-Invalid] type: Function lineno: 46 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-EOFError-False-n] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-EOFError-True-y] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-EOFError-True-y] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-True-y] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-False-n] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input5-True-y] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input6-False-n] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-EOFError-True-None] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-False-None] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input9-True-None] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-user_input10-False-None] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input11-True-None] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input12-False-n] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input13-True-y] type: Function lineno: 79 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-invalid-None-user_input0-False] type: Function lineno: 117 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-None-notananswer-user_input1-True] type: Function lineno: 117 - nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-n-nop-user_input2-False] type: Function lineno: 117 - Outcome:
-
✅ tests/test_utils_channels.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_channels.py::test_load_channels_and_channels_class_with_professional_names type: Function lineno: 42 - Outcome:
-
✅ tests/test_utils_cpint.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[red] type: Function lineno: 9 - nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[blue] type: Function lineno: 9 - nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[yellow] type: Function lineno: 9 - nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[green] type: Function lineno: 9 - nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[cyan] type: Function lineno: 9 - nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[magenta] type: Function lineno: 9 - nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[white] type: Function lineno: 9 - nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[black] type: Function lineno: 9 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects0-color_spec0- | -['Fancy', 'list'] | {'a': 7} | None-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects1-color_spec1- - -{'k': [1, 2]} - 99 - ['X', ['Y']]-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects2-color_spec2- / -[] / {} / End-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects3-color_spec3-;-['', [3, 4]];done;0-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects4-color_spec4-::-['alpha', None]::['beta', {}]::stop-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects5-color_spec5- ... -['deep', ['deeper', ['deepest']]] ... X-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects6-color_spec6- // -{'dict': {'nested': [4, 5]}} // [True, False] // 6.28-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects7-color_spec7-==-['A', ['B']]==string==C-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects8-color_spec8- ++ -['Test', None, []] ++ {'v': 0}-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects9-None-;-['no', 'color'];plain-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects10-None- | -['simple'] | | 12-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects11-None- : -[['very', 'deep']] : {'ok': True}-None] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects12-color_spec12-|-['fail', 'color']|123-ValueError] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects13-color_spec13- * -['error'] * {}-ValueError] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects14-color_spec14-//-['nope']//['bad']-ValueError] type: Function lineno: 24 - nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects15-color_spec15----wrong--base-ValueError] type: Function lineno: 24 - Outcome:
-
✅ tests/test_utils_debug.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_debug.py::test_traceable[A-entry0-creating: A(10, 20)] type: Function lineno: 21 - nodeid: tests/test_utils_debug.py::test_traceable[A-entry1-creating: A(10, 20, e=100)] type: Function lineno: 21 - nodeid: tests/test_utils_debug.py::test_traceable[A-entry2-creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})] type: Function lineno: 21 - nodeid: tests/test_utils_debug.py::test_traceable[A-entry3-creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...)] type: Function lineno: 21 - nodeid: tests/test_utils_debug.py::test_traceable[A-entry4-creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])] type: Function lineno: 21 - nodeid: tests/test_utils_debug.py::test_short_repr[abc-10-'abc'] type: Function lineno: 52 - nodeid: tests/test_utils_debug.py::test_short_repr[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10-'aaaaaaaaaa...] type: Function lineno: 52 - nodeid: tests/test_utils_debug.py::test_short_repr[12345-10-12345] type: Function lineno: 52 - nodeid: tests/test_utils_debug.py::test_short_repr[value3-15-[0, 0, 0, 0, 0,...] type: Function lineno: 52 - nodeid: tests/test_utils_debug.py::test_short_repr[None-10-None] type: Function lineno: 52 - nodeid: tests/test_utils_debug.py::test_short_repr[value5-20-Obj(xxxxxxxxxxxxxxxxx...] type: Function lineno: 52 - Outcome:
-
✅ tests/test_utils_dictext.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_dictext.py::test_attrdict_getattr[data0-x-1] type: Function lineno: 12 - nodeid: tests/test_utils_dictext.py::test_attrdict_getattr[data1-world-ok] type: Function lineno: 12 - nodeid: tests/test_utils_dictext.py::test_attrdict_getattr[data2-outer-expected2] type: Function lineno: 12 - nodeid: tests/test_utils_dictext.py::test_attrdict_setattr[initial0-nouveau-123] type: Function lineno: 26 - nodeid: tests/test_utils_dictext.py::test_attrdict_setattr[initial1-b-valeur] type: Function lineno: 26 - nodeid: tests/test_utils_dictext.py::test_attrdict_delattr[initial0-a-expected_keys0] type: Function lineno: 40 - nodeid: tests/test_utils_dictext.py::test_attrdict_delattr[initial1-k-expected_keys1] type: Function lineno: 40 - nodeid: tests/test_utils_dictext.py::test_attrdict_dir[data0-expected_keys0] type: Function lineno: 55 - nodeid: tests/test_utils_dictext.py::test_attrdict_dir[data1-expected_keys1] type: Function lineno: 55 - nodeid: tests/test_utils_dictext.py::test_attrdict_getattr_and_missing[data0-x-1-None] type: Function lineno: 69 - nodeid: tests/test_utils_dictext.py::test_attrdict_getattr_and_missing[data1-missing-None-'MyDict' object has no attribute 'missing'] type: Function lineno: 69 - nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs0-None-kwargs0-expected0] type: Function lineno: 90 - nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs1-other1-kwargs1-expected1] type: Function lineno: 90 - nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs2-other2-kwargs2-expected2] type: Function lineno: 90 - nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs3-None-kwargs3-expected3] type: Function lineno: 90 - nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs4-other4-kwargs4-expected4] type: Function lineno: 90 - nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs5-other5-kwargs5-expected5] type: Function lineno: 90 - Outcome:
-
✅ tests/test_utils_dotdir.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_dotdir.py::test_dotdir_creation_and_base_exists type: Function lineno: 14 - nodeid: tests/test_utils_dotdir.py::test_dotdir_repr_returns_path_str type: Function lineno: 28 - nodeid: tests/test_utils_dotdir.py::test_dotdir_call type: Function lineno: 35 - Outcome:
-
✅ tests/test_utils_eval.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[1 + 2-3] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[4 - 2-2] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[3 * 5-15] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[10 / 2-5.0] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[10 % 3-1] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[-5--5] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[+7-7] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[1 + 2 * 3-7] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[(1 + 2) * 3-9] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[-(-3)-3] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[-2 + 4 * 2-6] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[(4 + 5) * (6 - 1)-45] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[(((3)))-3] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[-(-(-2))--2] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[3 + +4-7] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[3 + -4--1] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[True + 1-2] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid['string'-string] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[1e1000 * 1e1000-inf] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid['a' + 'b'-ab] type: Function lineno: 7 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[2 ** 3-Unsupported BinOp Pow] type: Function lineno: 33 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[3 << 1-Unsupported BinOp LShift] type: Function lineno: 33 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[1 < 2-Unsupported node type Compare] type: Function lineno: 33 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[abs(3)-Unsupported node type Call] type: Function lineno: 33 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[a + 2-Unsupported node type Name] type: Function lineno: 33 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[string-Unsupported node type Name] type: Function lineno: 33 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[[1, 2] + [3]-Unsupported node type List] type: Function lineno: 33 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[{1: 2}-Unsupported node type Dict] type: Function lineno: 33 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_runtime_errors[1 / 0-ZeroDivisionError] type: Function lineno: 52 - nodeid: tests/test_utils_eval.py::test_arithmetic_eval_runtime_errors[10 % 0-ZeroDivisionError] type: Function lineno: 52 - nodeid: tests/test_utils_eval.py::test_forgiving_eval[1 + 2-3] type: Function lineno: 61 - nodeid: tests/test_utils_eval.py::test_forgiving_eval[bad + 2-bad + 2] type: Function lineno: 61 - nodeid: tests/test_utils_eval.py::test_forgiving_eval[1 / 0-1 / 0] type: Function lineno: 61 - nodeid: tests/test_utils_eval.py::test_forgiving_eval[2 ** 10-2 ** 10] type: Function lineno: 61 - nodeid: tests/test_utils_eval.py::test_defaulting_eval[3 * 4-0-12] type: Function lineno: 71 - nodeid: tests/test_utils_eval.py::test_defaulting_eval[invalid + 1-99-99] type: Function lineno: 71 - nodeid: tests/test_utils_eval.py::test_defaulting_eval[1 / 0--1--1] type: Function lineno: 71 - nodeid: tests/test_utils_eval.py::test_defaulting_eval[2 ** 10-42-42] type: Function lineno: 71 - Outcome:
-
✅ tests/test_utils_exceptions.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_key_error-High-level task failed\ncaused by KeyError: 'missing'] type: Function lineno: 28 - nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_index_error-High-level task failed\ncaused by IndexError: list index out of range] type: Function lineno: 28 - nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_zero_division-High-level task failed\ncaused by ZeroDivisionError: division by zero] type: Function lineno: 28 - nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_value_error-High-level task failed\ncaused by ValueError: invalid literal for int() with base 10: 'not_a_number'] type: Function lineno: 28 - nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_type_error-High-level task failed\ncaused by TypeError: can only concatenate str (not "int") to str] type: Function lineno: 28 - nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_key_error-KeyError: 'missing'] type: Function lineno: 60 - nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_index_error-IndexError: list index out of range] type: Function lineno: 60 - nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_zero_division-ZeroDivisionError: division by zero] type: Function lineno: 60 - nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_value_error-ValueError: invalid literal for int() with base 10: 'not_a_number'] type: Function lineno: 60 - nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_type_error-TypeError: can only concatenate str (not "int") to str] type: Function lineno: 60 - Outcome:
-
✅ tests/test_utils_get_adj.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_get_adj.py::test_get_adj_success type: Function lineno: 23 - nodeid: tests/test_utils_get_adj.py::test_get_adj_not_found type: Function lineno: 27 - nodeid: tests/test_utils_get_adj.py::test_ensure_adjs_mixed type: Function lineno: 31 - nodeid: tests/test_utils_get_adj.py::test_get_adjs_filter type: Function lineno: 37 - Outcome:
-
✅ tests/test_utils_jsonext.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj0-expected0] type: Function lineno: 7 - nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj1-42] type: Function lineno: 7 - nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[(1-1j)-expected2] type: Function lineno: 7 - nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj3-/tmp/file.txt] type: Function lineno: 7 - nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj4-expected4] type: Function lineno: 7 - nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj5-expected5] type: Function lineno: 7 - nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj6-expected6] type: Function lineno: 7 - nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj7-expected7] type: Function lineno: 7 - Outcome:
-
✅ tests/test_utils_lazypv.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_lazypv.py::test_getattr type: Function lineno: 14 - Outcome:
-
✅ tests/test_utils_logcfg.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_logcfg.py::test_custom_log_outputs[LONG-<lambda>-This is a LONG message] type: Function lineno: 21 - nodeid: tests/test_utils_logcfg.py::test_custom_log_outputs[ENLARGE-<lambda>-Please ENLARGE this!] type: Function lineno: 21 - nodeid: tests/test_utils_logcfg.py::test_import_logging_once_per_module type: Function lineno: 51 - Outcome:
-
✅ tests/test_utils_logign.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_logign.py::test_ignore_log_msg_behavior[WARNING-This should be ignored-This should appear] type: Function lineno: 9 - nodeid: tests/test_utils_logign.py::test_ignore_log_msg_behavior[ENLARGE-ENLARGE this-Keep this ENLARGE] type: Function lineno: 9 - nodeid: tests/test_utils_logign.py::test_ignore_only_by_level type: Function lineno: 42 - nodeid: tests/test_utils_logign.py::test_ignore_only_by_msg type: Function lineno: 64 - nodeid: tests/test_utils_logign.py::test_filter_removed_after_context type: Function lineno: 86 - Outcome:
-
✅ tests/test_utils_metaclasses.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_metaclasses.py::test_combine_classes_combines_methods type: Function lineno: 14 - nodeid: tests/test_utils_metaclasses.py::test_registryabc_combines_registrymeta_and_abcmeta type: Function lineno: 25 - Outcome:
-
✅ tests/test_utils_npy.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_npy.py::test_nice_arange[0-5-1-expected0] type: Function lineno: 7 - nodeid: tests/test_utils_npy.py::test_nice_arange[5-0--1-expected1] type: Function lineno: 7 - nodeid: tests/test_utils_npy.py::test_nice_arange[1-2-0.3-expected2] type: Function lineno: 7 - nodeid: tests/test_utils_npy.py::test_nice_arange[-2-2-1.5-expected3] type: Function lineno: 7 - nodeid: tests/test_utils_npy.py::test_nice_arange[2.5-0.5--0.4-expected4] type: Function lineno: 7 - nodeid: tests/test_utils_npy.py::test_nice_linspace[0-10-4-expected0] type: Function lineno: 18 - nodeid: tests/test_utils_npy.py::test_nice_linspace[5-15-2-expected1] type: Function lineno: 18 - nodeid: tests/test_utils_npy.py::test_nice_linspace[-5-5-4-expected2] type: Function lineno: 18 - nodeid: tests/test_utils_npy.py::test_nice_linspace[0-1-3-expected3] type: Function lineno: 18 - nodeid: tests/test_utils_npy.py::test_nice_linspace[2-2-3-expected4] type: Function lineno: 18 - nodeid: tests/test_utils_npy.py::test_nice_linspace[3-0-3-expected5] type: Function lineno: 18 - nodeid: tests/test_utils_npy.py::test_nice_linspace[0-1-0-expected6] type: Function lineno: 18 - nodeid: tests/test_utils_npy.py::test_nice_steps_centered[-2-2-2-True-expected0] type: Function lineno: 32 - nodeid: tests/test_utils_npy.py::test_nice_steps_centered[0-5-2-True-expected1] type: Function lineno: 32 - nodeid: tests/test_utils_npy.py::test_nice_steps_centered[0-5-2-False-expected2] type: Function lineno: 32 - nodeid: tests/test_utils_npy.py::test_nice_steps_centered[-1-2-1.5-True-expected3] type: Function lineno: 32 - nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[0-5-2-True-expected0] type: Function lineno: 42 - nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[0-5-2-False-expected1] type: Function lineno: 42 - nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[-1-2-1.5-True-expected2] type: Function lineno: 42 - nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[-1-2-1.5-False-expected3] type: Function lineno: 42 - nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[-2-1-1.2-True-expected4] type: Function lineno: 42 - nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[5-0--2-True-expected5] type: Function lineno: 42 - nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[5-0--2-False-expected6] type: Function lineno: 42 - nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[0-5-2-True-expected0] type: Function lineno: 56 - nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[0-5-2-False-expected1] type: Function lineno: 56 - nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[-1-2-1.5-True-expected2] type: Function lineno: 56 - nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[-1-2-1.5-False-expected3] type: Function lineno: 56 - nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[5-0--2-True-expected4] type: Function lineno: 56 - nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[5-0--2-False-expected5] type: Function lineno: 56 - nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[-3-3-2-True-expected6] type: Function lineno: 56 - nodeid: tests/test_utils_npy.py::test_within_scalar[5-0-10-True] type: Function lineno: 70 - nodeid: tests/test_utils_npy.py::test_within_scalar[5-6-10-False] type: Function lineno: 70 - nodeid: tests/test_utils_npy.py::test_within_scalar[5-None-10-True] type: Function lineno: 70 - nodeid: tests/test_utils_npy.py::test_within_scalar[5-0-None-True] type: Function lineno: 70 - nodeid: tests/test_utils_npy.py::test_within_scalar[5-None-None-True] type: Function lineno: 70 - nodeid: tests/test_utils_npy.py::test_within_fraction[data0-2-5-0.6] type: Function lineno: 81 - nodeid: tests/test_utils_npy.py::test_within_fraction[data1-5-25-0.6666666666666666] type: Function lineno: 81 - nodeid: tests/test_utils_npy.py::test_within_fraction[data2-None-2-0.3333333333333333] type: Function lineno: 81 - nodeid: tests/test_utils_npy.py::test_within_fraction[data3-0-1-0] type: Function lineno: 81 - nodeid: tests/test_utils_npy.py::test_fraction_to_percentage[0.456-1-45.6] type: Function lineno: 92 - nodeid: tests/test_utils_npy.py::test_fraction_to_percentage[0.12345-2-12.35] type: Function lineno: 92 - nodeid: tests/test_utils_npy.py::test_fraction_to_percentage[0.9999-0-100.0] type: Function lineno: 92 - nodeid: tests/test_utils_npy.py::test_get_dtype[val0-ndarray] type: Function lineno: 101 - nodeid: tests/test_utils_npy.py::test_get_dtype[val1-list] type: Function lineno: 101 - nodeid: tests/test_utils_npy.py::test_get_dtype[3.14-float] type: Function lineno: 101 - nodeid: tests/test_utils_npy.py::test_get_shape[val0-expected0] type: Function lineno: 114 - nodeid: tests/test_utils_npy.py::test_get_shape[val1-expected1] type: Function lineno: 114 - nodeid: tests/test_utils_npy.py::test_get_shape[42-expected2] type: Function lineno: 114 - nodeid: tests/test_utils_npy.py::test_is_array[val0-True] type: Function lineno: 123 - nodeid: tests/test_utils_npy.py::test_is_array[val1-False] type: Function lineno: 123 - nodeid: tests/test_utils_npy.py::test_is_array[42-False] type: Function lineno: 123 - Outcome:
-
❌ tests/test_utils_path.py
- Outcome:
failed - result:
[]- longrepr:
tests/test_utils_path.py:8: in <module> import slic.utils.ask_yes_no slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/__init__.py:8: in <module> from . import core slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/__init__.py:5: in <module> from . import scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/__init__.py:2: in <module> from .scanner import Scanner slic/utils/logcfg.py:60: in import_with_log module = orig_import(*args, **kwargs) slic/core/scanner/scanner.py:43: in <module> class Scanner: slic/core/scanner/scanner.py:121: in Scanner @forwards_to(make_scan, nfilled=3) slic/utils/argfwd.py:12: in forwards_to pos_inner, kw_inner = get_args(func_inner) slic/utils/argfwd.py:34: in get_args all_args = spec.args E AttributeError: 'Signature' object has no attribute 'args' - Outcome:
-
✅ tests/test_utils_picklio.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj0] type: Function lineno: 6 - nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj1] type: Function lineno: 6 - nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[simple string] type: Function lineno: 6 - nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[42] type: Function lineno: 6 - nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[3.14159] type: Function lineno: 6 - nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj5] type: Function lineno: 6 - nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj6] type: Function lineno: 6 - Outcome:
-
✅ tests/test_utils_printing.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_printing.py::test_maxlen_valid[seq0-3] type: Function lineno: 8 - nodeid: tests/test_utils_printing.py::test_maxlen_valid[seq1-0] type: Function lineno: 8 - nodeid: tests/test_utils_printing.py::test_maxlen_valid[seq2-3] type: Function lineno: 8 - nodeid: tests/test_utils_printing.py::test_maxlen_valid[seq3-2] type: Function lineno: 8 - nodeid: tests/test_utils_printing.py::test_strlen[42-2] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_strlen[hello-5] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_strlen[False-5] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_strlen[None-4] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_strlen[value4-9] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_strlen[value5-8] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_strlen[value6-6] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_strlen[-0] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_strlen[this is a phrase-16] type: Function lineno: 17 - nodeid: tests/test_utils_printing.py::test_maxstrlen[seq0-6] type: Function lineno: 31 - nodeid: tests/test_utils_printing.py::test_maxstrlen[seq1-3] type: Function lineno: 31 - nodeid: tests/test_utils_printing.py::test_maxstrlen[seq2-9] type: Function lineno: 31 - nodeid: tests/test_utils_printing.py::test_maxstrlen[seq3-16] type: Function lineno: 31 - nodeid: tests/test_utils_printing.py::test_maxstrlen[seq4-5] type: Function lineno: 31 - nodeid: tests/test_utils_printing.py::test_transpose_matrix[data0-expected0] type: Function lineno: 41 - nodeid: tests/test_utils_printing.py::test_transpose_matrix[data1-expected1] type: Function lineno: 41 - nodeid: tests/test_utils_printing.py::test_transpose_matrix[data2-expected2] type: Function lineno: 41 - nodeid: tests/test_utils_printing.py::test_prepend[initial0-1-expected0] type: Function lineno: 50 - nodeid: tests/test_utils_printing.py::test_prepend[initial1-a-expected1] type: Function lineno: 50 - nodeid: tests/test_utils_printing.py::test_prepend[initial2-prepend2-expected2] type: Function lineno: 50 - nodeid: tests/test_utils_printing.py::test_prepend[initial3-prepend3-expected3] type: Function lineno: 50 - nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries0-widths0- a bbb] type: Function lineno: 61 - nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries1-widths1- 1 2] type: Function lineno: 61 - nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries2-widths2- long val] type: Function lineno: 61 - nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries3-widths3- True False] type: Function lineno: 61 - nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries4-widths4- 123 4567] type: Function lineno: 61 - nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries5-widths5- text with space end] type: Function lineno: 61 - nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries6-widths6- {'a': 1} {'b': 2}] type: Function lineno: 61 - nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries7-widths7- [1, 2] [3, 4]] type: Function lineno: 61 - nodeid: tests/test_utils_printing.py::test_fmt_label_sep[widths0------ ----] type: Function lineno: 74 - nodeid: tests/test_utils_printing.py::test_fmt_label_sep[widths1-=-== ===] type: Function lineno: 74 - nodeid: tests/test_utils_printing.py::test_fmt_label_sep[widths2-*-***** **] type: Function lineno: 74 - nodeid: tests/test_utils_printing.py::test_printable_dict_with_header[d0-HeaderTest-expected_lines0] type: Function lineno: 82 - nodeid: tests/test_utils_printing.py::test_printable_dict_of_dicts type: Function lineno: 101 - nodeid: tests/test_utils_printing.py::test_printable_table[data0-labels0-A: ID\nB: \u2713 Success?\nC: SuperPrecisionValue\nD: Result Metadata\n\n# A B C D\n- ------------- ----- ---------- ----------------------------\n0 X1 True 0.1234 {'meta': 'ok'}\n1 AnotherSample False 98765.4321 {'meta': [1, 2, 3]}\n2 Z None 0.0 {'meta': {'nested_key': 42}}] type: Function lineno: 128 - Outcome:
-
✅ tests/test_utils_rangebar.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_rangebar.py::test_full_progress_bar type: Function lineno: 14 - nodeid: tests/test_utils_rangebar.py::test_half_progress_bar type: Function lineno: 27 - nodeid: tests/test_utils_rangebar.py::test_zero_progress_bar type: Function lineno: 42 - nodeid: tests/test_utils_rangebar.py::test_overflow_bar type: Function lineno: 56 - nodeid: tests/test_utils_rangebar.py::test_underflow_bar type: Function lineno: 69 - nodeid: tests/test_utils_rangebar.py::test_repr type: Function lineno: 82 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[0- ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[10-\u2588 ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[25-\u2588\u2588\u258c ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[27-\u2588\u2588\u258a ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[49-\u2588\u2588\u2588\u2588\u2589 ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[50-\u2588\u2588\u2588\u2588\u2588 ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[51-\u2588\u2588\u2588\u2588\u2588\u258f ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[73-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[75-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[90-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ] type: Function lineno: 89 - nodeid: tests/test_utils_rangebar.py::test_each_value_separately[100-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588] type: Function lineno: 89 - Outcome:
-
✅ tests/test_utils_sendmail.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_sendmail.py::test_sendmail_real_local_verbose type: Function lineno: 70 - Outcome:
-
✅ tests/test_utils_snapshot.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_snapshot.py::test_snapshot[exclude_internals] type: Function lineno: 83 - nodeid: tests/test_utils_snapshot.py::test_snapshot[include_internals] type: Function lineno: 83 - nodeid: tests/test_utils_snapshot.py::test_snapshot[empty_case] type: Function lineno: 83 - nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_str] type: Function lineno: 83 - nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_id] type: Function lineno: 83 - nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_case_insensitive] type: Function lineno: 83 - nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_length] type: Function lineno: 83 - nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_reverse] type: Function lineno: 83 - Outcome:
-
✅ tests/test_utils_termtitle.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_termtitle.py::test_terminal_title_with_tmux type: Function lineno: 9 - Outcome:
-
✅ tests/test_utils_tqdm_mod.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_tqdm_mod.py::test_complete_progress_bar type: Function lineno: 25 - nodeid: tests/test_utils_tqdm_mod.py::test_set_progress_multiple_points type: Function lineno: 42 - nodeid: tests/test_utils_tqdm_mod.py::test_format_sizeof_alignment type: Function lineno: 65 - nodeid: tests/test_utils_tqdm_mod.py::test_float_alignment_in_bar type: Function lineno: 83 - nodeid: tests/test_utils_tqdm_mod.py::test_custom_unit type: Function lineno: 132 - nodeid: tests/test_utils_tqdm_mod.py::test_clamp_above_total type: Function lineno: 146 - nodeid: tests/test_utils_tqdm_mod.py::test_clamp_below_zero type: Function lineno: 163 - Outcome:
-
✅ tests/test_utils_trinary.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_trinary.py::test_check_trinary_valid_values type: Function lineno: 6 - nodeid: tests/test_utils_trinary.py::test_check_trinary_invalid_value type: Function lineno: 14 - nodeid: tests/test_utils_trinary.py::test_check_trinary_with_custom_allowed_values type: Function lineno: 22 - Outcome:
-
✅ tests/test_utils_typecast.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_typecast.py::test_downcast_success type: Function lineno: 24 - nodeid: tests/test_utils_typecast.py::test_upcast_success type: Function lineno: 30 - nodeid: tests/test_utils_typecast.py::test_downcast_invalid type: Function lineno: 41 - nodeid: tests/test_utils_typecast.py::test_upcast_invalid type: Function lineno: 48 - nodeid: tests/test_utils_typecast.py::test_object_identity_preserved type: Function lineno: 53 - nodeid: tests/test_utils_typecast.py::test_ensure_subclass_valid type: Function lineno: 64 - nodeid: tests/test_utils_typecast.py::test_ensure_subclass_invalid type: Function lineno: 67 - nodeid: tests/test_utils_typecast.py::test_cast_changes_class type: Function lineno: 79 - nodeid: tests/test_utils_typecast.py::test_cast_preserves_identity type: Function lineno: 86 - Outcome:
-
✅ tests/test_utils_utils.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_utils.py::test_singleton_instance type: Function lineno: 17 - nodeid: tests/test_utils_utils.py::test_singleton_identity type: Function lineno: 25 - nodeid: tests/test_utils_utils.py::test_typename[None-NoneType] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[True-bool] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[42-int] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[3.14-float] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[text-str] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[obj5-set] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[obj6-list] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[obj7-list] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[obj8-dict] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[<lambda>-function] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[sample_function-function] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[nested-function] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[len-builtin_function_or_method] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[sum-builtin_function_or_method] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[math-module] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[sys-module] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[function-type] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[<genexpr>-generator] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_typename[obj18-list_iterator] type: Function lineno: 44 - nodeid: tests/test_utils_utils.py::test_next_int[nums0-4] type: Function lineno: 77 - nodeid: tests/test_utils_utils.py::test_next_int[nums1-21] type: Function lineno: 77 - nodeid: tests/test_utils_utils.py::test_next_int[nums2-0] type: Function lineno: 77 - nodeid: tests/test_utils_utils.py::test_zero_pad[7-3-007] type: Function lineno: 87 - nodeid: tests/test_utils_utils.py::test_zero_pad[123-5-00123] type: Function lineno: 87 - nodeid: tests/test_utils_utils.py::test_zero_pad[0-2-00] type: Function lineno: 87 - nodeid: tests/test_utils_utils.py::test_iround[3.6-4] type: Function lineno: 97 - nodeid: tests/test_utils_utils.py::test_iround[2.1-2] type: Function lineno: 97 - nodeid: tests/test_utils_utils.py::test_iround[-1.5--2] type: Function lineno: 97 - nodeid: tests/test_utils_utils.py::test_iround[-1.4--1] type: Function lineno: 97 - nodeid: tests/test_utils_utils.py::test_sorted_naturally[items0-expected0] type: Function lineno: 108 - nodeid: tests/test_utils_utils.py::test_sorted_naturally[items1-expected1] type: Function lineno: 108 - nodeid: tests/test_utils_utils.py::test_sorted_naturally_reverse[items0-expected0] type: Function lineno: 115 - Outcome:
-
✅ tests/test_utils_xrange.py
- Outcome:
passed - result:
- nodeid: tests/test_utils_xrange.py::test_xrange_finite[args0-kwargs0-expected0] type: Function lineno: 11 - nodeid: tests/test_utils_xrange.py::test_xrange_finite[args1-kwargs1-expected1] type: Function lineno: 11 - nodeid: tests/test_utils_xrange.py::test_xrange_finite[args2-kwargs2-expected2] type: Function lineno: 11 - nodeid: tests/test_utils_xrange.py::test_xrange_finite[args3-kwargs3-expected3] type: Function lineno: 11 - nodeid: tests/test_utils_xrange.py::test_xrange_infinite[args0-kwargs0-count(0)] type: Function lineno: 20 - nodeid: tests/test_utils_xrange.py::test_xrange_infinite[args1-kwargs1-count(0, 2)] type: Function lineno: 20 - nodeid: tests/test_utils_xrange.py::test_xrange_too_many_args[args0] type: Function lineno: 31 - Outcome:
- Outcome:
✅ . (1 tests)
-
✅ .
- Outcome:
passed - result:
- nodeid: ci-reports type: Dir - nodeid: outputs type: Dir - nodeid: slic type: Package - nodeid: temp-ci type: Dir - nodeid: tests type: Dir - Outcome:
⚠️ Warnings
Warnings nº1
message: invalid escape sequence \-
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/bsread/h5.py
lineno: 207
Warnings nº2
message: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/ca.py
lineno: 28
Warnings nº3
message: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pkg_resources/__init__.py
lineno: 3154
Warnings nº4
message: The module numpy.dual is deprecated. Instead of using dual, use the functions directly from numpy or scipy.
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/scipy/fft/__init__.py
lineno: 97