Clone
1
run 1504 TEST commit 4670b69
ci-bot edited this page 2025-08-03 11:38:32 +00:00

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.0007124249823391438
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014017708599567413
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00045306701213121414
      

      outcome:

      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.0004089539870619774
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014565279707312584
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00032795174047350883
      

      outcome:

      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.00039652595296502113
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014944770373404026
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.000315267127007246
      

      outcome:

      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.00039014173671603203
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014525600709021091
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00031737424433231354
      

      outcome:

      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.00041868118569254875
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001449356321245432
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0003322949633002281
      

      outcome:

      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.0003817630931735039
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014944248832762241
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0003199959173798561
      

      outcome:

      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.00038448208943009377
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014338470064103603
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00028919707983732224
      

      outcome:

      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.00036556413397192955
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001393602229654789
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00030208006501197815
      

      outcome:

      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.00037575699388980865
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013853469863533974
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00029920972883701324
      

      outcome:

      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.0003648926503956318
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001422007568180561
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002954513765871525
      

      outcome:

      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.0003679567016661167
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014021852985024452
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0003029871731996536
      

      outcome:

      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.0003668651916086674
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001399804838001728
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002924380823969841
      

      outcome:

      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.00037180399522185326
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001381807029247284
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00029006972908973694
      

      outcome:

      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.00038129743188619614
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001421382650732994
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00029740110039711
      

      outcome:

      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.0003863750025629997
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014479132369160652
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00034388573840260506
      

      outcome:

      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.000378279946744442
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001409878022968769
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00028771301731467247
      

      outcome:

      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.00038542691618204117
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001415276899933815
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002908799797296524
      

      outcome:

      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.00037059374153614044
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014194436371326447
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0003023780882358551
      

      outcome:

      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.00036875205114483833
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013836841098964214
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00031042424961924553
      

      outcome:

      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.0003607310354709625
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014111651107668877
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00028676027432084084
      

      outcome:

      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.0003616148605942726
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013898080214858055
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00029572518542408943
      

      outcome:

      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.00036712316796183586
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013807211071252823
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00029998598620295525
      

      outcome:

      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.000372827984392643
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015054610557854176
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002834298647940159
      

      outcome:

      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.00038872892037034035
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013843020424246788
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002909703180193901
      

      outcome:

      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.000379370991140604
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013765497133135796
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002772500738501549
      

      outcome:

      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.0003730151802301407
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013563190586864948
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002831951715052128
      

      outcome:

      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.0003667939454317093
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001389786135405302
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00029215915128588676
      

      outcome:

      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.00040072202682495117
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001447819173336029
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002990509383380413
      

      outcome:

      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.0003744303248822689
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013969088904559612
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00030142534524202347
      

      outcome:

      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.0003603682853281498
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013480358757078648
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002896753139793873
      

      outcome:

      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.0003683231770992279
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013989019207656384
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00029401108622550964
      

      outcome:

      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.00037879496812820435
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013930252753198147
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00028674211353063583
      

      outcome:

      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.00036910315975546837
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014151488430798054
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002960953861474991
      

      outcome:

      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.00037393392994999886
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013922471553087234
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002861679531633854
      

      outcome:

      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.0003696940839290619
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013775099068880081
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00028843479230999947
      

      outcome:

      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.00036715809255838394
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013852743431925774
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002864082343876362
      

      outcome:

      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.00038154004141688347
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014054970815777779
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00028865179046988487
      

      outcome:

      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.00041093118488788605
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013821208849549294
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0003546341322362423
      

      outcome:

      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.00044284015893936157
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015259790234267712
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00036289356648921967
      

      outcome:

      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.000464871060103178
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015450399369001389
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00036361487582325935
      

      outcome:

      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.0002994891256093979
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001608261838555336
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0003288690932095051
      

      outcome:

      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.00038598477840423584
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015307571738958359
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00033687008544802666
      

      outcome:

      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.0003481903113424778
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015610354021191597
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00033059995621442795
      

      outcome:

      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.00037170620635151863
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015228670090436935
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0003447253257036209
      

      outcome:

      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.0003871861845254898
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001537554431706667
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00032721972092986107
      

      outcome:

      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.0002689668908715248
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000824514776468277
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.0002200673334300518
      

      outcome:

      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.0002615125849843025
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005579809658229351
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.0002462179400026798
      

      outcome:

      passed
      
  • 📄 test_utils_get_adj.py

    Function: test_get_adj_success

    • Test 145

      📌 Setup phase

      duration:

      0.00015240907669067383
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003444231115281582
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00014649517834186554
      

      outcome:

      passed
      

    Function: test_ensure_adjs_mixed

    • Test 147

      📌 Setup phase

      duration:

      0.00018973881378769875
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00028799381107091904
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00015602493658661842
      

      outcome:

      passed
      

    Function: test_get_adjs_filter

    • Test 148

      📌 Setup phase

      duration:

      0.00012790318578481674
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002829660661518574
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00014494918286800385
      

      outcome:

      passed
      
  • 📄 test_utils_logcfg.py

    Function: test_import_logging_once_per_module

    • Test 160

      📌 Setup phase

      duration:

      0.00014610681682825089
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.2219571177847683
      

      outcome:

      failed
      

      crash:

      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').returncode
      

      traceback:

      -   path: tests/test_utils_logcfg.py
        lineno: 71
        message: AssertionError
      

      longrepr:

      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.0004616258665919304
      

      outcome:

      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.0003770338371396065
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001078357920050621
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00025962572544813156
      

      outcome:

      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.00035517802461981773
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005500484257936478
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00022827787324786186
      

      outcome:

      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.00035999203100800514
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008438737131655216
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.0002345619723200798
      

      outcome:

      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.0003923228941857815
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005466439761221409
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.0002288571558892727
      

      outcome:

      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.0003892900422215462
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004760781303048134
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00023942021653056145
      

      outcome:

      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.0004027998074889183
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005010482855141163
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00022574793547391891
      

      outcome:

      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.00041061267256736755
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005276370793581009
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00023480597883462906
      

      outcome:

      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.0003945808857679367
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004889601841568947
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00023918692022562027
      

      outcome:

      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.00040007010102272034
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004942389205098152
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.0002802042290568352
      

      outcome:

      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.0003991900011897087
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004964987747371197
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.0002625808119773865
      

      outcome:

      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.0004035751335322857
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009125219658017159
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00028821593150496483
      

      outcome:

      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.000422618817538023
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009412290528416634
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00028511881828308105
      

      outcome:

      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.0004056142643094063
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005440479144454002
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.0002512768842279911
      

      outcome:

      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.00044327881187200546
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005426150746643543
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.0002519097179174423
      

      outcome:

      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.0004320703446865082
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005360948853194714
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00026581669226288795
      

      outcome:

      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.0004661339335143566
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005672657862305641
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002478770911693573
      

      outcome:

      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.0003473181277513504
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002938290126621723
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002246820367872715
      

      outcome:

      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.00027870479971170425
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00028182612732052803
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002345200628042221
      

      outcome:

      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.0002897470258176327
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002809888683259487
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002020588144659996
      

      outcome:

      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.0002908059395849705
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002453303895890713
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002568839117884636
      

      outcome:

      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.000329561997205019
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002672499977052212
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.00024838559329509735
      

      outcome:

      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.0003048032522201538
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002932450734078884
      

      outcome:

      failed
      

      crash:

      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: AttributeError
      

      longrepr:

      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.0002045668661594391
      

      outcome:

      passed
      
  • 📄 test_utils_tqdm_mod.py

    Function: test_float_alignment_in_bar

    • Test 295

      📌 Setup phase

      duration:

      0.00012576021254062653
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012254309840500355
      

      outcome:

      failed
      

      crash:

      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: AssertionError
      

      longrepr:

      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.00014259200543165207
      

      outcome:

      passed
      
Passed (277)
  • 📄 test_utils_channels.py

    Function: test_load_channels_and_channels_class_with_professional_names

    • Test 41

      📌 Setup phase

      duration:

      0.00016159703955054283
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012560011819005013
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014335708692669868
      

      outcome:

      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.0002528303302824497
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001901751384139061
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013668835163116455
      

      outcome:

      passed
      
    • Test 43
      params: base_color="blue"

      📌 Runtime Parameters

      params:
        base_color: blue
      id: blue
      

      📌 Setup phase

      duration:

      0.000202203169465065
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015299906954169273
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012132199481129646
      

      outcome:

      passed
      
    • Test 44
      params: base_color="yellow"

      📌 Runtime Parameters

      params:
        base_color: yellow
      id: yellow
      

      📌 Setup phase

      duration:

      0.0001880400814116001
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015320582315325737
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001232372596859932
      

      outcome:

      passed
      
    • Test 45
      params: base_color="green"

      📌 Runtime Parameters

      params:
        base_color: green
      id: green
      

      📌 Setup phase

      duration:

      0.00017780903726816177
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014445697888731956
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011942815035581589
      

      outcome:

      passed
      
    • Test 46
      params: base_color="cyan"

      📌 Runtime Parameters

      params:
        base_color: cyan
      id: cyan
      

      📌 Setup phase

      duration:

      0.00018752086907625198
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015130406245589256
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000131901353597641
      

      outcome:

      passed
      
    • Test 47
      params: base_color="magenta"

      📌 Runtime Parameters

      params:
        base_color: magenta
      id: magenta
      

      📌 Setup phase

      duration:

      0.00017055310308933258
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001442660577595234
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012708082795143127
      

      outcome:

      passed
      
    • Test 48
      params: base_color="white"

      📌 Runtime Parameters

      params:
        base_color: white
      id: white
      

      📌 Setup phase

      duration:

      0.00017616990953683853
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014977436512708664
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012979330494999886
      

      outcome:

      passed
      
    • Test 49
      params: base_color="black"

      📌 Runtime Parameters

      params:
        base_color: black
      id: black
      

      📌 Setup phase

      duration:

      0.00017320923507213593
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014886027202010155
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001286170445382595
      

      outcome:

      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.0006631235592067242
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002612648531794548
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024818675592541695
      

      outcome:

      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.0004687272012233734
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024946359917521477
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025077397003769875
      

      outcome:

      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.0004784571938216686
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022109830752015114
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025782082229852676
      

      outcome:

      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.0004617339000105858
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024391990154981613
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024077296257019043
      

      outcome:

      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.00045066699385643005
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022011995315551758
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002548322081565857
      

      outcome:

      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.0004662522114813328
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022426387295126915
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023664580658078194
      

      outcome:

      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.0004517752677202225
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023330608382821083
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024225981906056404
      

      outcome:

      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.0004705721512436867
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021343166008591652
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025319913402199745
      

      outcome:

      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.00045752106234431267
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002351086586713791
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023884885013103485
      

      outcome:

      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.00046394625678658485
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020996900275349617
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025892117992043495
      

      outcome:

      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.0004561101086437702
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002261749468743801
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024293642491102219
      

      outcome:

      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.00044798990711569786
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020960019901394844
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025247177109122276
      

      outcome:

      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.0004698401317000389
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000580132007598877
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002757338806986809
      

      outcome:

      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.00047662481665611267
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002413480542600155
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024761492386460304
      

      outcome:

      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.00044672004878520966
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023671379312872887
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002493690699338913
      

      outcome:

      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.00047948118299245834
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002262531779706478
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00026198383420705795
      

      outcome:

      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.0003940560854971409
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017755385488271713
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001653679646551609
      

      outcome:

      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.00031258026137948036
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014837458729743958
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015568872913718224
      

      outcome:

      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.00027141207829117775
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014654314145445824
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015345308929681778
      

      outcome:

      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.0002549709752202034
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013915915042161942
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016283802688121796
      

      outcome:

      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.0003103208728134632
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017070164903998375
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001766979694366455
      

      outcome:

      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.0002647791989147663
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014588842168450356
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015728967264294624
      

      outcome:

      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.0002659088931977749
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015135901048779488
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015927385538816452
      

      outcome:

      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.0002800598740577698
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015000393614172935
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001559159718453884
      

      outcome:

      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.00029247812926769257
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014295801520347595
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015821261331439018
      

      outcome:

      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.00027652038261294365
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018643680959939957
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001595849171280861
      

      outcome:

      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.00026951730251312256
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001852121204137802
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001628049649298191
      

      outcome:

      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.0002185567282140255
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015496090054512024
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014094775542616844
      

      outcome:

      passed
      
    • Test 85
      params: data={}, expected_keys="set()"

      📌 Runtime Parameters

      params:
        data:
      {}
        expected_keys: set()
      id: data1-expected_keys1
      

      📌 Setup phase

      duration:

      0.0002305838279426098
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017090421169996262
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014089792966842651
      

      outcome:

      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.00033514201641082764
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014712102711200714
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016598403453826904
      

      outcome:

      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.00030266400426626205
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016735540702939034
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019136397168040276
      

      outcome:

      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.0003252169117331505
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017117708921432495
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017291726544499397
      

      outcome:

      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.0003237370401620865
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016719475388526917
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016345921903848648
      

      outcome:

      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.00032312702387571335
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001546149142086506
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017563020810484886
      

      outcome:

      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.0003094831481575966
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014400295913219452
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017812475562095642
      

      outcome:

      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.0002971501089632511
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015953881666064262
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017058802768588066
      

      outcome:

      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.0003165821544826031
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00029781926423311234
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017215916886925697
      

      outcome:

      passed
      
  • 📄 test_utils_dotdir.py

    Function: test_dotdir_creation_and_base_exists

    • Test 94

      📌 Setup phase

      duration:

      0.001630046870559454
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002812640741467476
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022228993475437164
      

      outcome:

      passed
      

    Function: test_dotdir_repr_returns_path_str

    • Test 95

      📌 Setup phase

      duration:

      0.0006621992215514183
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002664760686457157
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020601507276296616
      

      outcome:

      passed
      

    Function: test_dotdir_call

    • Test 96

      📌 Setup phase

      duration:

      0.0006719520315527916
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024812808260321617
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021727988496422768
      

      outcome:

      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.0002562282606959343
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001995791681110859
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014801323413848877
      

      outcome:

      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.00028330041095614433
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001729610376060009
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015544192865490913
      

      outcome:

      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.00022556213662028313
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001665172167122364
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001789601519703865
      

      outcome:

      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.00023357197642326355
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000172504223883152
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001422632485628128
      

      outcome:

      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.00022648880258202553
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001886887475848198
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014231400564312935
      

      outcome:

      passed
      
    • Test 102
      params: expr="-5", expected=-5

      📌 Runtime Parameters

      params:
        expr: -5
        expected: -5
      id: -5--5
      

      📌 Setup phase

      duration:

      0.0002276962623000145
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001660119742155075
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015256181359291077
      

      outcome:

      passed
      
    • Test 103
      params: expr="+7", expected=7

      📌 Runtime Parameters

      params:
        expr: +7
        expected: 7
      id: +7-7
      

      📌 Setup phase

      duration:

      0.00031155673786997795
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018085818737745285
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001652962528169155
      

      outcome:

      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.00022843899205327034
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016644177958369255
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015144795179367065
      

      outcome:

      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.00022559193894267082
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019487878307700157
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001463061198592186
      

      outcome:

      passed
      
    • Test 106
      params: expr="-(-3)", expected=3

      📌 Runtime Parameters

      params:
        expr: -(-3)
        expected: 3
      id: -(-3)-3
      

      📌 Setup phase

      duration:

      0.00022342801094055176
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017543276771903038
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013788463547825813
      

      outcome:

      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.00024310685694217682
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017253495752811432
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001421426422894001
      

      outcome:

      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.0002446710132062435
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017378898337483406
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001427866518497467
      

      outcome:

      passed
      
    • Test 109
      params: expr="(((3)))", expected=3

      📌 Runtime Parameters

      params:
        expr: (((3)))
        expected: 3
      id: (((3)))-3
      

      📌 Setup phase

      duration:

      0.0002321307547390461
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015570176765322685
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001650969497859478
      

      outcome:

      passed
      
    • Test 110
      params: expr="-(-(-2))", expected=-2

      📌 Runtime Parameters

      params:
        expr: -(-(-2))
        expected: -2
      id: -(-(-2))--2
      

      📌 Setup phase

      duration:

      0.00022523989900946617
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015730876475572586
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015471363440155983
      

      outcome:

      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.00022711604833602905
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019945483654737473
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014819996431469917
      

      outcome:

      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.00023469189181923866
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016444409266114235
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014309817925095558
      

      outcome:

      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.0002664397470653057
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016476772725582123
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001392490230500698
      

      outcome:

      passed
      
    • Test 114
      params: expr="'string'", expected="string"

      📌 Runtime Parameters

      params:
        expr: 'string'
        expected: string
      id: 'string'-string
      

      📌 Setup phase

      duration:

      0.00023419223725795746
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015290873125195503
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001508612185716629
      

      outcome:

      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.0002281409688293934
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015663588419556618
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015889806672930717
      

      outcome:

      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.0002314629964530468
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015571387484669685
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014559784904122353
      

      outcome:

      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.00021919002756476402
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005376199260354042
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001600608229637146
      

      outcome:

      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.0002467446029186249
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00037208711728453636
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015074806287884712
      

      outcome:

      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.0002364390529692173
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004120832309126854
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015510711818933487
      

      outcome:

      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.00024556228891015053
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000359309371560812
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017701461911201477
      

      outcome:

      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.0002320469357073307
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00036948826164007187
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014676200225949287
      

      outcome:

      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.00024437205865979195
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019439728930592537
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001431480050086975
      

      outcome:

      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.0002465113066136837
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00034801289439201355
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017770100384950638
      

      outcome:

      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.0002386174164712429
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00037029292434453964
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014599226415157318
      

      outcome:

      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.00024640606716275215
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001881602220237255
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001432490535080433
      

      outcome:

      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.0002430691383779049
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017371494323015213
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013629300519824028
      

      outcome:

      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.00023819785565137863
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016257818788290024
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015265913680195808
      

      outcome:

      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.0002284361980855465
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016660522669553757
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015133293345570564
      

      outcome:

      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.00022350484505295753
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019498495385050774
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014365185052156448
      

      outcome:

      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.00021365098655223846
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018119998276233673
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013944320380687714
      

      outcome:

      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.0003059930168092251
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016511371359229088
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001545189879834652
      

      outcome:

      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.00029289769008755684
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001643807627260685
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016592582687735558
      

      outcome:

      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.000259466003626585
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001627868041396141
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016445573419332504
      

      outcome:

      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.00026620784774422646
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001783459447324276
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000164862722158432
      

      outcome:

      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.0002754400484263897
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016811536625027657
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015035690739750862
      

      outcome:

      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.00023738015443086624
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014951592311263084
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001493571326136589
      

      outcome:

      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.00023030303418636322
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015087006613612175
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018322840332984924
      

      outcome:

      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.00022765016183257103
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015971669927239418
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001553008332848549
      

      outcome:

      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.00022726645693182945
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001764809712767601
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014003319665789604
      

      outcome:

      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.0009080423042178154
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010667252354323864
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00047794077545404434
      

      outcome:

      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.0006289659067988396
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010218489915132523
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000493842177093029
      

      outcome:

      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.0006112139672040939
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008295383304357529
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000470863189548254
      

      outcome:

      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.0005804398097097874
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008449489250779152
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00042980024591088295
      

      outcome:

      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.0006149751134216785
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008582831360399723
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004861378110945225
      

      outcome:

      passed
      
  • 📄 test_utils_get_adj.py

    Function: test_get_adj_not_found

    • Test 146

      📌 Setup phase

      duration:

      0.000547126866877079
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009719319641590118
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004011867567896843
      

      outcome:

      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.000788519624620676
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00048222625628113747
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019723409786820412
      

      outcome:

      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.0006984006613492966
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004001636989414692
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018500909209251404
      

      outcome:

      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.0006117289885878563
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00040449807420372963
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018622400239109993
      

      outcome:

      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.0006444994360208511
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003642006777226925
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001992369070649147
      

      outcome:

      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.0006201141513884068
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00038652075454592705
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002088877372443676
      

      outcome:

      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.0006012702360749245
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000386945903301239
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021220603957772255
      

      outcome:

      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.0006747869774699211
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004054587334394455
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020952196791768074
      

      outcome:

      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.0006298101507127285
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005641481839120388
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001988760195672512
      

      outcome:

      passed
      
  • 📄 test_utils_lazypv.py

    Function: test_getattr

    • Test 157

      📌 Setup phase

      duration:

      0.00014117732644081116
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.09950611786916852
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0005437699146568775
      

      outcome:

      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.0023588412441313267
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009821802377700806
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00028109876438975334
      

      outcome:

      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.0004322580061852932
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00041132885962724686
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023201806470751762
      

      outcome:

      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.0006631026044487953
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000933357048779726
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025829486548900604
      

      outcome:

      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.0004305429756641388
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005236510187387466
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024042511358857155
      

      outcome:

      passed
      

    Function: test_ignore_only_by_level

    • Test 163

      📌 Setup phase

      duration:

      0.00023436080664396286
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004065250977873802
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017809681594371796
      

      outcome:

      passed
      

    Function: test_ignore_only_by_msg

    • Test 164

      📌 Setup phase

      duration:

      0.00027235131710767746
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003732219338417053
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017904117703437805
      

      outcome:

      passed
      

    Function: test_filter_removed_after_context

    • Test 165

      📌 Setup phase

      duration:

      0.00023677106946706772
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00038847001269459724
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001766919158399105
      

      outcome:

      passed
      
  • 📄 test_utils_metaclasses.py

    Function: test_combine_classes_combines_methods

    • Test 166

      📌 Setup phase

      duration:

      0.00014739995822310448
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002305787056684494
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010612979531288147
      

      outcome:

      passed
      

    Function: test_registryabc_combines_registrymeta_and_abcmeta

    • Test 167

      📌 Setup phase

      duration:

      0.00011310819536447525
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.005366522818803787
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001321430318057537
      

      outcome:

      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.00038758479058742523
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.022281373851001263
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023789005354046822
      

      outcome:

      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.00036273663863539696
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00042756088078022003
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019712699577212334
      

      outcome:

      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.0003851698711514473
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004340857267379761
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019221007823944092
      

      outcome:

      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.00032438989728689194
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003678589127957821
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001832917332649231
      

      outcome:

      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.00034966040402650833
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003297426737844944
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020083505660295486
      

      outcome:

      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.00033826520666480064
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003306991420686245
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020585162565112114
      

      outcome:

      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.00032341573387384415
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035177310928702354
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018081720918416977
      

      outcome:

      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.00034342799335718155
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00033185118809342384
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019580591470003128
      

      outcome:

      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.00033484073355793953
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00037395209074020386
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017953524366021156
      

      outcome:

      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.00038409605622291565
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004056459292769432
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019378773868083954
      

      outcome:

      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.00038279686123132706
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003256681375205517
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020280014723539352
      

      outcome:

      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.0004394659772515297
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00037904689088463783
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020975386723876
      

      outcome:

      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.00038100266829133034
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003548143431544304
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021354807540774345
      

      outcome:

      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.0003827633336186409
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00036051124334335327
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020935991778969765
      

      outcome:

      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.00038465484976768494
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003268830478191376
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020541390404105186
      

      outcome:

      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.00038531888276338577
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016095489263534546
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017157196998596191
      

      outcome:

      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.00032908329740166664
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014545023441314697
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017004506662487984
      

      outcome:

      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.0003122049383819103
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001538270153105259
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016683386638760567
      

      outcome:

      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.0003189533017575741
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014123786240816116
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016700103878974915
      

      outcome:

      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.0003011319786310196
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001351865939795971
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001918366178870201
      

      outcome:

      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.00031576724722981453
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000388462096452713
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001801210455596447
      

      outcome:

      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.0003466987982392311
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00026963092386722565
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017966609448194504
      

      outcome:

      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.0003150077536702156
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024686194956302643
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018077390268445015
      

      outcome:

      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.0003243819810450077
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00025062309578061104
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017779506742954254
      

      outcome:

      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.0002897786907851696
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015572598204016685
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016308017075061798
      

      outcome:

      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.0002702777273952961
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014444999396800995
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015401281416416168
      

      outcome:

      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.0002523353323340416
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014572497457265854
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001548677682876587
      

      outcome:

      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.00022754399105906487
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015341490507125854
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015245936810970306
      

      outcome:

      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.00025138072669506073
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014015194028615952
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013946881517767906
      

      outcome:

      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.0002237376756966114
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001375209540128708
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001572621986269951
      

      outcome:

      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.0002255248837172985
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013992004096508026
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015866989269852638
      

      outcome:

      passed
      
    • Test 214
      params: val=[1, 2, 3], expected=[]

      📌 Runtime Parameters

      params:
        val:
          - 1
          - 2
          - 3
        expected:
      []
      id: val1-expected1
      

      📌 Setup phase

      duration:

      0.000241096131503582
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001503261737525463
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013756798580288887
      

      outcome:

      passed
      
    • Test 215
      params: val=42, expected=[]

      📌 Runtime Parameters

      params:
        val: 42
        expected:
      []
      id: 42-expected2
      

      📌 Setup phase

      duration:

      0.00021151360124349594
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015287334099411964
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014060596004128456
      

      outcome:

      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.00022367434576153755
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013427669182419777
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015485798940062523
      

      outcome:

      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.0002501648850739002
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014108186587691307
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013769324868917465
      

      outcome:

      passed
      
    • Test 218
      params: val=42, expected=false

      📌 Runtime Parameters

      params:
        val: 42
        expected: False
      id: 42-False
      

      📌 Setup phase

      duration:

      0.00023420201614499092
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013756705448031425
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001547480933368206
      

      outcome:

      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.0008930140174925327
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000458285678178072
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017418107017874718
      

      outcome:

      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.0006135329604148865
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003315596841275692
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018435390666127205
      

      outcome:

      passed
      
    • Test 221
      params: test_obj="simple string"

      📌 Runtime Parameters

      params:
        test_obj: simple string
      id: simple string
      

      📌 Setup phase

      duration:

      0.0005827620625495911
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00032108603045344353
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001609213650226593
      

      outcome:

      passed
      
    • Test 222
      params: test_obj=42

      📌 Runtime Parameters

      params:
        test_obj: 42
      id: 42
      

      📌 Setup phase

      duration:

      0.0006615510210394859
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003129602409899235
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001656799577176571
      

      outcome:

      passed
      
    • Test 223
      params: test_obj=3.14159

      📌 Runtime Parameters

      params:
        test_obj: 3.14159
      id: 3.14159
      

      📌 Setup phase

      duration:

      0.000578208826482296
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003304947167634964
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016227783635258675
      

      outcome:

      passed
      
    • Test 224
      params: test_obj=[true, false, null]

      📌 Runtime Parameters

      params:
        test_obj:
          - True
          - (vide)
          - (vide)
      id: test_obj5
      

      📌 Setup phase

      duration:

      0.0005538659170269966
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003048330545425415
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017823511734604836
      

      outcome:

      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.0005496828816831112
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003162599168717861
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017094286158680916
      

      outcome:

      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.00028068898245692253
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017675990238785744
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014641182497143745
      

      outcome:

      passed
      
    • Test 227
      params: seq=[], expected=0

      📌 Runtime Parameters

      params:
        seq:
      []
        expected: 0
      id: seq1-0
      

      📌 Setup phase

      duration:

      0.0002330699935555458
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016749324277043343
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014279363676905632
      

      outcome:

      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.00023339316248893738
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001407102681696415
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014370540156960487
      

      outcome:

      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.00023657223209738731
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014855992048978806
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015348102897405624
      

      outcome:

      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.00024786079302430153
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001393081620335579
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014261389151215553
      

      outcome:

      passed
      
    • Test 231
      params: value="hello", expected=5

      📌 Runtime Parameters

      params:
        value: hello
        expected: 5
      id: hello-5
      

      📌 Setup phase

      duration:

      0.0002366378903388977
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013744691386818886
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014188000932335854
      

      outcome:

      passed
      
    • Test 232
      params: value=false, expected=5

      📌 Runtime Parameters

      params:
        value: False
        expected: 5
      id: False-5
      

      📌 Setup phase

      duration:

      0.0002281591296195984
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013654818758368492
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014773989096283913
      

      outcome:

      passed
      
    • Test 233
      params: value=null, expected=4

      📌 Runtime Parameters

      params:
        value: None
        expected: 4
      id: None-4
      

      📌 Setup phase

      duration:

      0.00021064234897494316
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001348690129816532
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014666887000203133
      

      outcome:

      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.0002306867390871048
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013870513066649437
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001379246823489666
      

      outcome:

      passed
      
    • Test 235
      params: value={"a": 1}, expected=8

      📌 Runtime Parameters

      params:
        value:
          a: 1
        expected: 8
      id: value5-8
      

      📌 Setup phase

      duration:

      0.00021472526714205742
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013889512047171593
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014156056568026543
      

      outcome:

      passed
      
    • Test 236
      params: value=[1, 2], expected=6

      📌 Runtime Parameters

      params:
        value:
          - 1
          - 2
        expected: 6
      id: value6-6
      

      📌 Setup phase

      duration:

      0.0002436051145195961
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014348328113555908
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013743620365858078
      

      outcome:

      passed
      
    • Test 237
      params: value="", expected=0

      📌 Runtime Parameters

      params:
        value: None
        expected: 0
      id: -0
      

      📌 Setup phase

      duration:

      0.00025028781965374947
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000135758426040411
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013224175199866295
      

      outcome:

      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.00020980602130293846
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014169421046972275
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013638893142342567
      

      outcome:

      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.00023865792900323868
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014661718159914017
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013827811926603317
      

      outcome:

      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.00022687576711177826
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015422096475958824
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000135697890073061
      

      outcome:

      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.000213616993278265
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015009799972176552
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001371358521282673
      

      outcome:

      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.00021305587142705917
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014124903827905655
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014453893527388573
      

      outcome:

      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.00021999794989824295
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014901719987392426
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013911817222833633
      

      outcome:

      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.0002415962517261505
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015106098726391792
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002544652670621872
      

      outcome:

      passed
      
    • Test 245

      📌 Runtime Parameters

      params:
        data:
          -       - a
            - b
          -       - c
            - d
        expected:
          -       - a
            - c
          -       - b
            - d
      id: data1-expected1
      

      📌 Setup phase

      duration:

      0.0002643326297402382
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015247194096446037
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001409929245710373
      

      outcome:

      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.00025714095681905746
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001471252180635929
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014078523963689804
      

      outcome:

      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.00026833219453692436
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014107907190918922
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000158009584993124
      

      outcome:

      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.00028020190075039864
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017307978123426437
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016466109082102776
      

      outcome:

      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.00028061820194125175
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001448630355298519
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015563564375042915
      

      outcome:

      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.00027285516262054443
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001370101235806942
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016417400911450386
      

      outcome:

      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.0002854778431355953
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015063583850860596
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017134938389062881
      

      outcome:

      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.0002730502746999264
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014725793153047562
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001720879226922989
      

      outcome:

      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.0002722581848502159
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014019198715686798
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015302794054150581
      

      outcome:

      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.0002788589335978031
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015660887584090233
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001651868224143982
      

      outcome:

      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.00026817014440894127
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001393021084368229
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014787493273615837
      

      outcome:

      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.0002769618295133114
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000145650003105402
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001527690328657627
      

      outcome:

      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.00027526775375008583
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014303717762231827
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016418984159827232
      

      outcome:

      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.0002809036523103714
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014428701251745224
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017120316624641418
      

      outcome:

      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.0002857879735529423
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016362406313419342
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015317415818572044
      

      outcome:

      passed
      
    • Test 260
      params: widths=[2, 3], line="=", expected="== ==="

      📌 Runtime Parameters

      params:
        widths:
          - 2
          - 3
        line: =
        expected: == ===
      id: widths1-=-== ===
      

      📌 Setup phase

      duration:

      0.00027427589520812035
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014396291226148605
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016573630273342133
      

      outcome:

      passed
      
    • Test 261
      params: widths=[5, 2], line="*", expected="***** **"

      📌 Runtime Parameters

      params:
        widths:
          - 5
          - 2
        line: *
        expected: ***** **
      id: widths2-*-***** **
      

      📌 Setup phase

      duration:

      0.00026606908068060875
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014038896188139915
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015153596177697182
      

      outcome:

      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.00027310894802212715
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006070686504244804
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001892419531941414
      

      outcome:

      passed
      

    Function: test_printable_dict_of_dicts

    • Test 263

      📌 Setup phase

      duration:

      0.00011631427332758904
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00025827670469880104
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010201381519436836
      

      outcome:

      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.0003013662062585354
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035674870014190674
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018356088548898697
      

      outcome:

      passed
      
  • 📄 test_utils_rangebar.py

    Function: test_full_progress_bar

    • Test 265

      📌 Setup phase

      duration:

      0.00039035407826304436
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003149122931063175
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018892763182520866
      

      outcome:

      passed
      

    Function: test_half_progress_bar

    • Test 266

      📌 Setup phase

      duration:

      0.00034689297899603844
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002256808802485466
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00027052778750658035
      

      outcome:

      passed
      

    Function: test_zero_progress_bar

    • Test 267

      📌 Setup phase

      duration:

      0.00028999755159020424
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020814593881368637
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001656869426369667
      

      outcome:

      passed
      

    Function: test_overflow_bar

    • Test 268

      📌 Setup phase

      duration:

      0.0002613486722111702
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020895805209875107
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015541864559054375
      

      outcome:

      passed
      

    Function: test_underflow_bar

    • Test 269

      📌 Setup phase

      duration:

      0.0002868776209652424
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018819887191057205
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015736697241663933
      

      outcome:

      passed
      

    Function: test_repr

    • Test 270

      📌 Setup phase

      duration:

      0.0001168958842754364
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016198400408029556
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011616013944149017
      

      outcome:

      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.0003767339512705803
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019932305440306664
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020552007481455803
      

      outcome:

      passed
      
    • Test 272
      params: value=10, expected_bar_part="█ "

      📌 Runtime Parameters

      params:
        value: 10
        expected_bar_part:          
      id: 10-\u2588         
      

      📌 Setup phase

      duration:

      0.00035995012149214745
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019988976418972015
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001842603087425232
      

      outcome:

      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.0003565708175301552
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019402522593736649
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018919305875897408
      

      outcome:

      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.00033806823194026947
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001856326125562191
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002054399810731411
      

      outcome:

      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.00035836221650242805
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019449181854724884
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018749991431832314
      

      outcome:

      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.0003927932120859623
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018951762467622757
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001846766099333763
      

      outcome:

      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.0003511430695652962
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018831808120012283
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019622920081019402
      

      outcome:

      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.000375320203602314
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020858505740761757
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001869508996605873
      

      outcome:

      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.0003660409711301327
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018990691751241684
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018688198179006577
      

      outcome:

      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.0003416379913687706
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019665388390421867
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001904163509607315
      

      outcome:

      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.0003436887636780739
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018847500905394554
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018928805366158485
      

      outcome:

      passed
      
  • 📄 test_utils_sendmail.py

    Function: test_sendmail_real_local_verbose

    • Test 282

      📌 Setup phase

      duration:

      0.0001297546550631523
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.9944361839443445
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00027096644043922424
      

      outcome:

      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.00033922214061021805
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016729487106204033
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018366891890764236
      

      outcome:

      passed
      
  • 📄 test_utils_termtitle.py

    Function: test_terminal_title_with_tmux

    • Test 291

      📌 Setup phase

      duration:

      0.00016403384506702423
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.01624183915555477
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020250072702765465
      

      outcome:

      passed
      
  • 📄 test_utils_tqdm_mod.py

    Function: test_complete_progress_bar

    • Test 292

      📌 Setup phase

      duration:

      0.00014516431838274002
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.008119754958897829
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013008294627070427
      

      outcome:

      passed
      

    Function: test_set_progress_multiple_points

    • Test 293

      📌 Setup phase

      duration:

      0.00012253038585186005
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001398442778736353
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012517394497990608
      

      outcome:

      passed
      

    Function: test_format_sizeof_alignment

    • Test 294

      📌 Setup phase

      duration:

      0.00016098516061902046
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015942193567752838
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010562315583229065
      

      outcome:

      passed
      

    Function: test_custom_unit

    • Test 296

      📌 Setup phase

      duration:

      0.000120548065751791
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.004758516792207956
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013218121603131294
      

      outcome:

      passed
      

    Function: test_clamp_above_total

    • Test 297

      📌 Setup phase

      duration:

      0.00013515306636691093
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004849052056670189
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011492893099784851
      

      outcome:

      passed
      

    Function: test_clamp_below_zero

    • Test 298

      📌 Setup phase

      duration:

      0.00011317804455757141
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006087683141231537
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012059789150953293
      

      outcome:

      passed
      
  • 📄 test_utils_trinary.py

    Function: test_check_trinary_valid_values

    • Test 299

      📌 Setup phase

      duration:

      0.00012777606025338173
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001626182347536087
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010214373469352722
      

      outcome:

      passed
      

    Function: test_check_trinary_invalid_value

    • Test 300

      📌 Setup phase

      duration:

      0.0001116311177611351
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00038280198350548744
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012311292812228203
      

      outcome:

      passed
      

    Function: test_check_trinary_with_custom_allowed_values

    • Test 301

      📌 Setup phase

      duration:

      0.00012249406427145004
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001648077741265297
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010903086513280869
      

      outcome:

      passed
      
  • 📄 test_utils_typecast.py

    Function: test_downcast_success

    • Test 302

      📌 Setup phase

      duration:

      0.00012558698654174805
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000196204986423254
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010518403723835945
      

      outcome:

      passed
      

    Function: test_upcast_success

    • Test 303

      📌 Setup phase

      duration:

      0.00010635377839207649
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014642300084233284
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010218890383839607
      

      outcome:

      passed
      

    Function: test_downcast_invalid

    • Test 304

      📌 Setup phase

      duration:

      0.00010678684338927269
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003521740436553955
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010561197996139526
      

      outcome:

      passed
      

    Function: test_upcast_invalid

    • Test 305

      📌 Setup phase

      duration:

      0.00010820059105753899
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019332719966769218
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012504076585173607
      

      outcome:

      passed
      

    Function: test_object_identity_preserved

    • Test 306

      📌 Setup phase

      duration:

      0.00010534096509218216
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001716911792755127
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010450836271047592
      

      outcome:

      passed
      

    Function: test_ensure_subclass_valid

    • Test 307

      📌 Setup phase

      duration:

      0.00010647997260093689
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016772979870438576
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010191788896918297
      

      outcome:

      passed
      

    Function: test_ensure_subclass_invalid

    • Test 308

      📌 Setup phase

      duration:

      0.00010313605889678001
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016051670536398888
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.774323552846909e-05
      

      outcome:

      passed
      

    Function: test_cast_changes_class

    • Test 309

      📌 Setup phase

      duration:

      0.0001071183942258358
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013829302042722702
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010721106082201004
      

      outcome:

      passed
      

    Function: test_cast_preserves_identity

    • Test 310

      📌 Setup phase

      duration:

      0.00010124687105417252
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001289290376007557
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001062583178281784
      

      outcome:

      passed
      
  • 📄 test_utils_utils.py

    Function: test_singleton_instance

    • Test 311

      📌 Setup phase

      duration:

      0.00012658676132559776
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015655113384127617
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012136716395616531
      

      outcome:

      passed
      

    Function: test_singleton_identity

    • Test 312

      📌 Setup phase

      duration:

      0.00010647391900420189
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013311393558979034
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.833462536334991e-05
      

      outcome:

      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.0002927822060883045
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015463493764400482
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015653669834136963
      

      outcome:

      passed
      
    • Test 314
      params: obj=true, expected="bool"

      📌 Runtime Parameters

      params:
        obj: True
        expected: bool
      id: True-bool
      

      📌 Setup phase

      duration:

      0.00023106811568140984
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015806499868631363
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014133797958493233
      

      outcome:

      passed
      
    • Test 315
      params: obj=42, expected="int"

      📌 Runtime Parameters

      params:
        obj: 42
        expected: int
      id: 42-int
      

      📌 Setup phase

      duration:

      0.00022622710093855858
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016652187332510948
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013731187209486961
      

      outcome:

      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.00021480582654476166
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001431237906217575
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014094309881329536
      

      outcome:

      passed
      
    • Test 317
      params: obj="text", expected="str"

      📌 Runtime Parameters

      params:
        obj: text
        expected: str
      id: text-str
      

      📌 Setup phase

      duration:

      0.00024270685389637947
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001342911273241043
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001350543461740017
      

      outcome:

      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.000251151155680418
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013812072575092316
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013689277693629265
      

      outcome:

      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.00022804876789450645
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013817427679896355
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013518799096345901
      

      outcome:

      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.00021981215104460716
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014117639511823654
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015541119500994682
      

      outcome:

      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.00021928967908024788
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001316848210990429
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016245711594820023
      

      outcome:

      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.00026136403903365135
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015361886471509933
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013576727360486984
      

      outcome:

      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.0002232072874903679
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014165882021188736
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013673165813088417
      

      outcome:

      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.0003333841450512409
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014896690845489502
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014160294085741043
      

      outcome:

      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.00023095589131116867
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013377005234360695
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013465574011206627
      

      outcome:

      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.0002341768704354763
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013706181198358536
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013733003288507462
      

      outcome:

      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.0002278950996696949
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000137310940772295
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016821036115288734
      

      outcome:

      passed
      
    • Test 328
      params: obj="", expected="module"

      📌 Runtime Parameters

      params:
        obj: <module 'sys' (built-in)>
        expected: module
      id: sys-module
      

      📌 Setup phase

      duration:

      0.00021623307839035988
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013173604384064674
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014761509373784065
      

      outcome:

      passed
      
    • Test 329
      params: obj="", expected="type"

      📌 Runtime Parameters

      params:
        obj: <class 'function'>
        expected: type
      id: function-type
      

      📌 Setup phase

      duration:

      0.00022482406347990036
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016255304217338562
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013929232954978943
      

      outcome:

      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.00022869696840643883
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014232005923986435
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013820501044392586
      

      outcome:

      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.0002323416993021965
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013755867257714272
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013520289212465286
      

      outcome:

      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.00027573108673095703
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014697806909680367
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014448491856455803
      

      outcome:

      passed
      
    • Test 333
      params: nums=[10, 20], expected=21

      📌 Runtime Parameters

      params:
        nums:
          - 10
          - 20
        expected: 21
      id: nums1-21
      

      📌 Setup phase

      duration:

      0.00021879514679312706
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013570208102464676
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013440102338790894
      

      outcome:

      passed
      
    • Test 334
      params: nums=[], expected=0

      📌 Runtime Parameters

      params:
        nums:
      []
        expected: 0
      id: nums2-0
      

      📌 Setup phase

      duration:

      0.00024279486387968063
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013999780640006065
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001652059145271778
      

      outcome:

      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.00026817992329597473
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014401786029338837
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002305959351360798
      

      outcome:

      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.0002958499826490879
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021916022524237633
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00027358997613191605
      

      outcome:

      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.0002913014031946659
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013815797865390778
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017210189253091812
      

      outcome:

      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.0002275160513818264
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001471787691116333
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013916892930865288
      

      outcome:

      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.00022259121760725975
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013926532119512558
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001449529081583023
      

      outcome:

      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.0002601160667836666
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014033960178494453
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013857008889317513
      

      outcome:

      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.00022824900224804878
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013643084093928337
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013774633407592773
      

      outcome:

      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.00021855393424630165
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016822293400764465
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016258982941508293
      

      outcome:

      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.00022815074771642685
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001598619855940342
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014004996046423912
      

      outcome:

      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.00021850690245628357
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016212603077292442
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014511588960886002
      

      outcome:

      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.0002804328687489033
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001844889484345913
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001679002307355404
      

      outcome:

      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.00027364492416381836
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013691233471035957
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001497841440141201
      

      outcome:

      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.000272601842880249
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001451936550438404
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016108201816678047
      

      outcome:

      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.00025653373450040817
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002414938062429428
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001657409593462944
      

      outcome:

      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.0002878052182495594
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015371199697256088
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001571900211274624
      

      outcome:

      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.00028618331998586655
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014771334826946259
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015161000192165375
      

      outcome:

      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.00017988821491599083
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004305201582610607
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000631122849881649
      

      outcome:

      passed
      

📚 Collected files

(1 tests)
    • Outcome: passed
    • result:
    -   nodeid: .
      type: Dir
    
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
      
    • ci-reports/allure/data
      • Outcome: passed
      • result:
      -   nodeid: ci-reports/allure/data/test-cases
        type: Dir
      
    • ci-reports/allure/data/test-cases
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/export
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/history
      • Outcome: passed
      • result:
      []
      
    • 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
      
    • ci-reports/allure/plugin/behaviors
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/plugin/packages
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/plugin/screen-diff
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/widgets
      • Outcome: passed
      • result:
      []
      
    • ci-reports/junit
      • Outcome: passed
      • result:
      []
      
    • ci-reports/markdown
      • Outcome: passed
      • result:
      []
      
outputs (1 tests)
  • outputs
    • Outcome: passed
    • result:
    []
    
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
      
    • slic/core/acquisition
      • Outcome: passed
      • result:
      -   nodeid: slic/core/acquisition/broker
        type: Package
      
    • slic/core/acquisition/broker
      • Outcome: passed
      • result:
      []
      
    • slic/core/adjustable
      • Outcome: passed
      • result:
      []
      
    • slic/core/condition
      • Outcome: passed
      • result:
      []
      
    • slic/core/device
      • Outcome: passed
      • result:
      []
      
    • slic/core/scanner
      • Outcome: passed
      • result:
      []
      
    • slic/core/sensor
      • Outcome: passed
      • result:
      []
      
    • slic/core/task
      • Outcome: passed
      • result:
      []
      
    • 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
      
    • slic/devices/cameras
      • Outcome: passed
      • result:
      []
      
    • slic/devices/endstations
      • Outcome: passed
      • result:
      []
      
    • slic/devices/general
      • Outcome: passed
      • result:
      -   nodeid: slic/devices/general/detectors
        type: Package
      -   nodeid: slic/devices/general/unused
        type: Dir
      
    • slic/devices/general/detectors
      • Outcome: passed
      • result:
      []
      
    • slic/devices/general/unused
      • Outcome: passed
      • result:
      []
      
    • slic/devices/loptics
      • Outcome: passed
      • result:
      []
      
    • slic/devices/timing
      • Outcome: passed
      • result:
      -   nodeid: slic/devices/timing/events
        type: Package
      
    • slic/devices/timing/events
      • Outcome: passed
      • result:
      []
      
    • slic/devices/xdiagnostics
      • Outcome: passed
      • result:
      []
      
    • slic/devices/xoptics
      • Outcome: passed
      • result:
      -   nodeid: slic/devices/xoptics/slits
        type: Package
      -   nodeid: slic/devices/xoptics/unused
        type: Dir
      
    • slic/devices/xoptics/slits
      • Outcome: passed
      • result:
      []
      
    • slic/devices/xoptics/unused
      • Outcome: passed
      • result:
      []
      
    • slic/gui
      • Outcome: passed
      • result:
      -   nodeid: slic/gui/daqpanels
        type: Package
      -   nodeid: slic/gui/widgets
        type: Package
      
    • slic/gui/daqpanels
      • Outcome: passed
      • result:
      []
      
    • slic/gui/widgets
      • Outcome: passed
      • result:
      []
      
    • slic/utils
      • Outcome: passed
      • result:
      -   nodeid: slic/utils/ioc
        type: Package
      -   nodeid: slic/utils/unused
        type: Dir
      
    • slic/utils/ioc
      • Outcome: passed
      • result:
      []
      
    • slic/utils/unused
      • Outcome: passed
      • result:
      -   nodeid: slic/utils/unused/xsim
        type: Package
      
    • slic/utils/unused/xsim
      • Outcome: passed
      • result:
      []
      
temp-ci (1 tests)
  • temp-ci
    • Outcome: passed
    • result:
    []
    
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'
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • tests/test_utils_lazypv.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_lazypv.py::test_getattr
        type: Function
        lineno: 14
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • 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'
      
    • 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
      
    • 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
      
    • 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
      
    • tests/test_utils_sendmail.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_sendmail.py::test_sendmail_real_local_verbose
        type: Function
        lineno: 70
      
    • 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
      
    • tests/test_utils_termtitle.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_termtitle.py::test_terminal_title_with_tmux
        type: Function
        lineno: 9
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
    • 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
      
. (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
    

⚠️ 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