Clone
1
run 1803 TEST commit c31072b
ci-bot edited this page 2025-08-07 09:41:26 +00:00

Test Report

View CI Run 1803 | Commit c31072b

🧪 Test Report

Generated on 2025-08-07 11:41:16 CEST

🧾 General Info

  • duration: 14.465158462524414
  • root: /workspace/tligui_y/slic
  • environment: {}

📋 Summary

  • Passed: 474
  • Failed: 35
  • Total: 509
  • Collected: 509

🔎 Tests

Passed (474)
  • 📄 morbidissimo/morbidissimo/morioc/test_infer_type.py

    Function: test_it_type_str

    • Test 1

      📌 Setup phase

      duration:

      0.0008877860382199287
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00028966087847948074
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002614022232592106
      

      outcome:

      passed
      

    Function: test_it_type_float

    • Test 2

      📌 Setup phase

      duration:

      0.0001591760665178299
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001904708333313465
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012891320511698723
      

      outcome:

      passed
      

    Function: test_it_type_int

    • Test 3

      📌 Setup phase

      duration:

      0.00011468585580587387
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001587849110364914
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012216204777359962
      

      outcome:

      passed
      

    Function: test_it_value_str

    • Test 4

      📌 Setup phase

      duration:

      0.00011508213356137276
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015125423669815063
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010323198512196541
      

      outcome:

      passed
      

    Function: test_it_value_long_str

    • Test 5

      📌 Setup phase

      duration:

      0.00011179130524396896
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015260279178619385
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010499497875571251
      

      outcome:

      passed
      

    Function: test_it_value_float

    • Test 6

      📌 Setup phase

      duration:

      0.00011459272354841232
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018399907276034355
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010062707588076591
      

      outcome:

      passed
      

    Function: test_it_value_int

    • Test 7

      📌 Setup phase

      duration:

      0.0001738639548420906
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001876489259302616
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013962527737021446
      

      outcome:

      passed
      

    Function: test_it_empty_value_str

    • Test 8

      📌 Setup phase

      duration:

      0.00011026719585061073
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000156451016664505
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014006998389959335
      

      outcome:

      passed
      

    Function: test_it_empty_value_float

    • Test 9

      📌 Setup phase

      duration:

      0.00012239301577210426
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001457161270081997
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012565823271870613
      

      outcome:

      passed
      

    Function: test_it_empty_value_int

    • Test 10

      📌 Setup phase

      duration:

      0.00013008061796426773
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016419077292084694
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013295281678438187
      

      outcome:

      passed
      

    Function: test_pstrue_str

    • Test 11

      📌 Setup phase

      duration:

      0.00013665389269590378
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001602470874786377
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016214698553085327
      

      outcome:

      passed
      

    Function: test_pstrue_float

    • Test 12

      📌 Setup phase

      duration:

      0.00017895828932523727
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015273410826921463
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010165898129343987
      

      outcome:

      passed
      

    Function: test_pstrue_int

    • Test 13

      📌 Setup phase

      duration:

      0.00013692211359739304
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014984188601374626
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010104896500706673
      

      outcome:

      passed
      

    Function: test_psfalse_str

    • Test 14

      📌 Setup phase

      duration:

      0.00012550828978419304
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001470576971769333
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.867595508694649e-05
      

      outcome:

      passed
      

    Function: test_psfalse_float

    • Test 15

      📌 Setup phase

      duration:

      0.00010637007653713226
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001468360424041748
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010097585618495941
      

      outcome:

      passed
      

    Function: test_psfalse_int

    • Test 16

      📌 Setup phase

      duration:

      0.00010940898209810257
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014054588973522186
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.727198630571365e-05
      

      outcome:

      passed
      

    Function: test_it_None

    • Test 17

      📌 Setup phase

      duration:

      0.0001095249317586422
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019039679318666458
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010136980563402176
      

      outcome:

      passed
      

    Function: test_it_True

    • Test 18

      📌 Setup phase

      duration:

      0.00010604783892631531
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016357563436031342
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.934091940522194e-05
      

      outcome:

      passed
      

    Function: test_it_False

    • Test 19

      📌 Setup phase

      duration:

      0.00012760097160935402
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00040051108226180077
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001137731596827507
      

      outcome:

      passed
      

    Function: test_it_nan

    • Test 20

      📌 Setup phase

      duration:

      0.00013493094593286514
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014067580923438072
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010218005627393723
      

      outcome:

      passed
      

    Function: test_it_np_nan

    • Test 21

      📌 Setup phase

      duration:

      0.00012031989172101021
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001582740806043148
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010002125054597855
      

      outcome:

      passed
      

    Function: test_it_np1D_int

    • Test 22

      📌 Setup phase

      duration:

      0.00010575074702501297
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002244901843369007
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011058896780014038
      

      outcome:

      passed
      

    Function: test_it_np2D_int

    • Test 23

      📌 Setup phase

      duration:

      0.00013735191896557808
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001858128234744072
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011660903692245483
      

      outcome:

      passed
      

    Function: test_it_np1D_float

    • Test 24

      📌 Setup phase

      duration:

      0.00013161404058337212
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002557579427957535
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012521492317318916
      

      outcome:

      passed
      

    Function: test_it_np2D_float

    • Test 25

      📌 Setup phase

      duration:

      0.00012313900515437126
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022125011309981346
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010385224595665932
      

      outcome:

      passed
      

    Function: test_it_np1D_bool

    • Test 26

      📌 Setup phase

      duration:

      0.00012429384514689445
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016716402024030685
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010429928079247475
      

      outcome:

      passed
      

    Function: test_it_np1D_object

    • Test 27

      📌 Setup phase

      duration:

      0.00011904211714863777
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001633521169424057
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010223686695098877
      

      outcome:

      passed
      

    Function: test_it_np_scalar_int

    • Test 28

      📌 Setup phase

      duration:

      0.00011975178495049477
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017597805708646774
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.952113032341003e-05
      

      outcome:

      passed
      

    Function: test_it_np_scalar_float

    • Test 29

      📌 Setup phase

      duration:

      0.00011534197255969048
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017492379993200302
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010264106094837189
      

      outcome:

      passed
      

    Function: test_it_np_scalar_bool

    • Test 30

      📌 Setup phase

      duration:

      0.00011635664850473404
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017099501565098763
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.95672307908535e-05
      

      outcome:

      passed
      

    Function: test_it_list

    • Test 31

      📌 Setup phase

      duration:

      0.00011066673323512077
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014831125736236572
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.962590411305428e-05
      

      outcome:

      passed
      

    Function: test_it_tuple

    • Test 32

      📌 Setup phase

      duration:

      0.0001107589341700077
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014595314860343933
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010745599865913391
      

      outcome:

      passed
      
  • 📄 test_utils_argfwd.py

    Function: test_split_at

    • Test 33
      params: lst=["a", "b", "c", "d"], index=2, expected="a", "b"], ["c", "d"

      📌 Runtime Parameters

      params:
        lst:
          - a
          - b
          - c
          - d
        index: 2
        expected:
          -       - a
            - b
          -       - c
            - d
      id: lst0-2-expected0
      

      📌 Setup phase

      duration:

      0.0004945462569594383
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016265874728560448
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018628593534231186
      

      outcome:

      passed
      
    • Test 34
      params: lst=["x", "y"], index=1, expected="x"], ["y"

      📌 Runtime Parameters

      params:
        lst:
          - x
          - y
        index: 1
        expected:
          -       - x
          -       - y
      id: lst1-1-expected1
      

      📌 Setup phase

      duration:

      0.0003345976583659649
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015545077621936798
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018071290105581284
      

      outcome:

      passed
      
    • Test 35
      params: lst=[], index=0, expected=], [

      📌 Runtime Parameters

      params:
        lst:
      []
        index: 0
        expected:
          - (vide)
          - (vide)
      id: lst2-0-expected2
      

      📌 Setup phase

      duration:

      0.00029589515179395676
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014134403318166733
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017154589295387268
      

      outcome:

      passed
      

    Function: test_merge_lists_unique

    • Test 36
      params: a=["a", "b"], b=["b", "c"], expected=["a", "b", "c"]

      📌 Runtime Parameters

      params:
        a:
          - a
          - b
        b:
          - b
          - c
        expected:
          - a
          - b
          - c
      id: a0-b0-expected0
      

      📌 Setup phase

      duration:

      0.00028049107640981674
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015608500689268112
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001709158532321453
      

      outcome:

      passed
      
    • Test 37
      params: a=[], b=["x"], expected=["x"]

      📌 Runtime Parameters

      params:
        a:
      []
        b:
          - x
        expected:
          - x
      id: a1-b1-expected1
      

      📌 Setup phase

      duration:

      0.000285447109490633
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015695299953222275
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001532738097012043
      

      outcome:

      passed
      
    • Test 38
      params: a=["x", "y"], b=["x", "y"], expected=["x", "y"]

      📌 Runtime Parameters

      params:
        a:
          - x
          - y
        b:
          - x
          - y
        expected:
          - x
          - y
      id: a2-b2-expected2
      

      📌 Setup phase

      duration:

      0.00029475800693035126
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014657387509942055
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001841941848397255
      

      outcome:

      passed
      

    Function: test_merge_dicts_unique

    • Test 39
      params: a={"a": 1}, b={"b": 2}, expected={"a": 1, "b": 2}

      📌 Runtime Parameters

      params:
        a:
          a: 1
        b:
          b: 2
        expected:
          a: 1
          b: 2
      id: a0-b0-expected0
      

      📌 Setup phase

      duration:

      0.00027050217613577843
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001687910407781601
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017951009795069695
      

      outcome:

      passed
      
    • Test 40
      params: a={"x": 1}, b={"x": 9, "y": 3}, expected={"x": 1, "y": 3}

      📌 Runtime Parameters

      params:
        a:
          x: 1
        b:
          x: 9
          y: 3
        expected:
          x: 1
          y: 3
      id: a1-b1-expected1
      

      📌 Setup phase

      duration:

      0.0004016631282866001
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018033897504210472
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016437098383903503
      

      outcome:

      passed
      
    • Test 41
      params: a={}, b={"k": 4}, expected={"k": 4}

      📌 Runtime Parameters

      params:
        a:
      {}
        b:
          k: 4
        expected:
          k: 4
      id: a2-b2-expected2
      

      📌 Setup phase

      duration:

      0.0002769259735941887
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001673288643360138
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017022015526890755
      

      outcome:

      passed
      

    Function: test_make_params_pos_basic

    • Test 42
      params: pos=["a", "b"], expected_names=["a", "b"]

      📌 Runtime Parameters

      params:
        pos:
          - a
          - b
        expected_names:
          - a
          - b
      id: pos0-expected_names0
      

      📌 Setup phase

      duration:

      0.00026198988780379295
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018124515190720558
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001536896452307701
      

      outcome:

      passed
      
    • Test 43
      params: pos=["param1", "value_2", "Z"], expected_names=["param1", "value_2", "Z"]

      📌 Runtime Parameters

      params:
        pos:
          - param1
          - value_2
          - Z
        expected_names:
          - param1
          - value_2
          - Z
      id: pos1-expected_names1
      

      📌 Setup phase

      duration:

      0.0002333945594727993
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019063381478190422
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001671724021434784
      

      outcome:

      passed
      
    • Test 44
      params: pos=[], expected_names=[]

      📌 Runtime Parameters

      params:
        pos:
      []
        expected_names:
      []
      id: pos2-expected_names2
      

      📌 Setup phase

      duration:

      0.0002294289879500866
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001627379097044468
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014479178935289383
      

      outcome:

      passed
      

    Function: test_make_params_kw_basic

    • Test 45
      params: kw={"a": 1, "b": 2}, expected_keys=["a", "b"], expected_defaults=[1, 2]

      📌 Runtime Parameters

      params:
        kw:
          a: 1
          b: 2
        expected_keys:
          - a
          - b
        expected_defaults:
          - 1
          - 2
      id: kw0-expected_keys0-expected_defaults0
      

      📌 Setup phase

      duration:

      0.0002880389802157879
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019475910812616348
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015938794240355492
      

      outcome:

      passed
      
    • Test 46
      params: kw={"param_x": 0}, expected_keys=["param_x"], expected_defaults=[0]

      📌 Runtime Parameters

      params:
        kw:
          param_x: 0
        expected_keys:
          - param_x
        expected_defaults:
          - (vide)
      id: kw1-expected_keys1-expected_defaults1
      

      📌 Setup phase

      duration:

      0.00031747110188007355
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020082620903849602
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016364501789212227
      

      outcome:

      passed
      
    • Test 47
      params: kw={}, expected_keys=[], expected_defaults=[]

      📌 Runtime Parameters

      params:
        kw:
      {}
        expected_keys:
      []
        expected_defaults:
      []
      id: kw2-expected_keys2-expected_defaults2
      

      📌 Setup phase

      duration:

      0.00026842299848794937
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001546209678053856
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016701826825737953
      

      outcome:

      passed
      

    Function: test_make_signature_parametrized

    • Test 48
      params: pos=["x", "y"], kw={"z": 3}, expected_signature="(x, y, z=3)"

      📌 Runtime Parameters

      params:
        pos:
          - x
          - y
        kw:
          z: 3
        expected_signature: (x, y, z=3)
      id: pos0-kw0-(x, y, z=3)
      

      📌 Setup phase

      duration:

      0.00028606317937374115
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022532185539603233
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016150157898664474
      

      outcome:

      passed
      
    • Test 49
      params: pos=["a"], kw={"b": 1, "c": 2}, expected_signature="(a, b=1, c=2)"

      📌 Runtime Parameters

      params:
        pos:
          - a
        kw:
          b: 1
          c: 2
        expected_signature: (a, b=1, c=2)
      id: pos1-kw1-(a, b=1, c=2)
      

      📌 Setup phase

      duration:

      0.00028039002791047096
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019341986626386642
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017517711967229843
      

      outcome:

      passed
      
    • Test 50
      params: pos=[], kw={"flag": false}, expected_signature="(flag=False)"

      📌 Runtime Parameters

      params:
        pos:
      []
        kw:
          flag: False
        expected_signature: (flag=False)
      id: pos2-kw2-(flag=False)
      

      📌 Setup phase

      duration:

      0.00028425920754671097
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019366340711712837
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019103894010186195
      

      outcome:

      passed
      

    Function: test_get_args_parametrized

    • Test 51
      params: func=" at 0x7f958ab5a5e0>", expected_pos=["a", "b"], expected_kw={"c": 3, "d": 4}

      📌 Runtime Parameters

      params:
        func: <function <lambda> at 0x7f958ab5a5e0>
        expected_pos:
          - a
          - b
        expected_kw:
          c: 3
          d: 4
      id: <lambda>-expected_pos0-expected_kw0
      

      📌 Setup phase

      duration:

      0.000271541066467762
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024007819592952728
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016763340681791306
      

      outcome:

      passed
      
    • Test 52
      params: func=" at 0x7f958ab61550>", expected_pos=[], expected_kw="{'x': 1, 'y': , 'z': 0}"

      📌 Runtime Parameters

      params:
        func: <function <lambda> at 0x7f958ab61550>
        expected_pos:
      []
        expected_kw: {'x': 1, 'y': <class 'inspect._empty'>, 'z': 0}
      id: <lambda>-expected_pos1-expected_kw1
      

      📌 Setup phase

      duration:

      0.00028907088562846184
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020797410979866982
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018588406965136528
      

      outcome:

      passed
      
    • Test 53
      params: func=" at 0x7f958ab61670>", expected_pos=[], expected_kw={}

      📌 Runtime Parameters

      params:
        func: <function <lambda> at 0x7f958ab61670>
        expected_pos:
      []
        expected_kw:
      {}
      id: <lambda>-expected_pos2-expected_kw2
      

      📌 Setup phase

      duration:

      0.0002796771004796028
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020343204960227013
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018361397087574005
      

      outcome:

      passed
      

    Function: test_signature_visible

    • Test 54
      params: func="", expected_sig="(a, b, d=30, c=10)"

      📌 Runtime Parameters

      params:
        func: <function wrap_all at 0x7f958ab618b0>
        expected_sig: (a, b, d=30, c=10)
      id: wrap_all-(a, b, d=30, c=10)
      

      📌 Setup phase

      duration:

      0.00022797705605626106
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016306107863783836
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015265587717294693
      

      outcome:

      passed
      
    • Test 55
      params: func="", expected_sig="(a, b, c=10, d=20)"

      📌 Runtime Parameters

      params:
        func: <function wrap_skip at 0x7f958ab61940>
        expected_sig: (a, b, c=10, d=20)
      id: wrap_skip-(a, b, c=10, d=20)
      

      📌 Setup phase

      duration:

      0.0002463068813085556
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018264492973685265
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001381360925734043
      

      outcome:

      passed
      
    • Test 56
      params: func="", expected_sig="(x, y, c=10, d=20)"

      📌 Runtime Parameters

      params:
        func: <function wrap_ignore_all at 0x7f958ab619d0>
        expected_sig: (x, y, c=10, d=20)
      id: wrap_ignore_all-(x, y, c=10, d=20)
      

      📌 Setup phase

      duration:

      0.00022380705922842026
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001687188632786274
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014372821897268295
      

      outcome:

      passed
      

    Function: test_wrapper_behavior

    • Test 57
      params: func="", args=[1, 2, 3], kwargs={}, expected_result=36

      📌 Runtime Parameters

      params:
        func: <function wrap_all at 0x7f958ab618b0>
        args:
          - 1
          - 2
          - 3
        kwargs:
      {}
        expected_result: 36
      id: wrap_all-args0-kwargs0-36
      

      📌 Setup phase

      duration:

      0.0003387606702744961
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00028371764346957207
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019533419981598854
      

      outcome:

      passed
      
    • Test 58
      params: func="", args=[1, 2, 3], kwargs={"d": 5}, expected_result=11

      📌 Runtime Parameters

      params:
        func: <function wrap_all at 0x7f958ab618b0>
        args:
          - 1
          - 2
          - 3
        kwargs:
          d: 5
        expected_result: 11
      id: wrap_all-args1-kwargs1-11
      

      📌 Setup phase

      duration:

      0.00034053297713398933
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015115691348910332
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000170830637216568
      

      outcome:

      passed
      
    • Test 59
      params: func="", args=[0, 0], kwargs={"c": 3, "d": 4}, expected_result=10

      📌 Runtime Parameters

      params:
        func: <function wrap_skip at 0x7f958ab61940>
        args:
          - (vide)
          - (vide)
        kwargs:
          c: 3
          d: 4
        expected_result: 10
      id: wrap_skip-args2-kwargs2-10
      

      📌 Setup phase

      duration:

      0.0003538951277732849
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017106672748923302
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002137073315680027
      

      outcome:

      passed
      
    • Test 60
      params: func="", args=[0, 0], kwargs={}, expected_result=10

      📌 Runtime Parameters

      params:
        func: <function wrap_ignore_all at 0x7f958ab619d0>
        args:
          - (vide)
          - (vide)
        kwargs:
      {}
        expected_result: 10
      id: wrap_ignore_all-args3-kwargs3-10
      

      📌 Setup phase

      duration:

      0.000315333716571331
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014806585386395454
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017868075519800186
      

      outcome:

      passed
      
  • 📄 test_utils_ask_yes_no.py

    Function: test_ask_yes_no

    • Test 61
      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.00036159204319119453
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010193516500294209
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020980089902877808
      

      outcome:

      passed
      
    • Test 62
      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.0003388402983546257
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006327889859676361
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021771900355815887
      

      outcome:

      passed
      
    • Test 63
      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.00035463273525238037
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000593929085880518
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020865397527813911
      

      outcome:

      passed
      
    • Test 64
      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.00032585812732577324
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006553521379828453
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018562795594334602
      

      outcome:

      passed
      
    • Test 65
      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.000330459326505661
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005558701232075691
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018640188500285149
      

      outcome:

      passed
      
    • Test 66
      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.0003497111611068249
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005418993532657623
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018710177391767502
      

      outcome:

      passed
      
    • Test 67
      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.00033096084371209145
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005528549663722515
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002269800752401352
      

      outcome:

      passed
      
    • Test 68
      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.0003177584148943424
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006172400899231434
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018818071112036705
      

      outcome:

      passed
      
    • Test 69
      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.00031994888558983803
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005169040523469448
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018813321366906166
      

      outcome:

      passed
      
    • Test 70
      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.0003474201075732708
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004982789978384972
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001975041814148426
      

      outcome:

      passed
      
    • Test 71
      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.00033021625131368637
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005912850610911846
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001998557709157467
      

      outcome:

      passed
      
    • Test 72
      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.0003116209991276264
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005154232494533062
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017952313646674156
      

      outcome:

      passed
      
    • Test 73
      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.00032160477712750435
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004889070987701416
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018280372023582458
      

      outcome:

      passed
      

    Function: test_ask_yes_no_ctrl_c

    • Test 74
      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.0003193528391420841
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005108220502734184
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001845131628215313
      

      outcome:

      passed
      
    • Test 75
      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.0003313077613711357
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006257472559809685
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019604479894042015
      

      outcome:

      passed
      
    • Test 76
      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.00031262682750821114
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005172081291675568
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000185440294444561
      

      outcome:

      passed
      
    • Test 77
      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.0003835158422589302
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005256622098386288
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018971040844917297
      

      outcome:

      passed
      
    • Test 78
      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.0003191940486431122
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005084178410470486
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001959400251507759
      

      outcome:

      passed
      
    • Test 79
      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.00032928166911005974
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006353519856929779
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018721073865890503
      

      outcome:

      passed
      
    • Test 80
      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.0003160778433084488
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005413061007857323
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017990684136748314
      

      outcome:

      passed
      
    • Test 81
      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.0003258991055190563
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005772160366177559
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017986400052905083
      

      outcome:

      passed
      
    • Test 82
      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.0003176368772983551
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006655990146100521
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019816309213638306
      

      outcome:

      passed
      
    • Test 83
      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.00032446812838315964
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005472786724567413
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018890807405114174
      

      outcome:

      passed
      

    Function: test_ask_yes_no_ctrl_d

    • Test 84
      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.00032253609970211983
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005183406174182892
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019433489069342613
      

      outcome:

      passed
      
    • Test 85
      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.000337040051817894
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005030101165175438
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001913551241159439
      

      outcome:

      passed
      
    • Test 86
      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.0003438987769186497
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006176712922751904
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001962766982614994
      

      outcome:

      passed
      
    • Test 87
      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.00032446905970573425
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005012326873838902
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018575787544250488
      

      outcome:

      passed
      
    • Test 88
      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.0003326679579913616
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005488009192049503
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019109109416604042
      

      outcome:

      passed
      
    • Test 89
      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.00033596204593777657
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005290159024298191
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018898909911513329
      

      outcome:

      passed
      
    • Test 90
      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.00031954795122146606
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000600714236497879
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020031724125146866
      

      outcome:

      passed
      
    • Test 91
      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.0003176801837980747
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005127890035510063
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018085679039359093
      

      outcome:

      passed
      
    • Test 92
      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.00033206725493073463
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005032527260482311
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018072593957185745
      

      outcome:

      passed
      
    • Test 93
      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.00031562894582748413
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015414250083267689
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020718807354569435
      

      outcome:

      passed
      
    • Test 94
      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.0003276551142334938
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005121282301843166
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018907804042100906
      

      outcome:

      passed
      
    • Test 95
      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.00032154470682144165
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005429340526461601
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018904870375990868
      

      outcome:

      passed
      
    • Test 96
      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.0003341641277074814
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005322480574250221
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018707290291786194
      

      outcome:

      passed
      
    • Test 97
      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.0003134598955512047
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000620678998529911
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023147696629166603
      

      outcome:

      passed
      

    Function: test_ask_yes_no_mixed_sequences

    • Test 98
      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.00036841025575995445
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000581422820687294
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020136311650276184
      

      outcome:

      passed
      
    • Test 99
      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.0003747781738638878
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00057247094810009
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000196932815015316
      

      outcome:

      passed
      
    • Test 100
      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.0003656377084553242
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006721238605678082
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002183336764574051
      

      outcome:

      passed
      
  • 📄 test_utils_channels.py

    Function: test_load_channels_and_channels_class_with_professional_names

    • Test 101

      📌 Setup phase

      duration:

      0.00012739095836877823
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001130423042923212
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012578722089529037
      

      outcome:

      passed
      
  • 📄 test_utils_config.py

    Function: test_config_with_nested_and_list_data

    • Test 102

      📌 Setup phase

      duration:

      0.00012319814413785934
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006481800228357315
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011166511103510857
      

      outcome:

      passed
      

    Function: test_config_with_strange_and_edge_keys

    • Test 103

      📌 Setup phase

      duration:

      0.00011732662096619606
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007693599909543991
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011599622666835785
      

      outcome:

      passed
      
  • 📄 test_utils_cpint.py

    Function: test_load_color_variants_all_keys_and_types

    • Test 104
      params: base_color="red"

      📌 Runtime Parameters

      params:
        base_color: red
      id: red
      

      📌 Setup phase

      duration:

      0.00020384369418025017
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021692970767617226
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001323898322880268
      

      outcome:

      passed
      
    • Test 105
      params: base_color="blue"

      📌 Runtime Parameters

      params:
        base_color: blue
      id: blue
      

      📌 Setup phase

      duration:

      0.00017525861039757729
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001654759980738163
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001263846643269062
      

      outcome:

      passed
      
    • Test 106
      params: base_color="yellow"

      📌 Runtime Parameters

      params:
        base_color: yellow
      id: yellow
      

      📌 Setup phase

      duration:

      0.00017711427062749863
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015449710190296173
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012149801477789879
      

      outcome:

      passed
      
    • Test 107
      params: base_color="green"

      📌 Runtime Parameters

      params:
        base_color: green
      id: green
      

      📌 Setup phase

      duration:

      0.0001726727932691574
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016327900812029839
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001232912763953209
      

      outcome:

      passed
      
    • Test 108
      params: base_color="cyan"

      📌 Runtime Parameters

      params:
        base_color: cyan
      id: cyan
      

      📌 Setup phase

      duration:

      0.00017556082457304
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014973385259509087
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012071896344423294
      

      outcome:

      passed
      
    • Test 109
      params: base_color="magenta"

      📌 Runtime Parameters

      params:
        base_color: magenta
      id: magenta
      

      📌 Setup phase

      duration:

      0.00019473396241664886
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015226472169160843
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012229522690176964
      

      outcome:

      passed
      
    • Test 110
      params: base_color="white"

      📌 Runtime Parameters

      params:
        base_color: white
      id: white
      

      📌 Setup phase

      duration:

      0.00017910683527588844
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014486396685242653
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012950971722602844
      

      outcome:

      passed
      
    • Test 111
      params: base_color="black"

      📌 Runtime Parameters

      params:
        base_color: black
      id: black
      

      📌 Setup phase

      duration:

      0.00020072562620043755
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015360163524746895
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012415554374456406
      

      outcome:

      passed
      

    Function: test_cprint_all_cases_fancy

    • Test 112
      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.0006513171829283237
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002632131800055504
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025377795100212097
      

      outcome:

      passed
      
    • Test 113
      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.0004968992434442043
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023642415180802345
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002637389115989208
      

      outcome:

      passed
      
    • Test 114
      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.00046426383778452873
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002219150774180889
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002515469677746296
      

      outcome:

      passed
      
    • Test 115
      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.000463360920548439
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002179127186536789
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024637579917907715
      

      outcome:

      passed
      
    • Test 116
      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.0008245380595326424
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022737588733434677
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00026340968906879425
      

      outcome:

      passed
      
    • Test 117
      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.0004668082110583782
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022443896159529686
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002466370351612568
      

      outcome:

      passed
      
    • Test 118
      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.00045065581798553467
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002453988417983055
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002449839375913143
      

      outcome:

      passed
      
    • Test 119
      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.00048213405534625053
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003317086957395077
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002757222391664982
      

      outcome:

      passed
      
    • Test 120
      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.00045522674918174744
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022915611043572426
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023955106735229492
      

      outcome:

      passed
      
    • Test 121
      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.00043996889144182205
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021458091214299202
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002426719292998314
      

      outcome:

      passed
      
    • Test 122
      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.000455338042229414
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021102512255311012
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024416204541921616
      

      outcome:

      passed
      
    • Test 123
      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.0004521850496530533
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002150731161236763
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024391897022724152
      

      outcome:

      passed
      
    • Test 124
      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.00045833131298422813
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00025034230202436447
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002538212575018406
      

      outcome:

      passed
      
    • Test 125
      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.0004679691046476364
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002507907338440418
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002565239556133747
      

      outcome:

      passed
      
    • Test 126
      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.00046900101006031036
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023727677762508392
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002432679757475853
      

      outcome:

      passed
      
    • Test 127
      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.0004819151945412159
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002275276929140091
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025200238451361656
      

      outcome:

      passed
      
  • 📄 test_utils_debug.py

    Function: test_traceable

    • Test 128
      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.0002915728837251663
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010017533786594868
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001803799532353878
      

      outcome:

      passed
      
    • Test 129
      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.0002794051542878151
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009679379872977734
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017935596406459808
      

      outcome:

      passed
      
    • Test 130
      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.0002950681373476982
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000812058337032795
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019421428442001343
      

      outcome:

      passed
      
    • Test 131
      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.00029395613819360733
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008943038992583752
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018042000010609627
      

      outcome:

      passed
      
    • Test 132
      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.00028965016826987267
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008674692362546921
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002565542235970497
      

      outcome:

      passed
      

    Function: test_short_repr

    • Test 133
      params: value="abc", cutoff=10, expected="'abc'"

      📌 Runtime Parameters

      params:
        value: abc
        cutoff: 10
        expected: 'abc'
      id: abc-10-'abc'
      

      📌 Setup phase

      duration:

      0.0003902711905539036
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015277788043022156
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018267007544636726
      

      outcome:

      passed
      
    • Test 135
      params: value=12345, cutoff=10, expected="12345"

      📌 Runtime Parameters

      params:
        value: 12345
        cutoff: 10
        expected: 12345
      id: 12345-10-12345
      

      📌 Setup phase

      duration:

      0.0003876746632158756
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017521344125270844
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016371486708521843
      

      outcome:

      passed
      
    • Test 136
      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.0002743210643529892
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001567089930176735
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000168489757925272
      

      outcome:

      passed
      
    • Test 137
      params: value=null, cutoff=10, expected="None"

      📌 Runtime Parameters

      params:
        value: None
        cutoff: 10
        expected: None
      id: None-10-None
      

      📌 Setup phase

      duration:

      0.00026769470423460007
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013624317944049835
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001700492575764656
      

      outcome:

      passed
      
  • 📄 test_utils_dictext.py

    Function: test_attrdict_getattr

    • Test 139
      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.0003402181901037693
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001637730747461319
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015669502317905426
      

      outcome:

      passed
      
    • Test 140
      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.0002788458950817585
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014668982475996017
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001607653684914112
      

      outcome:

      passed
      
    • Test 141
      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.0002596159465610981
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014430098235607147
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015641003847122192
      

      outcome:

      passed
      

    Function: test_attrdict_setattr

    • Test 142
      params: initial={}, attr="nouveau", value=123

      📌 Runtime Parameters

      params:
        initial:
      {}
        attr: nouveau
        value: 123
      id: initial0-nouveau-123
      

      📌 Setup phase

      duration:

      0.00026659201830625534
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014480063691735268
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015192199498414993
      

      outcome:

      passed
      
    • Test 143
      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.00029400037601590157
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001467270776629448
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015080394223332405
      

      outcome:

      passed
      

    Function: test_attrdict_delattr

    • Test 144
      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.0002829479053616524
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001984001137316227
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015457021072506905
      

      outcome:

      passed
      
    • Test 145
      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.0002684979699552059
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017790310084819794
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001727389171719551
      

      outcome:

      passed
      

    Function: test_attrdict_dir

    • Test 146
      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.00021314993500709534
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001463848166167736
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014354893937706947
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022162776440382004
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019330624490976334
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014443881809711456
      

      outcome:

      passed
      

    Function: test_attrdict_getattr_and_missing

    • Test 148
      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.0003053969703614712
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013969792053103447
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016266386955976486
      

      outcome:

      passed
      
    • Test 149
      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.0003191721625626087
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018185283988714218
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016986578702926636
      

      outcome:

      passed
      

    Function: test_dictupdatemixin_init_and_update

    • Test 150
      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.00030518369749188423
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015218323096632957
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019277911633253098
      

      outcome:

      passed
      
    • Test 151
      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.00031325966119766235
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018311990424990654
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017476128414273262
      

      outcome:

      passed
      
    • Test 152
      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.0003189537674188614
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015416089445352554
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017283298075199127
      

      outcome:

      passed
      
    • Test 153
      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.00033119600266218185
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001517687924206257
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017454195767641068
      

      outcome:

      passed
      
    • Test 154
      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.0003267652355134487
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014366582036018372
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001771426759660244
      

      outcome:

      passed
      
    • Test 155
      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.00030964892357587814
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003193160519003868
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018661515787243843
      

      outcome:

      passed
      
  • 📄 test_utils_dotdir.py

    Function: test_dotdir_creation_and_base_exists

    • Test 156

      📌 Setup phase

      duration:

      0.0016540009528398514
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003676796332001686
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002254103310406208
      

      outcome:

      passed
      

    Function: test_dotdir_repr_returns_path_str

    • Test 157

      📌 Setup phase

      duration:

      0.0006653377786278725
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00025015557184815407
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020784791558980942
      

      outcome:

      passed
      

    Function: test_dotdir_call

    • Test 158

      📌 Setup phase

      duration:

      0.0006821569986641407
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002530827187001705
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022130087018013
      

      outcome:

      passed
      
  • 📄 test_utils_eval.py

    Function: test_arithmetic_eval_valid

    • Test 164
      params: expr="1 + 2", expected=3

      📌 Runtime Parameters

      params:
        expr: 1 + 2
        expected: 3
      id: 1 + 2-3
      

      📌 Setup phase

      duration:

      0.0004328540526330471
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023316778242588043
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017058104276657104
      

      outcome:

      passed
      
    • Test 165
      params: expr="4 - 2", expected=2

      📌 Runtime Parameters

      params:
        expr: 4 - 2
        expected: 2
      id: 4 - 2-2
      

      📌 Setup phase

      duration:

      0.00024011777713894844
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018248660489916801
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014908844605088234
      

      outcome:

      passed
      
    • Test 166
      params: expr="3 * 5", expected=15

      📌 Runtime Parameters

      params:
        expr: 3 * 5
        expected: 15
      id: 3 * 5-15
      

      📌 Setup phase

      duration:

      0.00022622616961598396
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015790387988090515
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013675587251782417
      

      outcome:

      passed
      
    • Test 167
      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.00032933522015810013
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001798388548195362
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001445431262254715
      

      outcome:

      passed
      
    • Test 168
      params: expr="10 % 3", expected=1

      📌 Runtime Parameters

      params:
        expr: 10 % 3
        expected: 1
      id: 10 % 3-1
      

      📌 Setup phase

      duration:

      0.00022001191973686218
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001621972769498825
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015268102288246155
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002243993803858757
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017092935740947723
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014159828424453735
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022148806601762772
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015159137547016144
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013691699132323265
      

      outcome:

      passed
      
    • Test 171
      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.00022745318710803986
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001817750744521618
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015685101971030235
      

      outcome:

      passed
      
    • Test 172
      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.00023603904992341995
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001675751991569996
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013993866741657257
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002256319858133793
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015718908980488777
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014047883450984955
      

      outcome:

      passed
      
    • Test 174
      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.00023417221382260323
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016339775174856186
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000141992699354887
      

      outcome:

      passed
      
    • Test 175
      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.00022527016699314117
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017152586951851845
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013801828026771545
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002209329977631569
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015590572729706764
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014865724369883537
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00021299486979842186
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015676487237215042
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001468840055167675
      

      outcome:

      passed
      
    • Test 178
      params: expr="3 + +4", expected=7

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022300519049167633
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016331207007169724
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001410776749253273
      

      outcome:

      passed
      
    • Test 179
      params: expr="3 + -4", expected=-1

      📌 Runtime Parameters

      params:
        expr: 3 + -4
        expected: -1
      id: 3 + -4--1
      

      📌 Setup phase

      duration:

      0.00021461397409439087
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016474025323987007
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014420505613088608
      

      outcome:

      passed
      
    • Test 180
      params: expr="True + 1", expected=2

      📌 Runtime Parameters

      params:
        expr: True + 1
        expected: 2
      id: True + 1-2
      

      📌 Setup phase

      duration:

      0.00021963100880384445
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016967393457889557
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017479993402957916
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023794500157237053
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015534693375229836
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014190608635544777
      

      outcome:

      passed
      
    • Test 182
      params: expr="1e1000 * 1e1000", expected=Infinity

      📌 Runtime Parameters

      params:
        expr: 1e1000 * 1e1000
        expected: inf
      id: 1e1000 * 1e1000-inf
      

      📌 Setup phase

      duration:

      0.00022445200011134148
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015390990301966667
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013739895075559616
      

      outcome:

      passed
      
    • Test 183
      params: expr="'a' + 'b'", expected="ab"

      📌 Runtime Parameters

      params:
        expr: 'a' + 'b'
        expected: ab
      id: 'a' + 'b'-ab
      

      📌 Setup phase

      duration:

      0.00024158088490366936
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015706708654761314
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001463852822780609
      

      outcome:

      passed
      

    Function: test_arithmetic_eval_raises_with_message

    • Test 184
      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.00021860376000404358
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00044105108827352524
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015648500993847847
      

      outcome:

      passed
      
    • Test 185
      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.0002243989147245884
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003990991972386837
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014688679948449135
      

      outcome:

      passed
      
    • Test 186
      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.00023664114996790886
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00036214012652635574
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017438223585486412
      

      outcome:

      passed
      
    • Test 187
      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.00022645806893706322
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003593410365283489
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001509157009422779
      

      outcome:

      passed
      
    • Test 188
      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.00022742105647921562
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003541181795299053
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015652971342206
      

      outcome:

      passed
      
    • Test 189
      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.00022802501916885376
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001824670471251011
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000146517064422369
      

      outcome:

      passed
      
    • Test 190
      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.0002206508070230484
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005666040815412998
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015037739649415016
      

      outcome:

      passed
      
    • Test 191
      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.00021989690139889717
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00033833738416433334
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015097716823220253
      

      outcome:

      passed
      

    Function: test_arithmetic_eval_runtime_errors

    • Test 192
      params: expr="1 / 0", exception=""

      📌 Runtime Parameters

      params:
        expr: 1 / 0
        exception: <class 'ZeroDivisionError'>
      id: 1 / 0-ZeroDivisionError
      

      📌 Setup phase

      duration:

      0.00023038126528263092
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017865095287561417
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019401218742132187
      

      outcome:

      passed
      
    • Test 193
      params: expr="10 % 0", exception=""

      📌 Runtime Parameters

      params:
        expr: 10 % 0
        exception: <class 'ZeroDivisionError'>
      id: 10 % 0-ZeroDivisionError
      

      📌 Setup phase

      duration:

      0.00023333728313446045
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018861889839172363
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014166999608278275
      

      outcome:

      passed
      

    Function: test_forgiving_eval

    • Test 194
      params: expr="1 + 2", expected=3

      📌 Runtime Parameters

      params:
        expr: 1 + 2
        expected: 3
      id: 1 + 2-3
      

      📌 Setup phase

      duration:

      0.00021824007853865623
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016871141269803047
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001481948420405388
      

      outcome:

      passed
      
    • Test 195
      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.00022321101278066635
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017461366951465607
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001349220983684063
      

      outcome:

      passed
      
    • Test 196
      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.00022890837863087654
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016100192442536354
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014307210221886635
      

      outcome:

      passed
      
    • Test 197
      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.0002498989924788475
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016363570466637611
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013861386105418205
      

      outcome:

      passed
      

    Function: test_defaulting_eval

    • Test 198
      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.0002685766667127609
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015667779371142387
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001725209876894951
      

      outcome:

      passed
      
    • Test 199
      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.0002687908709049225
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016558310016989708
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016170600429177284
      

      outcome:

      passed
      
    • Test 200
      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.000259223859757185
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018785614520311356
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015725288540124893
      

      outcome:

      passed
      
    • Test 201
      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.0002834298647940159
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001659267581999302
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015957094728946686
      

      outcome:

      passed
      
  • 📄 test_utils_exceptions.py

    Function: test_chained_exception_various

    • Test 202
      params: func="", expected_output="High-level task failed\ncaused by KeyError: 'missing'"

      📌 Runtime Parameters

      params:
        func: <function cause_key_error at 0x7f95f0b85ca0>
        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.00025474606081843376
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016518868505954742
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001392480917274952
      

      outcome:

      passed
      
    • Test 203
      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 0x7f95f0b85dc0>
        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.00023815780878067017
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001562219113111496
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015939073637127876
      

      outcome:

      passed
      
    • Test 204
      params: func="", expected_output="High-level task failed\ncaused by ZeroDivisionError: division by zero"

      📌 Runtime Parameters

      params:
        func: <function cause_zero_division at 0x7f95f0b85e50>
        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.0002176780253648758
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014886120334267616
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014661205932497978
      

      outcome:

      passed
      
    • Test 205
      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 0x7f95f0b85ee0>
        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.00022501591593027115
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001614387147128582
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013982830569148064
      

      outcome:

      passed
      
    • Test 206
      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 0x7f95f0b85f70>
        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.00025720614939928055
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015706708654761314
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014152424409985542
      

      outcome:

      passed
      

    Function: test_printed_exception

    • Test 207
      params: func="", expected_output="KeyError: 'missing'"

      📌 Runtime Parameters

      params:
        func: <function cause_key_error at 0x7f95f0b85ca0>
        expected_output: KeyError: 'missing'
      id: cause_key_error-KeyError: 'missing'
      

      📌 Setup phase

      duration:

      0.0008303998038172722
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010916627943515778
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0005094441585242748
      

      outcome:

      passed
      
    • Test 208
      params: func="", expected_output="IndexError: list index out of range"

      📌 Runtime Parameters

      params:
        func: <function cause_index_error at 0x7f95f0b85dc0>
        expected_output: IndexError: list index out of range
      id: cause_index_error-IndexError: list index out of range
      

      📌 Setup phase

      duration:

      0.0006066523492336273
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010485081002116203
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00046670669689774513
      

      outcome:

      passed
      
    • Test 209
      params: func="", expected_output="ZeroDivisionError: division by zero"

      📌 Runtime Parameters

      params:
        func: <function cause_zero_division at 0x7f95f0b85e50>
        expected_output: ZeroDivisionError: division by zero
      id: cause_zero_division-ZeroDivisionError: division by zero
      

      📌 Setup phase

      duration:

      0.0006322730332612991
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009523099288344383
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004832940176129341
      

      outcome:

      passed
      
    • Test 210
      params: func="", expected_output="ValueError: invalid literal for int() with base 10: 'not_a_number'"

      📌 Runtime Parameters

      params:
        func: <function cause_value_error at 0x7f95f0b85ee0>
        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.000598859041929245
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010098540224134922
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004606880247592926
      

      outcome:

      passed
      
    • Test 211
      params: func="", expected_output="TypeError: can only concatenate str (not \"int\") to str"

      📌 Runtime Parameters

      params:
        func: <function cause_type_error at 0x7f95f0b85f70>
        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.000573446974158287
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009561781771481037
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0008851606398820877
      

      outcome:

      passed
      
  • 📄 test_utils_get_adj.py

    Function: test_get_adj_success

    • Test 212

      📌 Setup phase

      duration:

      0.00016543688252568245
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010608644224703312
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012547895312309265
      

      outcome:

      passed
      

    Function: test_get_adj_not_found

    • Test 213

      📌 Setup phase

      duration:

      0.0006296117790043354
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0011901059187948704
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004281620495021343
      

      outcome:

      passed
      

    Function: test_ensure_adjs_mixed

    • Test 214

      📌 Setup phase

      duration:

      0.0001400178298354149
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008479151874780655
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012443074956536293
      

      outcome:

      passed
      

    Function: test_get_adjs_filter

    • Test 215

      📌 Setup phase

      duration:

      0.00012147519737482071
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000879896804690361
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011876598000526428
      

      outcome:

      passed
      
  • 📄 test_utils_hastyepics.py

    Function: test_motor_invalid_name_raises

    • Test 218

      📌 Setup phase

      duration:

      0.0001593511551618576
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00029392121359705925
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015528826043009758
      

      outcome:

      passed
      

    Function: test_motor_init_list_has_no_disabled

    • Test 219

      📌 Setup phase

      duration:

      0.00013409415259957314
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016636168584227562
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010518589988350868
      

      outcome:

      passed
      

    Function: test_motor_pv_connection_skipped_by_default

    • Test 221

      📌 Setup phase

      duration:

      0.00014924490824341774
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004290156066417694
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011819787323474884
      

      outcome:

      passed
      

    Function: test_motor_adds_all_extras_pvs

    • Test 222

      📌 Setup phase

      duration:

      0.00011969823390245438
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003023361787199974
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001097777858376503
      

      outcome:

      passed
      

    Function: test_motor_PV_method_exists_and_works

    • Test 223

      📌 Setup phase

      duration:

      0.00010865321382880211
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000373810064047575
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011901417747139931
      

      outcome:

      passed
      
  • 📄 test_utils_ipy.py

    Function: test_devices_repr_fallback_and_ignore

    • Test 224

      📌 Setup phase

      duration:

      0.0008491761982440948
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009348518215119839
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002947230823338032
      

      outcome:

      passed
      
  • 📄 test_utils_jsonext.py

    Function: test_json_validate_save_load

    • Test 225
      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.0011843228712677956
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007331939414143562
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002070157788693905
      

      outcome:

      passed
      
    • Test 226
      params: input_obj="42", expected=42

      📌 Runtime Parameters

      params:
        input_obj: 42
        expected: 42
      id: input_obj1-42
      

      📌 Setup phase

      duration:

      0.000751239713281393
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004662889987230301
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024958280846476555
      

      outcome:

      passed
      
    • Test 227
      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.0006431611254811287
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004919860512018204
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019978685304522514
      

      outcome:

      passed
      
    • Test 228
      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.0006414102390408516
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004142150282859802
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023393286392092705
      

      outcome:

      passed
      
    • Test 229
      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.0006848541088402271
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00039289379492402077
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021843193098902702
      

      outcome:

      passed
      
    • Test 230
      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.0006381929852068424
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00043730996549129486
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018727686256170273
      

      outcome:

      passed
      
    • Test 231
      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.0007633487693965435
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00046103261411190033
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018512969836592674
      

      outcome:

      passed
      
    • Test 232
      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.0006393231451511383
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006434409879148006
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019068317487835884
      

      outcome:

      passed
      
  • 📄 test_utils_lazypv.py

    Function: test_getattr

    • Test 233

      📌 Setup phase

      duration:

      0.0001436350867152214
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004096240736544132
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011675432324409485
      

      outcome:

      passed
      
  • 📄 test_utils_logcfg.py

    Function: test_custom_log_outputs

    • Test 234
      params: levelname="LONG", logfunc=" at 0x7f95f0fe7700>", message="This is a LONG message"

      📌 Runtime Parameters

      params:
        levelname: LONG
        logfunc: <function <lambda> at 0x7f95f0fe7700>
        message: This is a LONG message
      id: LONG-<lambda>-This is a LONG message
      

      📌 Setup phase

      duration:

      0.001731892116367817
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008886801078915596
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00027965521439909935
      

      outcome:

      passed
      
    • Test 235
      params: levelname="ENLARGE", logfunc=" at 0x7f95f0fe7790>", message="Please ENLARGE this!"

      📌 Runtime Parameters

      params:
        levelname: ENLARGE
        logfunc: <function <lambda> at 0x7f95f0fe7790>
        message: Please ENLARGE this!
      id: ENLARGE-<lambda>-Please ENLARGE this!
      

      📌 Setup phase

      duration:

      0.00042726006358861923
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004352480173110962
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002491171471774578
      

      outcome:

      passed
      
  • 📄 test_utils_logign.py

    Function: test_ignore_log_msg_behavior

    • Test 237
      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.0007012868300080299
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009245951659977436
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025736214593052864
      

      outcome:

      passed
      
    • Test 238
      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.0004073311574757099
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005330173298716545
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023963116109371185
      

      outcome:

      passed
      

    Function: test_ignore_only_by_level

    • Test 239

      📌 Setup phase

      duration:

      0.00023742299526929855
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003825756721198559
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018092896789312363
      

      outcome:

      passed
      

    Function: test_ignore_only_by_msg

    • Test 240

      📌 Setup phase

      duration:

      0.00025664130225777626
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003795982338488102
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001664869487285614
      

      outcome:

      passed
      

    Function: test_filter_removed_after_context

    • Test 241

      📌 Setup phase

      duration:

      0.00024494994431734085
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00037895701825618744
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023481529206037521
      

      outcome:

      passed
      
  • 📄 test_utils_metaclasses.py

    Function: test_combine_classes_combines_methods

    • Test 242

      📌 Setup phase

      duration:

      0.000119056086987257
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002497970126569271
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010743411257863045
      

      outcome:

      passed
      

    Function: test_registryabc_combines_registrymeta_and_abcmeta

    • Test 243

      📌 Setup phase

      duration:

      0.00011989381164312363
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0063792322762310505
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018293503671884537
      

      outcome:

      passed
      
  • 📄 test_utils_namespace.py

    Function: test_namespace_pretty_repr_mixed_and_nested

    • Test 244

      📌 Setup phase

      duration:

      0.00017024297267198563
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00032123876735568047
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012914324179291725
      

      outcome:

      passed
      
  • 📄 test_utils_npy.py

    Function: test_nice_arange

    • Test 245
      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.00043516000732779503
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.02177954465150833
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0003094780258834362
      

      outcome:

      passed
      
    • Test 247
      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.0004004952497780323
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006856112740933895
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023092469200491905
      

      outcome:

      passed
      

    Function: test_nice_linspace

    • Test 250
      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.00041745882481336594
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004730718210339546
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002002711407840252
      

      outcome:

      passed
      
    • Test 251
      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.00037472788244485855
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00036866171285510063
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000186992809176445
      

      outcome:

      passed
      
    • Test 252
      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.00035696104168891907
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003417348489165306
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001845918595790863
      

      outcome:

      passed
      
    • Test 253
      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.00034572603181004524
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035823043435811996
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001826067455112934
      

      outcome:

      passed
      
    • Test 254
      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.00033360300585627556
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035622715950012207
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001841699704527855
      

      outcome:

      passed
      
    • Test 255
      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.00032143713906407356
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003329371102154255
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001977318897843361
      

      outcome:

      passed
      
    • Test 256
      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.00034522125497460365
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003549591638147831
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002002478577196598
      

      outcome:

      passed
      

    Function: test_nice_steps_centered

    • Test 257
      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.00039490824565291405
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004271692596375942
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0003389306366443634
      

      outcome:

      passed
      
    • Test 258
      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.0003838939592242241
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00038081081584095955
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020810868591070175
      

      outcome:

      passed
      
    • Test 259
      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.00040384894236922264
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00038073910400271416
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002586902119219303
      

      outcome:

      passed
      
    • Test 260
      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.00040895678102970123
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003434782847762108
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020012585446238518
      

      outcome:

      passed
      

    Function: test_nice_steps_left_aligned

    • Test 263
      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.0004064152017235756
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003963629715144634
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021808594465255737
      

      outcome:

      passed
      
    • Test 264
      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.0004042740911245346
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035378197208046913
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000204441137611866
      

      outcome:

      passed
      

    Function: test_within_scalar

    • Test 275
      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.00041684694588184357
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017506908625364304
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017938809469342232
      

      outcome:

      passed
      
    • Test 276
      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.0003304537385702133
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015239370986819267
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017549283802509308
      

      outcome:

      passed
      
    • Test 277
      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.00031738216057419777
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013647088780999184
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001842067576944828
      

      outcome:

      passed
      
    • Test 278
      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.0003069741651415825
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014678016304969788
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016748858615756035
      

      outcome:

      passed
      
    • Test 279
      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.00031448202207684517
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014677690342068672
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016932515427470207
      

      outcome:

      passed
      

    Function: test_within_fraction

    • Test 280
      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.00032972777262330055
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000372979324311018
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020722486078739166
      

      outcome:

      passed
      
    • Test 281
      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.0003644609823822975
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002829860895872116
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018373457714915276
      

      outcome:

      passed
      
    • Test 282
      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.0003253328613936901
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024860305711627007
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019203312695026398
      

      outcome:

      passed
      
    • Test 283
      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.0003299158997833729
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002599349245429039
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001815599389374256
      

      outcome:

      passed
      

    Function: test_fraction_to_percentage

    • Test 284
      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.00029641203582286835
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001475871540606022
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015725195407867432
      

      outcome:

      passed
      
    • Test 285
      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.0002758791670203209
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013903388753533363
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017708679661154747
      

      outcome:

      passed
      
    • Test 286
      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.0002659279853105545
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014243600890040398
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001580151729285717
      

      outcome:

      passed
      

    Function: test_get_dtype

    • Test 287
      params: val="[1 2 3]", expected=""

      📌 Runtime Parameters

      params:
        val: [1 2 3]
        expected: <class 'numpy.ndarray'>
      id: val0-ndarray
      

      📌 Setup phase

      duration:

      0.00021287985146045685
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015355274081230164
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001644948497414589
      

      outcome:

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

      📌 Runtime Parameters

      params:
        val:
          - 1
          - 2
          - 3
        expected: <class 'list'>
      id: val1-list
      

      📌 Setup phase

      duration:

      0.0002723350189626217
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014476804062724113
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013940688222646713
      

      outcome:

      passed
      
    • Test 289
      params: val=3.14, expected=""

      📌 Runtime Parameters

      params:
        val: 3.14
        expected: <class 'float'>
      id: 3.14-float
      

      📌 Setup phase

      duration:

      0.0002474552020430565
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014096498489379883
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013796286657452583
      

      outcome:

      passed
      

    Function: test_get_shape

    • Test 290
      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.00021827686578035355
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013875402510166168
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001767999492585659
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00024665798991918564
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014127092435956
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001381589099764824
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023180712014436722
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001508542336523533
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013870280236005783
      

      outcome:

      passed
      

    Function: test_is_array

    • Test 293
      params: val="[1 2 3]", expected=true

      📌 Runtime Parameters

      params:
        val: [1 2 3]
        expected: True
      id: val0-True
      

      📌 Setup phase

      duration:

      0.00021586986258625984
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014382507652044296
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001554521732032299
      

      outcome:

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

      📌 Runtime Parameters

      params:
        val:
          - 1
          - 2
          - 3
        expected: False
      id: val1-False
      

      📌 Setup phase

      duration:

      0.0002472391352057457
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013784505426883698
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014256173744797707
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002249223180115223
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013432512059807777
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013889791443943977
      

      outcome:

      passed
      
  • 📄 test_utils_path.py

    Function: test_can_create_all_files_user_says_yes

    • Test 296

      📌 Setup phase

      duration:

      0.0001284368336200714
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007315082475543022
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011991802603006363
      

      outcome:

      passed
      

    Function: test_can_create_all_files_user_says_no

    • Test 297

      📌 Setup phase

      duration:

      0.00011569773778319359
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00042460113763809204
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011419039219617844
      

      outcome:

      passed
      

    Function: test_make_missing_dir_creates_folder

    • Test 298

      📌 Setup phase

      duration:

      0.0001136590726673603
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004954277537763119
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012381095439195633
      

      outcome:

      passed
      

    Function: test_glob_files_returns_matching_files_only

    • Test 299

      📌 Setup phase

      duration:

      0.00011766515672206879
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012463200837373734
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000126006081700325
      

      outcome:

      passed
      

    Function: test_filter_files_excludes_directories

    • Test 300

      📌 Setup phase

      duration:

      0.00011795526370406151
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008691237308084965
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001279246062040329
      

      outcome:

      passed
      
  • 📄 test_utils_picklio.py

    Function: test_pickle_and_unpickle

    • Test 301
      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.0008136839605867863
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006622299551963806
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002982397563755512
      

      outcome:

      passed
      
    • Test 302
      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.0006210152059793472
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00030299508944153786
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001600729301571846
      

      outcome:

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

      📌 Runtime Parameters

      params:
        test_obj: simple string
      id: simple string
      

      📌 Setup phase

      duration:

      0.0005511399358510971
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003643683157861233
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016338005661964417
      

      outcome:

      passed
      
    • Test 304
      params: test_obj=42

      📌 Runtime Parameters

      params:
        test_obj: 42
      id: 42
      

      📌 Setup phase

      duration:

      0.0005310517735779285
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002819630317389965
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016601895913481712
      

      outcome:

      passed
      
    • Test 305
      params: test_obj=3.14159

      📌 Runtime Parameters

      params:
        test_obj: 3.14159
      id: 3.14159
      

      📌 Setup phase

      duration:

      0.0005837860517203808
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002889661118388176
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016590813174843788
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0005391840822994709
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00029356125742197037
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001654759980738163
      

      outcome:

      passed
      
    • Test 307
      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.0005884198471903801
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003177160397171974
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000169374980032444
      

      outcome:

      passed
      
  • 📄 test_utils_printing.py

    Function: test_maxlen_valid

    • Test 308
      params: seq=["a", "abc", ""], expected=3

      📌 Runtime Parameters

      params:
        seq:
          - a
          - abc
          - (vide)
        expected: 3
      id: seq0-3
      

      📌 Setup phase

      duration:

      0.0003332807682454586
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015994301065802574
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014516664668917656
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023188721388578415
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013836007565259933
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014101527631282806
      

      outcome:

      passed
      
    • Test 310
      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.00022480404004454613
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001376718282699585
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001549161970615387
      

      outcome:

      passed
      
    • Test 311
      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.0002235989086329937
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001423112116754055
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014208490028977394
      

      outcome:

      passed
      

    Function: test_strlen

    • Test 312
      params: value=42, expected=2

      📌 Runtime Parameters

      params:
        value: 42
        expected: 2
      id: 42-2
      

      📌 Setup phase

      duration:

      0.0002159271389245987
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013561872765421867
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014223018661141396
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022571301087737083
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015547871589660645
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001439177431166172
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023024482652544975
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020525697618722916
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024608615785837173
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023152818903326988
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015922775492072105
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016146712005138397
      

      outcome:

      passed
      
    • Test 316
      params: value=[1, 2, 3], expected=9

      📌 Runtime Parameters

      params:
        value:
          - 1
          - 2
          - 3
        expected: 9
      id: value4-9
      

      📌 Setup phase

      duration:

      0.00021936418488621712
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013647973537445068
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015309080481529236
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002391766756772995
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023778993636369705
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021404027938842773
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.000348028726875782
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021519092842936516
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002232440747320652
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00035153189674019814
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021337764337658882
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020931800827383995
      

      outcome:

      passed
      
    • Test 320
      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.0003316071815788746
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000231271144002676
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0008129668422043324
      

      outcome:

      passed
      

    Function: test_maxstrlen

    • Test 321
      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.0003814883530139923
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002429499290883541
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002514808438718319
      

      outcome:

      passed
      
    • Test 322
      params: seq=["aa", "bbb", "c"], expected=3

      📌 Runtime Parameters

      params:
        seq:
          - aa
          - bbb
          - c
        expected: 3
      id: seq1-3
      

      📌 Setup phase

      duration:

      0.0003254828043282032
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016174325719475746
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014719786122441292
      

      outcome:

      passed
      
    • Test 323
      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.0002441420219838619
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014962581917643547
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001372150145471096
      

      outcome:

      passed
      
    • Test 324
      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.00024918001145124435
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015999190509319305
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014055613428354263
      

      outcome:

      passed
      
    • Test 325
      params: seq=[null, false, 12345], expected=5

      📌 Runtime Parameters

      params:
        seq:
          - (vide)
          - (vide)
          - 12345
        expected: 5
      id: seq4-5
      

      📌 Setup phase

      duration:

      0.00021683098748326302
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001432551071047783
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014300458133220673
      

      outcome:

      passed
      

    Function: test_transpose_matrix

    • Test 326
      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.00023083621636033058
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015187496319413185
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014995737001299858
      

      outcome:

      passed
      
    • Test 327

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002224198542535305
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001414208672940731
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014030328020453453
      

      outcome:

      passed
      
    • Test 328
      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.0002188161015510559
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014477688819169998
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001458250917494297
      

      outcome:

      passed
      

    Function: test_prepend

    • Test 329
      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.00026664696633815765
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014129094779491425
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015034014359116554
      

      outcome:

      passed
      
    • Test 330
      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.00028902897611260414
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014083413407206535
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015294784680008888
      

      outcome:

      passed
      
    • Test 331
      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.00027467822656035423
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013648997992277145
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015473691746592522
      

      outcome:

      passed
      
    • Test 332
      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.00026572495698928833
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013405922800302505
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014824606478214264
      

      outcome:

      passed
      

    Function: test_fmt_table_line

    • Test 333
      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.0002772519364953041
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014908472076058388
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016518263146281242
      

      outcome:

      passed
      
    • Test 334
      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.0002676490694284439
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001465287059545517
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001526721753180027
      

      outcome:

      passed
      
    • Test 335
      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.0002529551275074482
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015028798952698708
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015607895329594612
      

      outcome:

      passed
      
    • Test 336
      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.00028275977820158005
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014011235907673836
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015923380851745605
      

      outcome:

      passed
      
    • Test 337
      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.00027958303689956665
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014337198808789253
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001565101556479931
      

      outcome:

      passed
      
    • Test 338
      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.0002681533806025982
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014798808842897415
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017132610082626343
      

      outcome:

      passed
      
    • Test 339
      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.00026320992037653923
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001446702517569065
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015640538185834885
      

      outcome:

      passed
      
    • Test 340
      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.0002644350752234459
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015123700723052025
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015097623690962791
      

      outcome:

      passed
      

    Function: test_fmt_label_sep

    • Test 341
      params: widths=[3, 4], line="-", expected="--- ----"

      📌 Runtime Parameters

      params:
        widths:
          - 3
          - 4
        line: -
        expected: --- ----
      id: widths0------ ----
      

      📌 Setup phase

      duration:

      0.00026623206213116646
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014519505202770233
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015273410826921463
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00026565371081233025
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014273589476943016
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015641283243894577
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00028124498203396797
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013931607827544212
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014785537496209145
      

      outcome:

      passed
      

    Function: test_printable_dict_with_header

    • Test 344
      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.00026703858748078346
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021920911967754364
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016689300537109375
      

      outcome:

      passed
      

    Function: test_printable_dict_of_dicts

    • Test 345

      📌 Setup phase

      duration:

      0.00010939408093690872
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022810790687799454
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010782293975353241
      

      outcome:

      passed
      

    Function: test_printable_table

    • Test 346
      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.0003678160719573498
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003428100608289242
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000174826942384243
      

      outcome:

      passed
      
  • 📄 test_utils_rangebar.py

    Function: test_full_progress_bar

    • Test 355

      📌 Setup phase

      duration:

      0.0003753029741346836
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024108076468110085
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017300480976700783
      

      outcome:

      passed
      

    Function: test_half_progress_bar

    • Test 356

      📌 Setup phase

      duration:

      0.000277551356703043
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022693397477269173
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016643619164824486
      

      outcome:

      passed
      

    Function: test_zero_progress_bar

    • Test 357

      📌 Setup phase

      duration:

      0.0002751830033957958
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018040696159005165
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015515321865677834
      

      outcome:

      passed
      

    Function: test_overflow_bar

    • Test 358

      📌 Setup phase

      duration:

      0.0002619270235300064
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018283724784851074
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001609153114259243
      

      outcome:

      passed
      

    Function: test_underflow_bar

    • Test 359

      📌 Setup phase

      duration:

      0.0002516089007258415
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019221892580389977
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016511790454387665
      

      outcome:

      passed
      

    Function: test_repr

    • Test 360

      📌 Setup phase

      duration:

      0.00010610418394207954
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014161411672830582
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011068116873502731
      

      outcome:

      passed
      

    Function: test_each_value_separately

    • Test 361
      params: value=0, expected_bar_part=" "

      📌 Runtime Parameters

      params:
        value: 0
        expected_bar_part:           
      id: 0-          
      

      📌 Setup phase

      duration:

      0.000369437038898468
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020923931151628494
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019328389316797256
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00037739798426628113
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001934417523443699
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018878420814871788
      

      outcome:

      passed
      
    • Test 363
      params: value=25, expected_bar_part="██▌ "

      📌 Runtime Parameters

      params:
        value: 25
        expected_bar_part: ██▌       
      id: 25-\u2588\u2588\u258c       
      

      📌 Setup phase

      duration:

      0.0003486974164843559
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001921011134982109
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020940275862812996
      

      outcome:

      passed
      
    • Test 364
      params: value=27, expected_bar_part="██▊ "

      📌 Runtime Parameters

      params:
        value: 27
        expected_bar_part: ██▊       
      id: 27-\u2588\u2588\u258a       
      

      📌 Setup phase

      duration:

      0.000344996340572834
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020344508811831474
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019179889932274818
      

      outcome:

      passed
      
    • Test 365
      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.00041476497426629066
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018941238522529602
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001857290044426918
      

      outcome:

      passed
      
    • Test 366
      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.0003595319576561451
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020552100613713264
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019097793847322464
      

      outcome:

      passed
      
    • Test 367
      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.0003561638295650482
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019533000886440277
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019035814329981804
      

      outcome:

      passed
      
    • Test 368
      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.000360831618309021
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019071996212005615
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000189279206097126
      

      outcome:

      passed
      
    • Test 369
      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.00035515008494257927
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018740911036729813
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001947297714650631
      

      outcome:

      passed
      
    • Test 370
      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.0003599398769438267
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001911199651658535
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001869508996605873
      

      outcome:

      passed
      
    • Test 371
      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.00037570297718048096
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018884800374507904
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002014627680182457
      

      outcome:

      passed
      
  • 📄 test_utils_readable.py

    Function: test_readable_seconds

    • Test 372
      params: seconds=59.4, expected="59 seconds"

      📌 Runtime Parameters

      params:
        seconds: 59.4
        expected: 59 seconds
      id: 59.4-59 seconds
      

      📌 Setup phase

      duration:

      0.0002523846924304962
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018570991232991219
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014960067346692085
      

      outcome:

      passed
      
    • Test 373
      params: seconds=59.9, expected="60 seconds"

      📌 Runtime Parameters

      params:
        seconds: 59.9
        expected: 60 seconds
      id: 59.9-60 seconds
      

      📌 Setup phase

      duration:

      0.0002336404286324978
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001485380344092846
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014276709407567978
      

      outcome:

      passed
      
    • Test 374
      params: seconds=119.9, expected="120 seconds"

      📌 Runtime Parameters

      params:
        seconds: 119.9
        expected: 120 seconds
      id: 119.9-120 seconds
      

      📌 Setup phase

      duration:

      0.00023900484666228294
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014434009790420532
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014475500211119652
      

      outcome:

      passed
      
    • Test 375
      params: seconds=120.1, expected="2 minutes"

      📌 Runtime Parameters

      params:
        seconds: 120.1
        expected: 2 minutes
      id: 120.1-2 minutes
      

      📌 Setup phase

      duration:

      0.00025608716532588005
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014493567869067192
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013872375711798668
      

      outcome:

      passed
      
    • Test 376
      params: seconds=3599.9, expected="60 minutes"

      📌 Runtime Parameters

      params:
        seconds: 3599.9
        expected: 60 minutes
      id: 3599.9-60 minutes
      

      📌 Setup phase

      duration:

      0.00021301675587892532
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013826088979840279
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013704923912882805
      

      outcome:

      passed
      
    • Test 377
      params: seconds=3600.1, expected="60 minutes"

      📌 Runtime Parameters

      params:
        seconds: 3600.1
        expected: 60 minutes
      id: 3600.1-60 minutes
      

      📌 Setup phase

      duration:

      0.00022415025159716606
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015333900228142738
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015518488362431526
      

      outcome:

      passed
      
    • Test 378
      params: seconds=7199.9, expected="120 minutes"

      📌 Runtime Parameters

      params:
        seconds: 7199.9
        expected: 120 minutes
      id: 7199.9-120 minutes
      

      📌 Setup phase

      duration:

      0.00022407062351703644
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001397179439663887
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001569073647260666
      

      outcome:

      passed
      
    • Test 379
      params: seconds=7200.1, expected="2 hours"

      📌 Runtime Parameters

      params:
        seconds: 7200.1
        expected: 2 hours
      id: 7200.1-2 hours
      

      📌 Setup phase

      duration:

      0.00024323724210262299
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014450540766119957
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014099711552262306
      

      outcome:

      passed
      
    • Test 380
      params: seconds=90.4, expected="90 seconds"

      📌 Runtime Parameters

      params:
        seconds: 90.4
        expected: 90 seconds
      id: 90.4-90 seconds
      

      📌 Setup phase

      duration:

      0.00024452200159430504
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014338502660393715
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013922620564699173
      

      outcome:

      passed
      
    • Test 381
      params: seconds=90.6, expected="91 seconds"

      📌 Runtime Parameters

      params:
        seconds: 90.6
        expected: 91 seconds
      id: 90.6-91 seconds
      

      📌 Setup phase

      duration:

      0.0002243448980152607
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014366907998919487
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013997498899698257
      

      outcome:

      passed
      
    • Test 382
      params: seconds=121.9, expected="2 minutes"

      📌 Runtime Parameters

      params:
        seconds: 121.9
        expected: 2 minutes
      id: 121.9-2 minutes
      

      📌 Setup phase

      duration:

      0.00021798629313707352
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002902359701693058
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014926306903362274
      

      outcome:

      passed
      
    • Test 383
      params: seconds=1296000.0, expected="2 weeks"

      📌 Runtime Parameters

      params:
        seconds: 1296000.0
        expected: 2 weeks
      id: 1296000.0-2 weeks
      

      📌 Setup phase

      duration:

      0.0002238461747765541
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001580263487994671
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014700787141919136
      

      outcome:

      passed
      
    • Test 384
      params: seconds=2592000.0, expected="4 weeks"

      📌 Runtime Parameters

      params:
        seconds: 2592000.0
        expected: 4 weeks
      id: 2592000.0-4 weeks
      

      📌 Setup phase

      duration:

      0.00022388994693756104
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001567569561302662
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014523416757583618
      

      outcome:

      passed
      
    • Test 385
      params: seconds=2800000.0, expected="5 weeks"

      📌 Runtime Parameters

      params:
        seconds: 2800000.0
        expected: 5 weeks
      id: 2800000.0-5 weeks
      

      📌 Setup phase

      duration:

      0.00022827088832855225
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015954114496707916
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013857800513505936
      

      outcome:

      passed
      
    • Test 386
      params: seconds=3888000.0, expected="6 weeks"

      📌 Runtime Parameters

      params:
        seconds: 3888000.0
        expected: 6 weeks
      id: 3888000.0-6 weeks
      

      📌 Setup phase

      duration:

      0.00023047113791108131
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013824878260493279
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014047091826796532
      

      outcome:

      passed
      
    • Test 387
      params: seconds=5097600.0, expected="8 weeks"

      📌 Runtime Parameters

      params:
        seconds: 5097600.0
        expected: 8 weeks
      id: 5097600.0-8 weeks
      

      📌 Setup phase

      duration:

      0.00022323103621602058
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001391158439218998
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013538775965571404
      

      outcome:

      passed
      
    • Test 388
      params: seconds=5184000.0, expected="9 weeks"

      📌 Runtime Parameters

      params:
        seconds: 5184000.0
        expected: 9 weeks
      id: 5184000.0-9 weeks
      

      📌 Setup phase

      duration:

      0.00022607622668147087
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013953819870948792
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013656402006745338
      

      outcome:

      passed
      
    • Test 389
      params: seconds=5270400.0, expected="2 months"

      📌 Runtime Parameters

      params:
        seconds: 5270400.0
        expected: 2 months
      id: 5270400.0-2 months
      

      📌 Setup phase

      duration:

      0.00021231407299637794
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001371246762573719
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015075365081429482
      

      outcome:

      passed
      
    • Test 390
      params: seconds=23328000.0, expected="9 months"

      📌 Runtime Parameters

      params:
        seconds: 23328000.0
        expected: 9 months
      id: 23328000.0-9 months
      

      📌 Setup phase

      duration:

      0.00022278400138020515
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001389891840517521
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017216289415955544
      

      outcome:

      passed
      
    • Test 391
      params: seconds=31104000.0, expected="12 months"

      📌 Runtime Parameters

      params:
        seconds: 31104000.0
        expected: 12 months
      id: 31104000.0-12 months
      

      📌 Setup phase

      duration:

      0.0002397177740931511
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016360590234398842
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001417640596628189
      

      outcome:

      passed
      
    • Test 392
      params: seconds=33696000.0, expected="13 months"

      📌 Runtime Parameters

      params:
        seconds: 33696000.0
        expected: 13 months
      id: 33696000.0-13 months
      

      📌 Setup phase

      duration:

      0.0002178470604121685
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013933097943663597
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013942504301667213
      

      outcome:

      passed
      
    • Test 393
      params: seconds=59616000.0, expected="23 months"

      📌 Runtime Parameters

      params:
        seconds: 59616000.0
        expected: 23 months
      id: 59616000.0-23 months
      

      📌 Setup phase

      duration:

      0.00021604401990771294
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014168210327625275
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013282103464007378
      

      outcome:

      passed
      
    • Test 394
      params: seconds=62208000.0, expected="24 months"

      📌 Runtime Parameters

      params:
        seconds: 62208000.0
        expected: 24 months
      id: 62208000.0-24 months
      

      📌 Setup phase

      duration:

      0.0002276371233165264
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014270376414060593
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001360541209578514
      

      outcome:

      passed
      
    • Test 395
      params: seconds=64208000.0, expected="2 years"

      📌 Runtime Parameters

      params:
        seconds: 64208000.0
        expected: 2 years
      id: 64208000.0-2 years
      

      📌 Setup phase

      duration:

      0.00021680304780602455
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013707997277379036
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013576867058873177
      

      outcome:

      passed
      
  • 📄 test_utils_registry.py

    Function: test_metaclass_creates_weakset

    • Test 396

      📌 Setup phase

      duration:

      0.0001276363618671894
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007201679982244968
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011177035048604012
      

      outcome:

      passed
      

    Function: test_metaclass_tracks_instances

    • Test 397

      📌 Setup phase

      duration:

      0.00011244695633649826
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00026085181161761284
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010491395369172096
      

      outcome:

      passed
      

    Function: test_registry_inheritance

    • Test 398

      📌 Setup phase

      duration:

      0.0001838100142776966
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005594082176685333
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001410120166838169
      

      outcome:

      passed
      

    Function: test_instance_tracking

    • Test 399

      📌 Setup phase

      duration:

      0.00017997296527028084
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020840764045715332
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013465899974107742
      

      outcome:

      passed
      

    Function: test_collect_instances_recursive

    • Test 400

      📌 Setup phase

      duration:

      0.00016818195581436157
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0011158459819853306
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015804683789610863
      

      outcome:

      passed
      

    Function: test_instances_function

    • Test 401

      📌 Setup phase

      duration:

      0.00018492480739951134
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008393418975174427
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001440681517124176
      

      outcome:

      passed
      

    Function: test_non_registry_class_error

    • Test 402

      📌 Setup phase

      duration:

      0.00011712033301591873
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021485192701220512
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012620072811841965
      

      outcome:

      passed
      

    Function: test_signature_preservation

    • Test 403

      📌 Setup phase

      duration:

      0.00011185090988874435
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002485038712620735
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011851266026496887
      

      outcome:

      passed
      
  • 📄 test_utils_richcfg.py

    Function: test_rich_inspector_outputs_more_than_builtin

    • Test 404

      📌 Setup phase

      duration:

      0.00020273402333259583
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.09648847207427025
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.312415514
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.3176098
        msecs: 317.6097869873047
        relativeCreated: 11143.181085586548
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      

      📌 Teardown phase

      duration:

      0.0002895258367061615
      

      outcome:

      passed
      
  • 📄 test_utils_run_later.py

    Function: test_init_and_repr

    • Test 405

      📌 Setup phase

      duration:

      0.0001592012122273445
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000269290991127491
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011142482981085777
      

      outcome:

      passed
      

    Function: test_call

    • Test 406

      📌 Setup phase

      duration:

      0.00011881208047270775
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001828470267355442
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001052170991897583
      

      outcome:

      passed
      

    Function: test_matmul_with_string

    • Test 407

      📌 Setup phase

      duration:

      0.00011247582733631134
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017903605476021767
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.879982098937035e-05
      

      outcome:

      passed
      

    Function: test_matmul_with_list

    • Test 408

      📌 Setup phase

      duration:

      0.00010517332702875137
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001682261936366558
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011369120329618454
      

      outcome:

      passed
      

    Function: test_matmul_with_single_int

    • Test 409

      📌 Setup phase

      duration:

      0.00011061737313866615
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017150165513157845
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.883195161819458e-05
      

      outcome:

      passed
      

    Function: test_run_at_future_triggered_and_logs

    • Test 410

      📌 Setup phase

      duration:

      0.00038369419053196907
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20788117498159409
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.423347142
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735732800.0811129
        msecs: 81.11286163330078
        relativeCreated: -18826860093.31584
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.524055156
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735732800.1818113
        msecs: 181.81133270263672
        relativeCreated: -18826859992.61737
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      

      📌 Teardown phase

      duration:

      0.00034370459616184235
      

      outcome:

      passed
      

    Function: test_run_at_already_past

    • Test 411

      📌 Setup phase

      duration:

      0.0003437204286456108
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00039807427674531937
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018555298447608948
      

      outcome:

      passed
      

    Function: test_run_in_future_triggered_and_logs

    • Test 412

      📌 Setup phase

      duration:

      0.0002589719370007515
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20213478384539485
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.624772148
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735732800.071632
        msecs: 71.63190841674805
        relativeCreated: -18826860102.79679
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.725605909
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735732800.1725192
        msecs: 172.51920700073242
        relativeCreated: -18826860001.909492
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      

      📌 Teardown phase

      duration:

      0.0003697001375257969
      

      outcome:

      passed
      

    Function: test_run_in_past

    • Test 413

      📌 Setup phase

      duration:

      0.00036799581721425056
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00038665393367409706
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019962480291724205
      

      outcome:

      passed
      

    Function: test_run_later_with_seconds

    • Test 414

      📌 Setup phase

      duration:

      0.0002668187953531742
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.2022287859581411
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.826516074
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735740000.0675292
        msecs: 67.52920150756836
        relativeCreated: -18819660106.899498
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.927247427
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735740000.1682594
        msecs: 168.2593822479248
        relativeCreated: -18819660006.16932
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      

      📌 Teardown phase

      duration:

      0.000348423607647419
      

      outcome:

      passed
      

    Function: test_run_later_with_past_datetime

    • Test 415

      📌 Setup phase

      duration:

      0.00037829717621207237
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00039259670302271843
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002332320436835289
      

      outcome:

      passed
      

    Function: test_run_at_tqdm_multiple_updates

    • Test 416

      📌 Setup phase

      duration:

      0.0003687138669192791
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.2022198000922799
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.27957890
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.028102
        msecs: 28.10192108154297
        relativeCreated: 11853.673219680786
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.128813768
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.129066
        msecs: 129.06599044799805
        relativeCreated: 11954.637289047241
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      

      📌 Teardown phase

      duration:

      0.0003664572723209858
      

      outcome:

      passed
      

    Function: test_today_basic

    • Test 417

      📌 Setup phase

      duration:

      0.0001582610420882702
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008213706314563751
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014630518853664398
      

      outcome:

      passed
      

    Function: test_tomorrow_basic

    • Test 418

      📌 Setup phase

      duration:

      0.00014255894348025322
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00041462574154138565
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012564519420266151
      

      outcome:

      passed
      

    Function: test_yesterday_basic

    • Test 419

      📌 Setup phase

      duration:

      0.0001255301758646965
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003687678836286068
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001133098267018795
      

      outcome:

      passed
      

    Function: test_today_matmul_string

    • Test 420

      📌 Setup phase

      duration:

      0.00011420343071222305
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006291079334914684
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012396881356835365
      

      outcome:

      passed
      

    Function: test_tomorrow_matmul_list

    • Test 421

      📌 Setup phase

      duration:

      0.00012018391862511635
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003632567822933197
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011407490819692612
      

      outcome:

      passed
      

    Function: test_yesterday_matmul_single

    • Test 422

      📌 Setup phase

      duration:

      0.00011241715401411057
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00034489575773477554
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011551892384886742
      

      outcome:

      passed
      
  • 📄 test_utils_sendmail.py

    Function: test_sendmail_real_local_verbose

    • Test 423

      📌 Setup phase

      duration:

      0.0001202891580760479
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.9976918241009116
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.229712606
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.2299771
        msecs: 229.97713088989258
        relativeCreated: 12055.548429489136
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.330582431
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.3307323
        msecs: 330.7323455810547
        relativeCreated: 12156.303644180298
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.431226068
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.431364
        msecs: 431.3640594482422
        relativeCreated: 12256.935358047485
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.531877772
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.5320246
        msecs: 532.024621963501
        relativeCreated: 12357.595920562744
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.632636142
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.6329026
        msecs: 632.9026222229004
        relativeCreated: 12458.473920822144
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.733851375
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.7344172
        msecs: 734.417200088501
        relativeCreated: 12559.988498687744
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.835295126
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.835447
        msecs: 835.4470729827881
        relativeCreated: 12661.018371582031
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407672.935980684
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559672.936126
        msecs: 936.1259937286377
        relativeCreated: 12761.69729232788
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.36663983
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.036822
        msecs: 36.82208061218262
        relativeCreated: 12862.393379211426
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.137353567
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.1374989
        msecs: 137.4988555908203
        relativeCreated: 12963.070154190063
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.238094959
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.2382534
        msecs: 238.25335502624512
        relativeCreated: 13063.824653625488
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.338820839
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.3389633
        msecs: 338.96327018737793
        relativeCreated: 13164.534568786621
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.439578872
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.4397476
        msecs: 439.74757194519043
        relativeCreated: 13265.318870544434
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.540296177
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.5404403
        msecs: 540.4403209686279
        relativeCreated: 13366.011619567871
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.640979718
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.641121
        msecs: 641.1209106445312
        relativeCreated: 13466.692209243774
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.741723303
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.7419229
        msecs: 741.9228553771973
        relativeCreated: 13567.49415397644
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.842504276
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.8426554
        msecs: 842.6554203033447
        relativeCreated: 13668.226718902588
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407673.943269982
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559673.9434144
        msecs: 943.4144496917725
        relativeCreated: 13768.985748291016
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407674.43996507
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559674.044148
        msecs: 44.14796829223633
        relativeCreated: 13869.71926689148
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407674.144730486
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559674.1448684
        msecs: 144.8683738708496
        relativeCreated: 13970.439672470093
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      

      📌 Teardown phase

      duration:

      0.0003157518804073334
      

      outcome:

      passed
      
  • 📄 test_utils_shortcut.py

    Function: TestShortcutInitialization

    • Test 424

      📌 Setup phase

      duration:

      0.000402216799557209
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002498640678822994
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016571208834648132
      

      outcome:

      passed
      
    • Test 425

      📌 Setup phase

      duration:

      0.00020857388153672218
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016600033268332481
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013218168169260025
      

      outcome:

      passed
      

    Function: test_run_method

    • Test 426

      📌 Setup phase

      duration:

      0.0004221498966217041
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007471288554370403
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022663502022624016
      

      outcome:

      passed
      

    Function: test_repr_output

    • Test 427

      📌 Setup phase

      duration:

      0.00019061286002397537
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016517704352736473
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001421058550477028
      

      outcome:

      passed
      

    Function: test_source_with_regular_function

    • Test 428

      📌 Setup phase

      duration:

      0.0001936890184879303
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001336194109171629
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015574926510453224
      

      outcome:

      passed
      

    Function: test_source_error_handling

    • Test 429

      📌 Setup phase

      duration:

      0.0001967577263712883
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009351870976388454
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016659405082464218
      

      outcome:

      passed
      

    Function: test_as_shortcut_basic

    • Test 430

      📌 Setup phase

      duration:

      0.00020248210057616234
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001664259470999241
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013331696391105652
      

      outcome:

      passed
      

    Function: test_as_shortcut_with_name

    • Test 431

      📌 Setup phase

      duration:

      0.00017351005226373672
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014809006825089455
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013436796143651009
      

      outcome:

      passed
      

    Function: test_as_shortcut_factory_pattern

    • Test 432

      📌 Setup phase

      duration:

      0.00017616990953683853
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017008092254400253
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001333220861852169
      

      outcome:

      passed
      

    Function: TestShortcutsSingleton

    • Test 433

      📌 Setup phase

      duration:

      0.00027668895199894905
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013728206977248192
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0003018318675458431
      

      outcome:

      passed
      
    • Test 434

      📌 Setup phase

      duration:

      0.00025722896680235863
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002591093070805073
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015666894614696503
      

      outcome:

      passed
      
    • Test 435

      📌 Setup phase

      duration:

      0.000247100368142128
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017478782683610916
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014150282368063927
      

      outcome:

      passed
      
    • Test 436

      📌 Setup phase

      duration:

      0.00027103908360004425
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020206207409501076
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014654407277703285
      

      outcome:

      passed
      
    • Test 437

      📌 Setup phase

      duration:

      0.00023558177053928375
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002396400086581707
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015535298734903336
      

      outcome:

      passed
      

    Function: TestFullIntegration

    • Test 438

      📌 Setup phase

      duration:

      0.00041053397580981255
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006967717781662941
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000224405899643898
      

      outcome:

      passed
      
    • Test 439

      📌 Setup phase

      duration:

      0.00024624308571219444
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002200007438659668
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015121418982744217
      

      outcome:

      passed
      

    Function: test_registry_inheritance

    • Test 440

      📌 Setup phase

      duration:

      0.00017951708287000656
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000135818962007761
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012734532356262207
      

      outcome:

      passed
      
  • 📄 test_utils_snapshot.py

    Function: test_snapshot

    • Test 441
      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.00030774110928177834
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006925328634679317
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019835680723190308
      

      outcome:

      passed
      
    • Test 442
      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.00028418703004717827
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004951320588588715
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017407676205039024
      

      outcome:

      passed
      
    • Test 443
      params: test_input=[], expected=[], kwargs={}

      📌 Runtime Parameters

      params:
        test_input:
      []
        expected:
      []
        kwargs:
      {}
      id: empty_case
      

      📌 Setup phase

      duration:

      0.0002833409234881401
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014981022104620934
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017410796135663986
      

      outcome:

      passed
      
    • Test 444
      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.00027296924963593483
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006086518988013268
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020343484356999397
      

      outcome:

      passed
      
    • Test 445
      params: test_input="z3", "C"], ["a1", "A"], ["m2", "B", expected=["A", "B", "C"], kwargs="{'sort_key': at 0x7f95f0d5b280>}"

      📌 Runtime Parameters

      params:
        test_input:
          -       - z3
            - C
          -       - a1
            - A
          -       - m2
            - B
        expected:
          - A
          - B
          - C
        kwargs: {'sort_key': <function <lambda> at 0x7f95f0d5b280>}
      id: sort_id
      

      📌 Setup phase

      duration:

      0.000287896953523159
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006351396441459656
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018518278375267982
      

      outcome:

      passed
      
    • Test 446
      params: test_input="3", "Charlie"], ["1", "alpha"], ["2", "Beta", expected=["alpha", "Beta", "Charlie"], kwargs="{'sort_key': at 0x7f95f0d5b310>}"

      📌 Runtime Parameters

      params:
        test_input:
          -       - 3
            - Charlie
          -       - 1
            - alpha
          -       - 2
            - Beta
        expected:
          - alpha
          - Beta
          - Charlie
        kwargs: {'sort_key': <function <lambda> at 0x7f95f0d5b310>}
      id: sort_case_insensitive
      

      📌 Setup phase

      duration:

      0.00031562289223074913
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005607646889984608
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016789324581623077
      

      outcome:

      passed
      
    • Test 447
      params: test_input="1", "A"], ["2", "BB"], ["3", "CCC", expected=["A", "BB", "CCC"], kwargs="{'sort_key': at 0x7f95f0d5b3a0>}"

      📌 Runtime Parameters

      params:
        test_input:
          -       - 1
            - A
          -       - 2
            - BB
          -       - 3
            - CCC
        expected:
          - A
          - BB
          - CCC
        kwargs: {'sort_key': <function <lambda> at 0x7f95f0d5b3a0>}
      id: sort_length
      

      📌 Setup phase

      duration:

      0.00027852505445480347
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008444688282907009
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000189339742064476
      

      outcome:

      passed
      
    • Test 448
      params: test_input="1", "A"], ["2", "B"], ["3", "C", expected=["C", "B", "A"], kwargs="{'sort_key': at 0x7f95f0d5b430>}"

      📌 Runtime Parameters

      params:
        test_input:
          -       - 1
            - A
          -       - 2
            - B
          -       - 3
            - C
        expected:
          - C
          - B
          - A
        kwargs: {'sort_key': <function <lambda> at 0x7f95f0d5b430>}
      id: sort_reverse
      

      📌 Setup phase

      duration:

      0.0002934499643743038
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005863681435585022
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018501002341508865
      

      outcome:

      passed
      
  • 📄 test_utils_termtitle.py

    Function: test_terminal_title_with_tmux

    • Test 449

      📌 Setup phase

      duration:

      0.00014130398631095886
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.021126029081642628
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0005175410769879818
      

      outcome:

      passed
      
  • 📄 test_utils_tqdm_mod.py

    Function: test_complete_progress_bar

    • Test 450

      📌 Setup phase

      duration:

      0.00023623183369636536
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00458060298115015
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407674.245389884
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559674.2455528
        msecs: 245.55277824401855
        relativeCreated: 14071.124076843262
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      

      📌 Teardown phase

      duration:

      0.0001768171787261963
      

      outcome:

      passed
      

    Function: test_set_progress_multiple_points

    • Test 451

      📌 Setup phase

      duration:

      0.0001456262543797493
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0019023320637643337
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017521996051073074
      

      outcome:

      passed
      

    Function: test_format_sizeof_alignment

    • Test 452

      📌 Setup phase

      duration:

      0.00014460179954767227
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018421001732349396
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011339131742715836
      

      outcome:

      passed
      

    Function: test_custom_unit

    • Test 454

      📌 Setup phase

      duration:

      0.00013503385707736015
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.004961444064974785
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013928301632404327
      

      outcome:

      passed
      

    Function: test_clamp_above_total

    • Test 455

      📌 Setup phase

      duration:

      0.00013190507888793945
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005455650389194489
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011639902368187904
      

      outcome:

      passed
      

    Function: test_clamp_below_zero

    • Test 456

      📌 Setup phase

      duration:

      0.00011957995593547821
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006852699443697929
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001304522156715393
      

      outcome:

      passed
      
  • 📄 test_utils_trinary.py

    Function: test_check_trinary_valid_values

    • Test 457

      📌 Setup phase

      duration:

      0.00012760981917381287
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018565915524959564
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010611210018396378
      

      outcome:

      passed
      

    Function: test_check_trinary_invalid_value

    • Test 458

      📌 Setup phase

      duration:

      0.0001378110609948635
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00042546214535832405
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001161377876996994
      

      outcome:

      passed
      

    Function: test_check_trinary_with_custom_allowed_values

    • Test 459

      📌 Setup phase

      duration:

      0.00011363299563527107
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017352914437651634
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010683992877602577
      

      outcome:

      passed
      
  • 📄 test_utils_typecast.py

    Function: test_downcast_success

    • Test 460

      📌 Setup phase

      duration:

      0.00012006936594843864
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000169459730386734
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010642781853675842
      

      outcome:

      passed
      

    Function: test_upcast_success

    • Test 461

      📌 Setup phase

      duration:

      0.0001120101660490036
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017372099682688713
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010598497465252876
      

      outcome:

      passed
      

    Function: test_downcast_invalid

    • Test 462

      📌 Setup phase

      duration:

      0.00011004786938428879
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003572814166545868
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001112278550863266
      

      outcome:

      passed
      

    Function: test_upcast_invalid

    • Test 463

      📌 Setup phase

      duration:

      0.00011299503967165947
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017471704632043839
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012967316433787346
      

      outcome:

      passed
      

    Function: test_object_identity_preserved

    • Test 464

      📌 Setup phase

      duration:

      0.00014512520283460617
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002686702646315098
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013466784730553627
      

      outcome:

      passed
      

    Function: test_ensure_subclass_valid

    • Test 465

      📌 Setup phase

      duration:

      0.00012886011973023415
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017274077981710434
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011017685756087303
      

      outcome:

      passed
      

    Function: test_ensure_subclass_invalid

    • Test 466

      📌 Setup phase

      duration:

      0.00010845484212040901
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018348312005400658
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010084407404065132
      

      outcome:

      passed
      

    Function: test_cast_changes_class

    • Test 467

      📌 Setup phase

      duration:

      0.00016461405903100967
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023188022896647453
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001593031920492649
      

      outcome:

      passed
      

    Function: test_cast_preserves_identity

    • Test 468

      📌 Setup phase

      duration:

      0.0001805960200726986
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002105608582496643
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016790814697742462
      

      outcome:

      passed
      
  • 📄 test_utils_utils.py

    Function: test_singleton_instance

    • Test 469

      📌 Setup phase

      duration:

      0.00019558891654014587
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024185935035347939
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016460707411170006
      

      outcome:

      passed
      

    Function: test_singleton_identity

    • Test 470

      📌 Setup phase

      duration:

      0.0001752111129462719
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021157506853342056
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000166391022503376
      

      outcome:

      passed
      

    Function: test_typename

    • Test 471
      params: obj=null, expected="NoneType"

      📌 Runtime Parameters

      params:
        obj: None
        expected: NoneType
      id: None-NoneType
      

      📌 Setup phase

      duration:

      0.0004771188832819462
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00027405936270952225
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021829316392540932
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002877139486372471
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001420578919351101
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001442190259695053
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022994307801127434
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013757869601249695
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013746600598096848
      

      outcome:

      passed
      
    • Test 474
      params: obj=3.14, expected="float"

      📌 Runtime Parameters

      params:
        obj: 3.14
        expected: float
      id: 3.14-float
      

      📌 Setup phase

      duration:

      0.00024179508909583092
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000196835957467556
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020710565149784088
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023355521261692047
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014298083260655403
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001456630416214466
      

      outcome:

      passed
      
    • Test 476
      params: obj="{1, 2, 3}", expected="set"

      📌 Runtime Parameters

      params:
        obj: {1, 2, 3}
        expected: set
      id: obj5-set
      

      📌 Setup phase

      duration:

      0.000215205829590559
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013612816110253334
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014665722846984863
      

      outcome:

      passed
      
    • Test 477
      params: obj=1], [2, 3, expected="list"

      📌 Runtime Parameters

      params:
        obj:
          -       - 1
          -       - 2
            - 3
        expected: list
      id: obj6-list
      

      📌 Setup phase

      duration:

      0.00023348303511738777
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021325377747416496
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018012803047895432
      

      outcome:

      passed
      
    • Test 478
      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.000302647240459919
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002026599831879139
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018516415730118752
      

      outcome:

      passed
      
    • Test 479
      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.00029471004381775856
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018189195543527603
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021072477102279663
      

      outcome:

      passed
      
    • Test 480
      params: obj=" at 0x7f95f0d69dc0>", expected="function"

      📌 Runtime Parameters

      params:
        obj: <function <lambda> at 0x7f95f0d69dc0>
        expected: function
      id: <lambda>-function
      

      📌 Setup phase

      duration:

      0.0004106811247766018
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019046058878302574
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018458394333720207
      

      outcome:

      passed
      
    • Test 481
      params: obj="", expected="function"

      📌 Runtime Parameters

      params:
        obj: <function sample_function at 0x7f95f0d69d30>
        expected: function
      id: sample_function-function
      

      📌 Setup phase

      duration:

      0.0002915649674832821
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020316988229751587
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001868298277258873
      

      outcome:

      passed
      
    • Test 482
      params: obj=".nested at 0x7f95f0d69e50>", expected="function"

      📌 Runtime Parameters

      params:
        obj: <function sample_function.<locals>.nested at 0x7f95f0d69e50>
        expected: function
      id: nested-function
      

      📌 Setup phase

      duration:

      0.0003108121454715729
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001780390739440918
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001881783828139305
      

      outcome:

      passed
      
    • Test 483
      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.00028266897425055504
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001843515783548355
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018857326358556747
      

      outcome:

      passed
      
    • Test 484
      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.0002712761051952839
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001730090007185936
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019503803923726082
      

      outcome:

      passed
      
    • Test 485
      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.0003168480470776558
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018666591495275497
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019325176253914833
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.000277866143733263
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019984599202871323
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019520707428455353
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00031540775671601295
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018173083662986755
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019606994464993477
      

      outcome:

      passed
      
    • Test 488
      params: obj=" at 0x7f95f0d38e40>", expected="generator"

      📌 Runtime Parameters

      params:
        obj: <generator object <genexpr> at 0x7f95f0d38e40>
        expected: generator
      id: <genexpr>-generator
      

      📌 Setup phase

      duration:

      0.0002728831022977829
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017058616504073143
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018020020797848701
      

      outcome:

      passed
      
    • Test 489
      params: obj="", expected="list_iterator"

      📌 Runtime Parameters

      params:
        obj: <list_iterator object at 0x7f95f0970280>
        expected: list_iterator
      id: obj18-list_iterator
      

      📌 Setup phase

      duration:

      0.00029151467606425285
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017880694940686226
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018719304352998734
      

      outcome:

      passed
      

    Function: test_next_int

    • Test 490
      params: nums=[1, 2, 3], expected=4

      📌 Runtime Parameters

      params:
        nums:
          - 1
          - 2
          - 3
        expected: 4
      id: nums0-4
      

      📌 Setup phase

      duration:

      0.00031494302675127983
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020643975585699081
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018292292952537537
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0003001349978148937
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018848199397325516
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002022278495132923
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002862229011952877
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001781233586370945
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001652538776397705
      

      outcome:

      passed
      

    Function: test_zero_pad

    • Test 493
      params: i=7, n=3, expected="007"

      📌 Runtime Parameters

      params:
        i: 7
        n: 3
        expected: 007
      id: 7-3-007
      

      📌 Setup phase

      duration:

      0.00028561800718307495
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001552049070596695
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016303686425089836
      

      outcome:

      passed
      
    • Test 494
      params: i=123, n=5, expected="00123"

      📌 Runtime Parameters

      params:
        i: 123
        n: 5
        expected: 00123
      id: 123-5-00123
      

      📌 Setup phase

      duration:

      0.0002837572246789932
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017410703003406525
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016235187649726868
      

      outcome:

      passed
      
    • Test 495
      params: i=0, n=2, expected="00"

      📌 Runtime Parameters

      params:
        i: 0
        n: 2
        expected: 00
      id: 0-2-00
      

      📌 Setup phase

      duration:

      0.0002887672744691372
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014800671488046646
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015667220577597618
      

      outcome:

      passed
      

    Function: test_iround

    • Test 496
      params: val=3.6, expected=4

      📌 Runtime Parameters

      params:
        val: 3.6
        expected: 4
      id: 3.6-4
      

      📌 Setup phase

      duration:

      0.00023223180323839188
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014766398817300797
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014273496344685555
      

      outcome:

      passed
      
    • Test 497
      params: val=2.1, expected=2

      📌 Runtime Parameters

      params:
        val: 2.1
        expected: 2
      id: 2.1-2
      

      📌 Setup phase

      duration:

      0.00023977505043148994
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001584249548614025
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001508910208940506
      

      outcome:

      passed
      
    • Test 498
      params: val=-1.5, expected=-2

      📌 Runtime Parameters

      params:
        val: -1.5
        expected: -2
      id: -1.5--2
      

      📌 Setup phase

      duration:

      0.00021870993077754974
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001349039375782013
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001591048203408718
      

      outcome:

      passed
      
    • Test 499
      params: val=-1.4, expected=-1

      📌 Runtime Parameters

      params:
        val: -1.4
        expected: -1
      id: -1.4--1
      

      📌 Setup phase

      duration:

      0.0002241525799036026
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001381118781864643
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014064740389585495
      

      outcome:

      passed
      

    Function: test_sorted_naturally

    • Test 500
      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.00023934617638587952
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002312343567609787
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018678558990359306
      

      outcome:

      passed
      
    • Test 501
      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.00029003992676734924
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022625410929322243
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001898510381579399
      

      outcome:

      passed
      

    Function: test_sorted_naturally_reverse

    • Test 502
      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.00031411508098244667
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019015884026885033
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018707802519202232
      

      outcome:

      passed
      
  • 📄 test_utils_xrange.py

    Function: test_xrange_finite

    • Test 503
      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.00044662272557616234
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023275287821888924
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022873887792229652
      

      outcome:

      passed
      
    • Test 504
      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.0003510196693241596
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002761096693575382
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001744343899190426
      

      outcome:

      passed
      
    • Test 505
      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.0003191591240465641
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000154073815792799
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001580328680574894
      

      outcome:

      passed
      
    • Test 506
      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.0002739778719842434
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001431768760085106
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016913702711462975
      

      outcome:

      passed
      

    Function: test_xrange_infinite

    • Test 507
      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.0002688351087272167
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015794392675161362
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000172486063092947
      

      outcome:

      passed
      
    • Test 508
      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.0002805790863931179
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015074899420142174
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001562759280204773
      

      outcome:

      passed
      

    Function: test_xrange_too_many_args

    • Test 509
      params: args=[1, 2, 3, 4]

      📌 Runtime Parameters

      params:
        args:
          - 1
          - 2
          - 3
          - 4
      id: args0
      

      📌 Setup phase

      duration:

      0.0001815110445022583
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004952088929712772
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000677064061164856
      

      outcome:

      passed
      
Failed (35)
  • 📄 test_utils_debug.py

    Function: test_short_repr

    • Test 134
      params: value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", cutoff=10, expected="'aaaaaaaaaa..."

      📌 Runtime Parameters

      params:
        value: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
        cutoff: 10
        expected: 'aaaaaaaaaa...
      id: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10-'aaaaaaaaaa...
      

      📌 Setup phase

      duration:

      0.00028054090216755867
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010487823747098446
      

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

      outcome:

      passed
      
    • Test 138
      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.0002691829577088356
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006332541815936565
      

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

      outcome:

      passed
      
  • 📄 test_utils_elog.py

    Function: test_get_default_elog_instance_with_direct_password_and_real_check

    • Test 159

      📌 Setup phase

      duration:

      0.00012043816968798637
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.006173661909997463
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
      lineno: 700
      message: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f0896100>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 43
        message: None
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 73
        message: in get
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 59
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 589
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 703
        message: in send
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
        lineno: 700
        message: ConnectionError
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f95f0896100>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f95f0896250>
      method = 'GET', url = '/demo', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cm9ib3Q6dGVzdHBhc3N3b3Jk'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f95f0896100>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95f0896100>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f95f0896a60>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f0896100>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f95f0896250>
      _stacktrace = <traceback object at 0x7f959d9e2740>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f0896100>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
          def test_get_default_elog_instance_with_direct_password_and_real_check():
              url = "http://localhost:8080/demo"
              user = "robot"
              password = "testpassword"
      
              elog_instance, returned_user = get_default_elog_instance(url, user=user, password=password)
      
              assert returned_user == user
              assert hasattr(elog_instance, "post")
      
      >       r = requests.get(url, auth=(user, password))
      
      tests/test_utils_elog.py:43: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f95f0896a60>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f0896100>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      

      📌 Teardown phase

      duration:

      0.0002860720269382
      

      outcome:

      passed
      

    Function: test_get_default_elog_instance_asks_password_and_opens

    • Test 160

      📌 Setup phase

      duration:

      0.00015249336138367653
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0067154462449252605
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
      lineno: 700
      message: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f0d92c70>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 60
        message: None
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 73
        message: in get
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 59
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 589
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 703
        message: in send
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
        lineno: 700
        message: ConnectionError
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f95f0d92c70>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f95f0d92970>
      method = 'GET', url = '/demo', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cm9ib3Q6dGVzdHBhc3N3b3Jk'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f95f0d92c70>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f95f0d92c70>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f95f0d928e0>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f0d92c70>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f95f0d92970>
      _stacktrace = <traceback object at 0x7f959cb69b00>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f0d92c70>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      mock_home = <MagicMock name='home' id='140280556768752'>
      mock_getpass = <MagicMock name='getpass' id='140280566031120'>
      
          @patch("slic.utils.elog.getpass")
          @patch("slic.utils.elog.Path.home")
          def test_get_default_elog_instance_asks_password_and_opens(mock_home, mock_getpass):
              mock_home.return_value = Path("/does/not/exist")  # Fausse home → lecture échoue
              mock_getpass.return_value = "testpassword"
      
              url = "http://localhost:8080/demo"
              user = "robot"
      
              elog_instance, returned_user = get_default_elog_instance(url, user=user)
      
              assert returned_user == user
              assert hasattr(elog_instance, "post")
      
      >       r = requests.get(url, auth=(user, mock_getpass.return_value))
      
      tests/test_utils_elog.py:60: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f95f0d928e0>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f95f0d92c70>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      

      📌 Teardown phase

      duration:

      0.00027877697721123695
      

      outcome:

      passed
      

    Function: test_get_default_elog_with_path_home

    • Test 161

      📌 Setup phase

      duration:

      0.00015120906755328178
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.007098217960447073
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
      lineno: 700
      message: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959d982ee0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 87
        message: None
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 73
        message: in get
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 59
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 589
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 703
        message: in send
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
        lineno: 700
        message: ConnectionError
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f959d982ee0>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959d9ae970>
      method = 'GET', url = '/demo', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cm9ib3Q6dGVzdHBhc3N3b3Jk'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f959d982ee0>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f959d982ee0>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959d9aef10>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959d982ee0>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959d9ae970>
      _stacktrace = <traceback object at 0x7f95f08fd280>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959d982ee0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      mock_home = <MagicMock name='home' id='140280555054896'>
      mock_getuser = <MagicMock name='getuser' id='140280566273408'>
      mock_getpass = <MagicMock name='getpass' id='140281967330544'>
      
          @patch("slic.utils.elog.getpass")
          @patch("slic.utils.elog.getuser")
          @patch("slic.utils.elog.Path.home")
          def test_get_default_elog_with_path_home(mock_home, mock_getuser, mock_getpass):
              fake_user = "robot"
              fake_pw = "testpassword"
              mock_getuser.return_value = fake_user
              mock_getpass.return_value = fake_pw  # fallback safety
      
              tmp_home = Path("/tmp/fake_home_for_robot")
              tmp_home.mkdir(parents=True, exist_ok=True)
              pw_file = tmp_home / ".elog_psi"
              pw_file.write_text(fake_pw)
              mock_home.return_value = tmp_home
      
              url = "http://localhost:8080/demo"
      
              try:
                  elog_instance, returned_user = get_default_elog_instance(url)
      
                  assert returned_user == fake_user
                  assert hasattr(elog_instance, "post")
      
      >           r = requests.get(url, auth=(fake_user, fake_pw))
      
      tests/test_utils_elog.py:87: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959d9aef10>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959d982ee0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      

      📌 Teardown phase

      duration:

      0.00028944481164216995
      

      outcome:

      passed
      

    Function: test_post

    • Test 162

      📌 Setup phase

      duration:

      0.0001510828733444214
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.010783564299345016
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
      lineno: 601
      message: elog.logbook_exceptions.LogbookServerProblem: No response from the logbook server.
      Details: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=SubmitNone (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959ccb6880>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 102
        message: None
      -   path: slic/utils/elog.py
        lineno: 29
        message: in post
      -   path: .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
        lineno: 307
        message: in post
      -   path: .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
        lineno: 601
        message: LogbookServerProblem
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f959ca7b880>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959ca7b1c0>
      method = 'POST', url = '/demo/?cmd=Submit'
      body = b'--a2643d5879220844bda7cc99b3c2b483\r\nContent-Disposition: form-data; name="Author"\r\n\r\nrobot\r\n--a2643d58792208...-Disposition: form-data; name="Text"; filename=""\r\n\r\nThis is a message\r\n--a2643d5879220844bda7cc99b3c2b483--\r\n'
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '735', 'Content-Type': 'multipart/form-data; boundary=a2643d5879220844bda7cc99b3c2b483'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo/', query='cmd=Submit', fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f959ca7b880>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f959ca7b880>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959cb19130>
      request = <PreparedRequest [POST]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'POST', url = '/demo/?cmd=Submit', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959ca7b880>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959ca7b1c0>
      _stacktrace = <traceback object at 0x7f959cc68540>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=Submit (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959ca7b880>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      self = <elog.logbook.Logbook object at 0x7f959cb19e20>
      message = 'This is a message', msg_id = None, reply = False
      attributes = {'Author': 'robot', 'When': 1754559666, 'cmd': 'Submit', 'exp': 'demo', ...}
      attachments = [], suppress_email_notification = False, encoding = None
      timeout = None, kwargs = {'Author': 'robot'}
      new_attachment_list = [('Text', ('', b'This is a message'))]
      objects_to_close = []
      attributes_to_edit = {'Author': b'robot', 'When': 1754559666, 'cmd': b'Submit', 'exp': b'demo', ...}
      
          def post(self, message, msg_id=None, reply=False, attributes=None, attachments=None,
                   suppress_email_notification=False, encoding=None, timeout=None, **kwargs):
              """
              Posts message to the logbook. If msg_id is not specified new message will be created, otherwise existing
              message will be edited, or a reply (if reply=True) to it will be created. This method returns the msg_id
              of the newly created message.
      
              :param message: string with message text
              :param msg_id: ID number of message to edit or reply. If not specified new message is created.
              :param reply: If 'True' reply to existing message is created instead of editing it
              :param attributes: Dictionary of attributes. Following attributes are used internally by the elog and will be
                                 ignored: Text, Date, Encoding, Reply to, In reply to, Locked by, Attachment
              :param attachments: list of:
                                        - file like objects which read() will return bytes (if file_like_object.name is not
                                          defined, default name "attachment<i>" will be used.
                                        - paths to the files
                                  All items will be appended as attachment to the elog entry. In case of unknown
                                  attachment an exception LogbookInvalidAttachment will be raised.
              :param suppress_email_notification: If set to True or 1, E-Mail notification will be suppressed, defaults to False.
              :param encoding: Defines encoding of the message. Can be: 'plain' -> plain text, 'html'->html-text,
                               'ELCode' --> elog formatting syntax
              :param timeout: Define the timeout to be used by the post request. Its value is directly passed to the requests
                              post. Use None to disable the request timeout.
              :param kwargs: Anything in the kwargs will be interpreted as attribute. e.g.: logbook.post('Test text',
                             Author='Rok Vintar), "Author" will be sent as an attribute. If named same as one of the
                             attributes defined in "attributes", kwargs will have priority.
      
              :return: msg_id
              """
      
              attributes = attributes or {}
              attributes = {**attributes, **kwargs}  # kwargs as attributes with higher priority
      
              attachments = attachments or []
      
              if encoding is not None:
                  if encoding not in ['plain', 'HTML', 'ELCode']:
                      raise LogbookMessageRejected('Invalid message encoding. Valid options: plain, HTML, ELCode.')
                  attributes['Encoding'] = encoding
      
              if suppress_email_notification:
                  attributes["suppress"] = 1
      
              # THE ATTACHMENT STRATEGY WHEN DEALING WITH POST MODIFICATION
              #
              # 1. Does the message on the server have already attachments?
              #    1.1 - We read the message getting the existing attachment list.
              #    1.2 - Add to the attributes dictionary one line for each attachment like this:
              #       attributes['attachmentN'] = timestamped_filename_name
              #
              # 2. Do we have new attachments?
              #    2.1 - Those are in the new_attachment_list. This is a list of this type:
              #       [ ('attfileN', ('filename', fileobject)) ]
              #    2.2 - We need to loop over all the new attachments:
              #       2.2.1 - Does a file already on the server with the same name exist?
              #         2.2.1.1 - No: OK. Then we go ahead with the next attachment.
              #         2.2.1.2 - Yes:
              #           2.2.1.2.1 - Are the two files identical?
              #               2.2.1.2.1.1 - Yes: then we remove this current entry from the new_attachment_list and we leave the one
              #                      already on server.
              #               2.2.1.2.1.2 - No:
              #                  2.2.1.2.1.2.1 - Then the file has been update.
              #                  2.2.1.2.1.2.2 - We need to remove the file on server first (using special post)
              #                  2.2.1.2.1.2.3 - We have to remove the old attachment from the attributes dictionary.
              #
      
              if attachments:
                  # here we accomplish point 2.1.
                  # new_attachment_list is something like [ ('attfileN', ('filename', fileobject)) ]
                  new_attachment_list, objects_to_close = self._prepare_attachments(attachments)
              else:
                  objects_to_close = list()
                  new_attachment_list = list()
      
              attributes_to_edit = dict()
              if msg_id:
                  # Message exists, we can continue
                  if reply:
                      # Verify that there is a message on the server, otherwise do not reply to it!
                      self._check_if_message_on_server(msg_id)  # raises exception in case of none existing message
                      attributes['reply_to'] = str(msg_id)
                  else:  # Edit existing
                      attributes['edit_id'] = str(msg_id)
                      attributes['skiplock'] = '1'
      
                      # here we accomplish point 1.1.
                      # existing_attachments_list is something like:
                      # [ 'https://elog.url.com/logbook/timestamped_filename' ]
                      msg_to_edit, attributes_to_edit, existing_attachments_list = self.read(msg_id)
      
                      for attribute, data in attributes.items():
                          new_data = attributes.get(attribute)
                          if new_data is not None:
                              attributes_to_edit[attribute] = new_data
      
                      i = 0
                      existing_attachments_filename_list = list()
                      for attachment in existing_attachments_list:
                          # here we accomplish point 1.2. We strip the timestamped_filename from the whole URL.
                          attributes_to_edit[f'attachment{i}'] = os.path.basename(attachment)
                          existing_attachments_filename_list.append(os.path.basename(attachment)[14:])
                          i += 1
      
                      # let's accomplish 2.2. Loop over all new attachment
                      duplicate_attachment_list = list()
                      for new_attachment in new_attachment_list:
                          # the new_attachment_list is something like:
                          # [ ('attfileN', ('filename', fileobject)) ]
                          new_attachment_filename = new_attachment[1][0]
                          if new_attachment_filename in existing_attachments_filename_list:
                              # a file with the same name existing already on the server.
                              # we need to check if the two files are the same.
                              # read the content of the new file
                              new_attachment_content = new_attachment[1][1].read()
                              # don't forget to reset the fileobj to the beginning of the file
                              new_attachment[1][1].seek(0)
                              # get the existing attachment content
                              attachment_index = existing_attachments_filename_list.index(new_attachment_filename)
                              existing_attachment_content = self.download_attachment(
                                  url=existing_attachments_list[attachment_index],
                                  timeout=timeout
                              )
                              # check if the two contents are the same
                              if new_attachment_content == existing_attachment_content:
                                  # yes. then we don't upload a second copy. we remove the current entry from the list
                                  duplicate_attachment_list.append(new_attachment)
                              else:
                                  # no. they are not the same file. we will replace the existing file with the new one
                                  # first: we need to remove the attachment from the server using the dedicated method
                                  self.delete_attachment(msg_id, attributes=attributes_to_edit,
                                                         attachment_id=attachment_index,
                                                         timeout=timeout, text=msg_to_edit)
                                  # now we can remove this attachment from the auxiliary lists.
                                  existing_attachments_filename_list.pop(attachment_index)
                                  existing_attachments_list.pop(attachment_index)
                                  # now we need to rebuild the attributes dictionary for the part concerning the attachments.
                                  # we remove all of them first
                                  keys_to_be_removed = list()
                                  for key in attributes_to_edit.keys():
                                      if key.startswith('attachment'):
                                          keys_to_be_removed.append(key)
                                      if key.startswith('delatt'):
                                          keys_to_be_removed.append(key)
                                  for key in keys_to_be_removed:
                                      del attributes_to_edit[key]
      
                                  # now we rebuild it
                                  for i, attachment in enumerate(existing_attachments_list):
                                      attributes_to_edit[f'attachment{i}'] = os.path.basename(attachment)
      
                      # remove all duplicate attachments from the new_attachment_list
                      for attach in duplicate_attachment_list:
                          new_attachment_list.remove(attach)
      
              else:
                  # As we create a new message, specify creation time if not already specified in attributes
                  if 'When' not in attributes:
                      attributes['When'] = int(datetime.now().timestamp())
      
              if not attributes_to_edit:
                  attributes_to_edit = attributes
      
              # Remove any attributes that should not be sent
              _remove_reserved_attributes(attributes_to_edit)
      
              # Make requests module think that Text is a "file". This is the only way to force requests to send data as
              # multipart/form-data even if there are no attachments. Elog understands only multipart/form-data
              new_attachment_list.append(('Text', ('', message.encode('iso-8859-1'))))
      
              # Base attributes are common to all messages
              self._add_base_msg_attributes(attributes_to_edit)
      
              # Keys in attributes cannot have certain characters like whitespaces or dashes for the http request
              attributes_to_edit = _replace_special_characters_in_attribute_keys(attributes_to_edit)
      
              # All string values in the attributes must be encoded in latin1
              attributes_to_edit = _encode_values(attributes_to_edit)
      
              try:
      >           response = requests.post(self._url, data=attributes_to_edit, files=new_attachment_list,
                                           allow_redirects=False, verify=False, timeout=timeout)
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:288: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:115: in post
          return request("post", url, data=data, json=json, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959cb19130>
      request = <PreparedRequest [POST]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=Submit (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959ca7b880>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      
      During handling of the above exception, another exception occurred:
      
      self = <urllib3.connection.HTTPConnection object at 0x7f959ccb6880>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959ca7be20>
      method = 'GET', url = '/demo/?cmd=SubmitNone', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Cookie': 'unm=robot;upwd=me1T.2jUUqQNa1wNuey9zNBOmOa4eILOaPb.ZSZjpn4;'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo/', query='cmd=SubmitNone', fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f959ccb6880>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f959ccb6880>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959ca7bd90>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo/?cmd=SubmitNone', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959ccb6880>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959ca7be20>
      _stacktrace = <traceback object at 0x7f959cc6c640>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=SubmitNone (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959ccb6880>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      self = <elog.logbook.Logbook object at 0x7f959cb19e20>, msg_id = None
      timeout = None
      
          def _check_if_message_on_server(self, msg_id, timeout=None):
              """Try to load page for specific message. If there is a html tag like <td class="errormsg"> then there is no
              such message.
      
              :param msg_id: ID of message to be checked
              :params timeout: The value of timeout to be passed to the get request
              :return:
              """
      
              request_headers = dict()
              if self._user or self._password:
                  request_headers['Cookie'] = self._make_user_and_pswd_cookie()
              try:
      >           response = requests.get(self._url + str(msg_id), headers=request_headers, allow_redirects=False,
                                          verify=False, timeout=timeout)
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:581: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959ca7bd90>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=SubmitNone (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959ccb6880>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      
      During handling of the above exception, another exception occurred:
      
          def test_post():
              elog = get_test_elog()
      
              title = "AUTHOR_OVERRIDE_TEST"
              text = "This is a message"
              author = "robot"
      
      >       elog.post(text, Author=author)
      
      tests/test_utils_elog.py:102: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      slic/utils/elog.py:29: in post
          return self._log.post(*args, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:307: in post
          self._check_if_message_on_server(msg_id)  # raises exceptions if no message or no response from server
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <elog.logbook.Logbook object at 0x7f959cb19e20>, msg_id = None
      timeout = None
      
          def _check_if_message_on_server(self, msg_id, timeout=None):
              """Try to load page for specific message. If there is a html tag like <td class="errormsg"> then there is no
              such message.
      
              :param msg_id: ID of message to be checked
              :params timeout: The value of timeout to be passed to the get request
              :return:
              """
      
              request_headers = dict()
              if self._user or self._password:
                  request_headers['Cookie'] = self._make_user_and_pswd_cookie()
              try:
                  response = requests.get(self._url + str(msg_id), headers=request_headers, allow_redirects=False,
                                          verify=False, timeout=timeout)
      
                  # If there is no message code 200 will be returned (OK) and _validate_response will not recognise it
                  # but there will be some error in the html code.
                  resp_message, resp_headers, resp_msg_id = _validate_response(response)
                  # If there is no message, code 200 will be returned (OK) but there will be some error indication in
                  # the html code.
                  if re.findall('<td.*?class="errormsg".*?>.*?</td>',
                                resp_message.decode('utf-8', 'ignore'),
                                flags=re.DOTALL):
                      raise LogbookInvalidMessageID('Message with ID: ' + str(msg_id) + ' does not exist on logbook.')
      
              except requests.Timeout as e:
                  # Catch here a timeout o the post request.
                  # Raise the logbook exception and let the user handle it
                  raise LogbookServerTimeout('{0} method cannot be completed because of a network timeout:\n' +
                                             '{1}'.format(sys._getframe().f_code.co_name, e))
      
              except requests.RequestException as e:
      >           raise LogbookServerProblem('No response from the logbook server.\nDetails: ' + '{0}'.format(e))
      E           elog.logbook_exceptions.LogbookServerProblem: No response from the logbook server.
      E           Details: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=SubmitNone (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959ccb6880>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:601: LogbookServerProblem
      

      📌 Teardown phase

      duration:

      0.0003216918557882309
      

      outcome:

      passed
      

    Function: test_screenshot

    • Test 163

      📌 Setup phase

      duration:

      0.00015647616237401962
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.009548977017402649
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
      lineno: 601
      message: elog.logbook_exceptions.LogbookServerProblem: No response from the logbook server.
      Details: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=SubmitNone (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959c980c40>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 123
        message: None
      -   path: slic/utils/elog.py
        lineno: 37
        message: in screenshot
      -   path: slic/utils/elog.py
        lineno: 29
        message: in post
      -   path: .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
        lineno: 307
        message: in post
      -   path: .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
        lineno: 601
        message: LogbookServerProblem
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f959c980d60>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959d5515b0>
      method = 'POST', url = '/demo/?cmd=Submit'
      body = b'--f9d82739e90aa641b63f194e8caab528\r\nContent-Disposition: form-data; name="Author"\r\n\r\nrobot\r\n--f9d82739e90aa6...-data; name="Text"; filename=""\r\n\r\nSCREENSHOT_INTEGRATION_TEST_MSG_456\r\n--f9d82739e90aa641b63f194e8caab528--\r\n'
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '885', 'Content-Type': 'multipart/form-data; boundary=f9d82739e90aa641b63f194e8caab528'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo/', query='cmd=Submit', fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f959c980d60>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f959c980d60>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959d563700>
      request = <PreparedRequest [POST]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'POST', url = '/demo/?cmd=Submit', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959c980d60>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959d5515b0>
      _stacktrace = <traceback object at 0x7f959cb93f00>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=Submit (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959c980d60>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      self = <elog.logbook.Logbook object at 0x7f959d5516d0>
      message = 'SCREENSHOT_INTEGRATION_TEST_MSG_456', msg_id = None, reply = False
      attributes = {'Author': 'robot', 'When': 1754559666, 'cmd': 'Submit', 'exp': 'demo', ...}
      attachments = ['/tmp/tmpvrt1ro_s.png'], suppress_email_notification = False
      encoding = None, timeout = None, kwargs = {'Author': 'robot'}
      new_attachment_list = [('attfile0', ('tmpvrt1ro_s.png', <_io.BufferedReader name='/tmp/tmpvrt1ro_s.png'>)), ('Text', ('', b'SCREENSHOT_INTEGRATION_TEST_MSG_456'))]
      objects_to_close = [<_io.BufferedReader name='/tmp/tmpvrt1ro_s.png'>]
      attributes_to_edit = {'Author': b'robot', 'When': 1754559666, 'cmd': b'Submit', 'exp': b'demo', ...}
      
          def post(self, message, msg_id=None, reply=False, attributes=None, attachments=None,
                   suppress_email_notification=False, encoding=None, timeout=None, **kwargs):
              """
              Posts message to the logbook. If msg_id is not specified new message will be created, otherwise existing
              message will be edited, or a reply (if reply=True) to it will be created. This method returns the msg_id
              of the newly created message.
      
              :param message: string with message text
              :param msg_id: ID number of message to edit or reply. If not specified new message is created.
              :param reply: If 'True' reply to existing message is created instead of editing it
              :param attributes: Dictionary of attributes. Following attributes are used internally by the elog and will be
                                 ignored: Text, Date, Encoding, Reply to, In reply to, Locked by, Attachment
              :param attachments: list of:
                                        - file like objects which read() will return bytes (if file_like_object.name is not
                                          defined, default name "attachment<i>" will be used.
                                        - paths to the files
                                  All items will be appended as attachment to the elog entry. In case of unknown
                                  attachment an exception LogbookInvalidAttachment will be raised.
              :param suppress_email_notification: If set to True or 1, E-Mail notification will be suppressed, defaults to False.
              :param encoding: Defines encoding of the message. Can be: 'plain' -> plain text, 'html'->html-text,
                               'ELCode' --> elog formatting syntax
              :param timeout: Define the timeout to be used by the post request. Its value is directly passed to the requests
                              post. Use None to disable the request timeout.
              :param kwargs: Anything in the kwargs will be interpreted as attribute. e.g.: logbook.post('Test text',
                             Author='Rok Vintar), "Author" will be sent as an attribute. If named same as one of the
                             attributes defined in "attributes", kwargs will have priority.
      
              :return: msg_id
              """
      
              attributes = attributes or {}
              attributes = {**attributes, **kwargs}  # kwargs as attributes with higher priority
      
              attachments = attachments or []
      
              if encoding is not None:
                  if encoding not in ['plain', 'HTML', 'ELCode']:
                      raise LogbookMessageRejected('Invalid message encoding. Valid options: plain, HTML, ELCode.')
                  attributes['Encoding'] = encoding
      
              if suppress_email_notification:
                  attributes["suppress"] = 1
      
              # THE ATTACHMENT STRATEGY WHEN DEALING WITH POST MODIFICATION
              #
              # 1. Does the message on the server have already attachments?
              #    1.1 - We read the message getting the existing attachment list.
              #    1.2 - Add to the attributes dictionary one line for each attachment like this:
              #       attributes['attachmentN'] = timestamped_filename_name
              #
              # 2. Do we have new attachments?
              #    2.1 - Those are in the new_attachment_list. This is a list of this type:
              #       [ ('attfileN', ('filename', fileobject)) ]
              #    2.2 - We need to loop over all the new attachments:
              #       2.2.1 - Does a file already on the server with the same name exist?
              #         2.2.1.1 - No: OK. Then we go ahead with the next attachment.
              #         2.2.1.2 - Yes:
              #           2.2.1.2.1 - Are the two files identical?
              #               2.2.1.2.1.1 - Yes: then we remove this current entry from the new_attachment_list and we leave the one
              #                      already on server.
              #               2.2.1.2.1.2 - No:
              #                  2.2.1.2.1.2.1 - Then the file has been update.
              #                  2.2.1.2.1.2.2 - We need to remove the file on server first (using special post)
              #                  2.2.1.2.1.2.3 - We have to remove the old attachment from the attributes dictionary.
              #
      
              if attachments:
                  # here we accomplish point 2.1.
                  # new_attachment_list is something like [ ('attfileN', ('filename', fileobject)) ]
                  new_attachment_list, objects_to_close = self._prepare_attachments(attachments)
              else:
                  objects_to_close = list()
                  new_attachment_list = list()
      
              attributes_to_edit = dict()
              if msg_id:
                  # Message exists, we can continue
                  if reply:
                      # Verify that there is a message on the server, otherwise do not reply to it!
                      self._check_if_message_on_server(msg_id)  # raises exception in case of none existing message
                      attributes['reply_to'] = str(msg_id)
                  else:  # Edit existing
                      attributes['edit_id'] = str(msg_id)
                      attributes['skiplock'] = '1'
      
                      # here we accomplish point 1.1.
                      # existing_attachments_list is something like:
                      # [ 'https://elog.url.com/logbook/timestamped_filename' ]
                      msg_to_edit, attributes_to_edit, existing_attachments_list = self.read(msg_id)
      
                      for attribute, data in attributes.items():
                          new_data = attributes.get(attribute)
                          if new_data is not None:
                              attributes_to_edit[attribute] = new_data
      
                      i = 0
                      existing_attachments_filename_list = list()
                      for attachment in existing_attachments_list:
                          # here we accomplish point 1.2. We strip the timestamped_filename from the whole URL.
                          attributes_to_edit[f'attachment{i}'] = os.path.basename(attachment)
                          existing_attachments_filename_list.append(os.path.basename(attachment)[14:])
                          i += 1
      
                      # let's accomplish 2.2. Loop over all new attachment
                      duplicate_attachment_list = list()
                      for new_attachment in new_attachment_list:
                          # the new_attachment_list is something like:
                          # [ ('attfileN', ('filename', fileobject)) ]
                          new_attachment_filename = new_attachment[1][0]
                          if new_attachment_filename in existing_attachments_filename_list:
                              # a file with the same name existing already on the server.
                              # we need to check if the two files are the same.
                              # read the content of the new file
                              new_attachment_content = new_attachment[1][1].read()
                              # don't forget to reset the fileobj to the beginning of the file
                              new_attachment[1][1].seek(0)
                              # get the existing attachment content
                              attachment_index = existing_attachments_filename_list.index(new_attachment_filename)
                              existing_attachment_content = self.download_attachment(
                                  url=existing_attachments_list[attachment_index],
                                  timeout=timeout
                              )
                              # check if the two contents are the same
                              if new_attachment_content == existing_attachment_content:
                                  # yes. then we don't upload a second copy. we remove the current entry from the list
                                  duplicate_attachment_list.append(new_attachment)
                              else:
                                  # no. they are not the same file. we will replace the existing file with the new one
                                  # first: we need to remove the attachment from the server using the dedicated method
                                  self.delete_attachment(msg_id, attributes=attributes_to_edit,
                                                         attachment_id=attachment_index,
                                                         timeout=timeout, text=msg_to_edit)
                                  # now we can remove this attachment from the auxiliary lists.
                                  existing_attachments_filename_list.pop(attachment_index)
                                  existing_attachments_list.pop(attachment_index)
                                  # now we need to rebuild the attributes dictionary for the part concerning the attachments.
                                  # we remove all of them first
                                  keys_to_be_removed = list()
                                  for key in attributes_to_edit.keys():
                                      if key.startswith('attachment'):
                                          keys_to_be_removed.append(key)
                                      if key.startswith('delatt'):
                                          keys_to_be_removed.append(key)
                                  for key in keys_to_be_removed:
                                      del attributes_to_edit[key]
      
                                  # now we rebuild it
                                  for i, attachment in enumerate(existing_attachments_list):
                                      attributes_to_edit[f'attachment{i}'] = os.path.basename(attachment)
      
                      # remove all duplicate attachments from the new_attachment_list
                      for attach in duplicate_attachment_list:
                          new_attachment_list.remove(attach)
      
              else:
                  # As we create a new message, specify creation time if not already specified in attributes
                  if 'When' not in attributes:
                      attributes['When'] = int(datetime.now().timestamp())
      
              if not attributes_to_edit:
                  attributes_to_edit = attributes
      
              # Remove any attributes that should not be sent
              _remove_reserved_attributes(attributes_to_edit)
      
              # Make requests module think that Text is a "file". This is the only way to force requests to send data as
              # multipart/form-data even if there are no attachments. Elog understands only multipart/form-data
              new_attachment_list.append(('Text', ('', message.encode('iso-8859-1'))))
      
              # Base attributes are common to all messages
              self._add_base_msg_attributes(attributes_to_edit)
      
              # Keys in attributes cannot have certain characters like whitespaces or dashes for the http request
              attributes_to_edit = _replace_special_characters_in_attribute_keys(attributes_to_edit)
      
              # All string values in the attributes must be encoded in latin1
              attributes_to_edit = _encode_values(attributes_to_edit)
      
              try:
      >           response = requests.post(self._url, data=attributes_to_edit, files=new_attachment_list,
                                           allow_redirects=False, verify=False, timeout=timeout)
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:288: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:115: in post
          return request("post", url, data=data, json=json, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959d563700>
      request = <PreparedRequest [POST]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=Submit (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959c980d60>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      
      During handling of the above exception, another exception occurred:
      
      self = <urllib3.connection.HTTPConnection object at 0x7f959c980c40>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959c980a30>
      method = 'GET', url = '/demo/?cmd=SubmitNone', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Cookie': 'unm=robot;upwd=me1T.2jUUqQNa1wNuey9zNBOmOa4eILOaPb.ZSZjpn4;'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo/', query='cmd=SubmitNone', fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f959c980c40>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f959c980c40>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959c980a90>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo/?cmd=SubmitNone', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959c980c40>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f959c980a30>
      _stacktrace = <traceback object at 0x7f959d53d2c0>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=SubmitNone (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959c980c40>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      self = <elog.logbook.Logbook object at 0x7f959d5516d0>, msg_id = None
      timeout = None
      
          def _check_if_message_on_server(self, msg_id, timeout=None):
              """Try to load page for specific message. If there is a html tag like <td class="errormsg"> then there is no
              such message.
      
              :param msg_id: ID of message to be checked
              :params timeout: The value of timeout to be passed to the get request
              :return:
              """
      
              request_headers = dict()
              if self._user or self._password:
                  request_headers['Cookie'] = self._make_user_and_pswd_cookie()
              try:
      >           response = requests.get(self._url + str(msg_id), headers=request_headers, allow_redirects=False,
                                          verify=False, timeout=timeout)
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:581: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f959c980a90>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=SubmitNone (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959c980c40>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      
      During handling of the above exception, another exception occurred:
      
      mock_screenshot_class = <MagicMock name='Screenshot' id='140280553358960'>
      
          @patch("slic.utils.elog.Screenshot")
          def test_screenshot(mock_screenshot_class):
              with tempfile.NamedTemporaryFile(delete=False, suffix=".png") as tmp:
                  fake_path = tmp.name
                  tmp.write(b"fake image data")
      
              mock_instance = mock_screenshot_class.return_value
              mock_instance.shoot.return_value = [fake_path]
      
              elog = get_test_elog()
      
              test_msg = "SCREENSHOT_INTEGRATION_TEST_MSG_456"
      >       entry_id = elog.screenshot(message=test_msg)
      
      tests/test_utils_elog.py:123: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      slic/utils/elog.py:37: in screenshot
          self.post(message, **kwargs)
      slic/utils/elog.py:29: in post
          return self._log.post(*args, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:307: in post
          self._check_if_message_on_server(msg_id)  # raises exceptions if no message or no response from server
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <elog.logbook.Logbook object at 0x7f959d5516d0>, msg_id = None
      timeout = None
      
          def _check_if_message_on_server(self, msg_id, timeout=None):
              """Try to load page for specific message. If there is a html tag like <td class="errormsg"> then there is no
              such message.
      
              :param msg_id: ID of message to be checked
              :params timeout: The value of timeout to be passed to the get request
              :return:
              """
      
              request_headers = dict()
              if self._user or self._password:
                  request_headers['Cookie'] = self._make_user_and_pswd_cookie()
              try:
                  response = requests.get(self._url + str(msg_id), headers=request_headers, allow_redirects=False,
                                          verify=False, timeout=timeout)
      
                  # If there is no message code 200 will be returned (OK) and _validate_response will not recognise it
                  # but there will be some error in the html code.
                  resp_message, resp_headers, resp_msg_id = _validate_response(response)
                  # If there is no message, code 200 will be returned (OK) but there will be some error indication in
                  # the html code.
                  if re.findall('<td.*?class="errormsg".*?>.*?</td>',
                                resp_message.decode('utf-8', 'ignore'),
                                flags=re.DOTALL):
                      raise LogbookInvalidMessageID('Message with ID: ' + str(msg_id) + ' does not exist on logbook.')
      
              except requests.Timeout as e:
                  # Catch here a timeout o the post request.
                  # Raise the logbook exception and let the user handle it
                  raise LogbookServerTimeout('{0} method cannot be completed because of a network timeout:\n' +
                                             '{1}'.format(sys._getframe().f_code.co_name, e))
      
              except requests.RequestException as e:
      >           raise LogbookServerProblem('No response from the logbook server.\nDetails: ' + '{0}'.format(e))
      E           elog.logbook_exceptions.LogbookServerProblem: No response from the logbook server.
      E           Details: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/?cmd=SubmitNone (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f959c980c40>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:601: LogbookServerProblem
      

      📌 Teardown phase

      duration:

      0.00033174222335219383
      

      outcome:

      passed
      
  • 📄 test_utils_hastyepics.py

    Function: test_motor_instantiation_fast_vs_epics

    • Test 216

      📌 Setup phase

      duration:

      0.0001246579922735691
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.11326690297573805
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_hastyepics.py
      lineno: 37
      message: AssertionError: Fast version (0.010787s) should be faster than EPICS (0.000295s)
      assert 0.0107866823207587 < 0.0002953853458166122
      

      traceback:

      -   path: tests/test_utils_hastyepics.py
        lineno: 37
        message: AssertionError
      

      longrepr:

      def test_motor_instantiation_fast_vs_epics():
      
              fast_times = []
              slow_times = []
      
              # Mock to simulate a real EPICS moteur
              with patch('epics.Motor.get') as mock_get:
                  mock_get.return_value = 'motor'
      
                  # Mean of 10 runs
                  for _ in range(10):
                      t0 = time.perf_counter()
                      m_fast = Motor("TEST:MOTOR_t1")
                      t1 = time.perf_counter()
      
                      t2 = time.perf_counter()
                      m_slow = epics.Motor("TEST:MOTOR_t2")
                      t3 = time.perf_counter()
      
                      fast_times.append(t1 - t0)
                      slow_times.append(t3 - t2)
      
              avg_fast = sum(fast_times) / len(fast_times)
              avg_slow = sum(slow_times) / len(slow_times)
      
      >       assert avg_fast < avg_slow, f"Fast version ({avg_fast:.6f}s) should be faster than EPICS ({avg_slow:.6f}s)"
      E       AssertionError: Fast version (0.010787s) should be faster than EPICS (0.000295s)
      E       assert 0.0107866823207587 < 0.0002953853458166122
      
      tests/test_utils_hastyepics.py:37: AssertionError
      

      📌 Teardown phase

      duration:

      0.0005545420572161674
      

      outcome:

      passed
      

    Function: test_motor_without_suffix_and_dot

    • Test 217

      📌 Setup phase

      duration:

      0.00024912599474191666
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002098218072205782
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_hastyepics.py
      lineno: 42
      message: AssertionError: assert 'TEST:MOTOR_1.' == 'TEST:MOTOR_1'
      
        - TEST:MOTOR_1
        + TEST:MOTOR_1.
        ?             +
      

      traceback:

      -   path: tests/test_utils_hastyepics.py
        lineno: 42
        message: AssertionError
      

      longrepr:

      def test_motor_without_suffix_and_dot():
              # Suffix .VAL ... dot should be stripped from name
              m1 = Motor("TEST:MOTOR_1.VAL")
      >       assert m1._prefix == "TEST:MOTOR_1"
      E       AssertionError: assert 'TEST:MOTOR_1.' == 'TEST:MOTOR_1'
      E         
      E         - TEST:MOTOR_1
      E         + TEST:MOTOR_1.
      E         ?             +
      
      tests/test_utils_hastyepics.py:42: AssertionError
      

      📌 Teardown phase

      duration:

      0.00020325137302279472
      

      outcome:

      passed
      

    Function: test_motor_initializes_device_attrs

    • Test 220

      📌 Setup phase

      duration:

      0.00011458899825811386
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0016528540290892124
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_hastyepics.py
      lineno: 79
      message: AssertionError: VAL is not a valid PV object
      assert False
       +  where False = isinstance(None, <class 'epics.pv.PV'>)
       +    where <class 'epics.pv.PV'> = <module 'epics.pv' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/pv.py'>.PV
       +      where <module 'epics.pv' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/pv.py'> = epics.pv
      

      traceback:

      -   path: tests/test_utils_hastyepics.py
        lineno: 79
        message: AssertionError
      

      longrepr:

      def test_motor_initializes_device_attrs():
              # Check that Motor correctly initializes all Device PVs from _init_list
              m = Motor("TEST:MOTOR")
      
      
              print("_init_list contents:", m._init_list)
              print("All attributes on motor:", dir(m))
      
              for attr in m._init_list:
                  print(f"\nChecking attribute: {attr}")
                  assert hasattr(m, attr), f"Motor is missing attribute: {attr}"
                  pv = getattr(m, attr)
      
                  print(f"PV object: {pv}")
                  print("Type:", type(pv))
                  if pv is not None:
                      print(f"PV name: {pv.pvname}")
                      print(f"PV connected: {pv.connected}")
      
      >           assert isinstance(pv, epics.pv.PV), f"{attr} is not a valid PV object"
      E           AssertionError: VAL is not a valid PV object
      E           assert False
      E            +  where False = isinstance(None, <class 'epics.pv.PV'>)
      E            +    where <class 'epics.pv.PV'> = <module 'epics.pv' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/pv.py'>.PV
      E            +      where <module 'epics.pv' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/pv.py'> = epics.pv
      
      tests/test_utils_hastyepics.py:79: AssertionError
      

      📌 Teardown phase

      duration:

      0.0002150246873497963
      

      outcome:

      passed
      
  • 📄 test_utils_logcfg.py

    Function: test_import_logging_once_per_module

    • Test 236

      📌 Setup phase

      duration:

      0.00013949396088719368
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.883639084175229
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_logcfg.py
      lineno: 78
      message: AssertionError: Expected 1 import log for 'math', found 0
      assert 0 == 1
      

      traceback:

      -   path: tests/test_utils_logcfg.py
        lineno: 78
        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}"
      
              stderr = result.stderr
              print(stderr)
              lines = stderr.splitlines()
              for mod in ["math", "io", "random"]:
                  count = sum(1 for line in lines if f"importing: {mod}" in line)
      >           assert count == 1, f"Expected 1 import log for '{mod}', found {count}"
      E           AssertionError: Expected 1 import log for 'math', found 0
      E           assert 0 == 1
      
      tests/test_utils_logcfg.py:78: AssertionError
      

      📌 Teardown phase

      duration:

      0.000383246224373579
      

      outcome:

      passed
      
  • 📄 test_utils_npy.py

    Function: test_nice_arange

    • Test 246
      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.00042541464790701866
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001104903407394886
      

      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 0x7f959c8d3820>, 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.00031477073207497597
      

      outcome:

      passed
      
    • Test 248
      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.0004012240096926689
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006706947460770607
      

      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 0x7f959ccdb160>, 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.00026438524946570396
      

      outcome:

      passed
      
    • Test 249
      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.0004024929367005825
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000959387980401516
      

      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 0x7f959ccf9700>, 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.0003020120784640312
      

      outcome:

      passed
      

    Function: test_nice_steps_left_aligned

    • Test 261
      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.0004221987910568714
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005347961559891701
      

      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 0x7f959ccf9dc0>, 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.00022747134789824486
      

      outcome:

      passed
      
    • Test 262
      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.00038055283948779106
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004957779310643673
      

      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 0x7f959ccf9c10>, 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.0002271188423037529
      

      outcome:

      passed
      
    • Test 265
      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.0003675888292491436
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005304631777107716
      

      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 0x7f959ccf9700>, 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.000286199152469635
      

      outcome:

      passed
      
    • Test 266
      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.00041667791083455086
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005812011659145355
      

      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 0x7f959cc9d4c0>, 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.0003760233521461487
      

      outcome:

      passed
      
    • Test 267
      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.0004542740061879158
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006487807258963585
      

      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 0x7f959cc9db80>, 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.00034142332151532173
      

      outcome:

      passed
      

    Function: test_nice_steps_right_aligned

    • Test 268
      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.0004410138353705406
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000578718725591898
      

      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 0x7f959cc9d5e0>, 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.0003720899112522602
      

      outcome:

      passed
      
    • Test 269
      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.0004598288796842098
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000583296176046133
      

      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 0x7f959cc95040>, 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.0003316751681268215
      

      outcome:

      passed
      
    • Test 270
      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.0004430869594216347
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000937173143029213
      

      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 0x7f959cc95b80>, 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.00036054477095603943
      

      outcome:

      passed
      
    • Test 271
      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.0004490949213504791
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009258054196834564
      

      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 0x7f959cc954c0>, 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.0003353790380060673
      

      outcome:

      passed
      
    • Test 272
      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.00045669684186577797
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006229011341929436
      

      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 0x7f959cbb1ca0>, 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.00039739906787872314
      

      outcome:

      passed
      
    • Test 273
      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.0004786346107721329
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006029061041772366
      

      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 0x7f959ccd90d0>, 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.00035170698538422585
      

      outcome:

      passed
      
    • Test 274
      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.00043578678742051125
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000571549404412508
      

      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 0x7f959cc9db80>, 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.0003771139308810234
      

      outcome:

      passed
      
  • 📄 test_utils_pv.py

    Function: test_put_with_progress_and_repr

    • Test 347
      params: value=0.0, expected_bar=" ", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 0.0
        expected_bar:           
        expected_color: 
      id: 0.0-          -\x1b[32m
      

      📌 Setup phase

      duration:

      1.0025320868007839
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: START_TIME: value=2025-08-07 09:41:10.096505 alarm=NO_ALARM severity=NO_ALARM flag=True mask=7 time=1123407670.96540114
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.0966353
        msecs: 96.63534164428711
        relativeCreated: 9922.20664024353
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=4 time=1123407670.97228210
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.097258
        msecs: 97.25809097290039
        relativeCreated: 9922.829389572144
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407670.197652539
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.1977403
        msecs: 197.7403163909912
        relativeCreated: 10023.311614990234
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407670.298206087
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.2982717
        msecs: 298.27165603637695
        relativeCreated: 10123.84295463562
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407670.398796087
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.398868
        msecs: 398.8680839538574
        relativeCreated: 10224.4393825531
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407670.499400544
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.4994748
        msecs: 499.47476387023926
        relativeCreated: 10325.046062469482
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407670.600046643
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.6001194
        msecs: 600.1193523406982
        relativeCreated: 10425.690650939941
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407670.700654805
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.7007434
        msecs: 700.7434368133545
        relativeCreated: 10526.314735412598
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407670.801196730
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.8012671
        msecs: 801.267147064209
        relativeCreated: 10626.838445663452
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407670.901809294
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559670.90188
        msecs: 901.8800258636475
        relativeCreated: 10727.45132446289
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.2401559
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.002481
        msecs: 2.4809837341308594
        relativeCreated: 10828.052282333374
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      

      📌 Call phase

      duration:

      0.018451503943651915
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '          ' not found in:
        [DEBUG] PUT start = 0.0, stop = 0.0
        [ 0 |██████████████████████████████| 0 ]   0
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.103066190
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1031442
        msecs: 103.14416885375977
        relativeCreated: 10928.715467453003
        thread: 140280520906432
        threadName: Thread-3
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1101434
        msecs: 110.14342308044434
        relativeCreated: 10935.714721679688
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1106527
        msecs: 110.65268516540527
        relativeCreated: 10936.223983764648
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.110758361
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1107793
        msecs: 110.7792854309082
        relativeCreated: 10936.350584030151
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.111742
        msecs: 111.74201965332031
        relativeCreated: 10937.313318252563
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1124384
        msecs: 112.43844032287598
        relativeCreated: 10938.00973892212
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.112510117
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1125255
        msecs: 112.52546310424805
        relativeCreated: 10938.096761703491
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      

      longrepr:

      value = 0.0, expected_bar = '          ', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '          ' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 0.0
      E         [ 0 |██████████████████████████████| 0 ]   0
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00032231584191322327
      

      outcome:

      passed
      
    • Test 348
      params: value=25.0, expected_bar="██▌ ", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 25.0
        expected_bar: ██▌       
        expected_color: 
      id: 25.0-\u2588\u2588\u258c       -\x1b[32m
      

      📌 Setup phase

      duration:

      0.0003795609809458256
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0031677461229264736
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '██▌       ' not found in:
        [DEBUG] PUT start = 0.0, stop = 25.0
        [ 0 |                              | 25 ]   0
        [DEBUG] Callback called with value = 25.0
        [ 0 |██████████████████████████████| 25 ]   25
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1204405
        msecs: 120.44048309326172
        relativeCreated: 10946.011781692505
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1207085
        msecs: 120.70846557617188
        relativeCreated: 10946.279764175415
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123407671.120805198
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.120824
        msecs: 120.82409858703613
        relativeCreated: 10946.39539718628
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1217787
        msecs: 121.77872657775879
        relativeCreated: 10947.350025177002
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0.0 new=25.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1221619
        msecs: 122.161865234375
        relativeCreated: 10947.733163833618
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=25.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.122235354
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1222517
        msecs: 122.25174903869629
        relativeCreated: 10947.82304763794
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      

      longrepr:

      value = 25.0, expected_bar = '██▌       ', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '██▌       ' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 25.0
      E         [ 0 |                              | 25 ]   0
      E         [DEBUG] Callback called with value = 25.0
      E         [ 0 |██████████████████████████████| 25 ]   25
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00028527015820145607
      

      outcome:

      passed
      
    • Test 349
      params: value=50.0, expected_bar="█████ ", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 50.0
        expected_bar: █████     
        expected_color: 
      id: 50.0-\u2588\u2588\u2588\u2588\u2588     -\x1b[32m
      

      📌 Setup phase

      duration:

      0.00037351762875914574
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002666895743459463
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '█████     ' not found in:
        [DEBUG] PUT start = 0.0, stop = 50.0
        [ 0 |                              | 50 ]   0
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 25.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1298895
        msecs: 129.88948822021484
        relativeCreated: 10955.460786819458
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=25.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1301694
        msecs: 130.16939163208008
        relativeCreated: 10955.740690231323
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.130250539
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.13027
        msecs: 130.27000427246094
        relativeCreated: 10955.841302871704
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1310213
        msecs: 131.02126121520996
        relativeCreated: 10956.592559814453
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0.0 new=50.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1313262
        msecs: 131.32619857788086
        relativeCreated: 10956.897497177124
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=50.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.131390019
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1314027
        msecs: 131.40273094177246
        relativeCreated: 10956.974029541016
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      

      longrepr:

      value = 50.0, expected_bar = '█████     ', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '█████     ' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 50.0
      E         [ 0 |                              | 50 ]   0
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00024902308359742165
      

      outcome:

      passed
      
    • Test 350
      params: value=75.0, expected_bar="███████▌ ", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 75.0
        expected_bar: ███████▌  
        expected_color: 
      id: 75.0-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c  -\x1b[32m
      

      📌 Setup phase

      duration:

      0.00035189511254429817
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0025131800211966038
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '███████▌  ' not found in:
        [DEBUG] PUT start = 0.0, stop = 75.0
        [ 0 |                              | 75 ]   0
        [DEBUG] Callback called with value = 75.0
        [ 0 |██████████████████████████████| 75 ]   75
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 50.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1381779
        msecs: 138.17787170410156
        relativeCreated: 10963.749170303345
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=50.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.138454
        msecs: 138.45396041870117
        relativeCreated: 10964.025259017944
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.138526783
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1385403
        msecs: 138.54026794433594
        relativeCreated: 10964.11156654358
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.139216
        msecs: 139.21594619750977
        relativeCreated: 10964.787244796753
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0.0 new=75.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.139495
        msecs: 139.4948959350586
        relativeCreated: 10965.066194534302
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=75.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.139551702
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.139563
        msecs: 139.56308364868164
        relativeCreated: 10965.134382247925
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      

      longrepr:

      value = 75.0, expected_bar = '███████▌  ', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '███████▌  ' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 75.0
      E         [ 0 |                              | 75 ]   0
      E         [DEBUG] Callback called with value = 75.0
      E         [ 0 |██████████████████████████████| 75 ]   75
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00024887826293706894
      

      outcome:

      passed
      
    • Test 351
      params: value=100.0, expected_bar="██████████", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 100.0
        expected_bar: ██████████
        expected_color: 
      id: 100.0-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588-\x1b[32m
      

      📌 Setup phase

      duration:

      0.00036544306203722954
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0032038060016930103
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '██████████' not found in:
        [DEBUG] PUT start = 0.0, stop = 100.0
        [ 0 |                              | 100 ]   0
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 75.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1465538
        msecs: 146.55375480651855
        relativeCreated: 10972.125053405762
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=75.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.147117
        msecs: 147.11689949035645
        relativeCreated: 10972.6881980896
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.147285842
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1473205
        msecs: 147.32050895690918
        relativeCreated: 10972.891807556152
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.148074
        msecs: 148.07391166687012
        relativeCreated: 10973.645210266113
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0.0 new=100.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1483634
        msecs: 148.3633518218994
        relativeCreated: 10973.934650421143
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=100.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.148445632
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1484582
        msecs: 148.45824241638184
        relativeCreated: 10974.029541015625
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      

      longrepr:

      value = 100.0, expected_bar = '██████████', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '██████████' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 100.0
      E         [ 0 |                              | 100 ]   0
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00023656245321035385
      

      outcome:

      passed
      
    • Test 352
      params: value=150.0, expected_bar=">>>>>>>>>>", expected_color="\u001b[31m"

      📌 Runtime Parameters

      params:
        value: 150.0
        expected_bar: >>>>>>>>>>
        expected_color: 
      id: 150.0->>>>>>>>>>-\x1b[31m
      

      📌 Setup phase

      duration:

      0.00036725401878356934
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002586960792541504
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '>>>>>>>>>>' not found in:
        [DEBUG] PUT start = 0.0, stop = 150.0
        [ 0 |                              | 150 ]   0
        [DEBUG] Callback called with value = 150.0
        [ 0 |██████████████████████████████| 150 ]   150
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 100.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1557822
        msecs: 155.78222274780273
        relativeCreated: 10981.353521347046
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=100.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.156084
        msecs: 156.0840606689453
        relativeCreated: 10981.655359268188
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.156143020
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1561558
        msecs: 156.15582466125488
        relativeCreated: 10981.727123260498
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1568053
        msecs: 156.80527687072754
        relativeCreated: 10982.37657546997
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0.0 new=150.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1571262
        msecs: 157.12618827819824
        relativeCreated: 10982.697486877441
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=150.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.157182251
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1571934
        msecs: 157.19342231750488
        relativeCreated: 10982.764720916748
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      

      longrepr:

      value = 150.0, expected_bar = '>>>>>>>>>>', expected_color = '\x1b[31m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '>>>>>>>>>>' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 150.0
      E         [ 0 |                              | 150 ]   0
      E         [DEBUG] Callback called with value = 150.0
      E         [ 0 |██████████████████████████████| 150 ]   150
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00022720778360962868
      

      outcome:

      passed
      
    • Test 353
      params: value=-50.0, expected_bar="<<<<<<<<<<", expected_color="\u001b[31m"

      📌 Runtime Parameters

      params:
        value: -50.0
        expected_bar: <<<<<<<<<<
        expected_color: 
      id: -50.0-<<<<<<<<<<-\x1b[31m
      

      📌 Setup phase

      duration:

      0.0003413506783545017
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002545254770666361
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '<<<<<<<<<<' not found in:
        [DEBUG] PUT start = 0.0, stop = -50.0
        [ 0 |                              | -50 ]   0
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 150.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1640651
        msecs: 164.06512260437012
        relativeCreated: 10989.636421203613
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=150.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1641836
        msecs: 164.1836166381836
        relativeCreated: 10989.754915237427
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.164272836
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.164292
        msecs: 164.2920970916748
        relativeCreated: 10989.863395690918
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.1650603
        msecs: 165.06028175354004
        relativeCreated: 10990.631580352783
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=0.0 new=-50.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.1653173
        msecs: 165.31729698181152
        relativeCreated: 10990.888595581055
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=-50.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.165374055
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1653879
        msecs: 165.3878688812256
        relativeCreated: 10990.959167480469
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      

      longrepr:

      value = -50.0, expected_bar = '<<<<<<<<<<', expected_color = '\x1b[31m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '<<<<<<<<<<' not found in:
      E         [DEBUG] PUT start = 0.0, stop = -50.0
      E         [ 0 |                              | -50 ]   0
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00021757883951067924
      

      outcome:

      passed
      

    Function: test_use_callback_context_manager

    • Test 354

      📌 Setup phase

      duration:

      0.0001530158333480358
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012676040641963482
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 105
      message: AttributeError: 'PV' object has no attribute '_callbacks'
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 105
        message: AttributeError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value -50.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754559671.171734
        msecs: 171.73409461975098
        relativeCreated: 10997.305393218994
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ddf494d7ad69 root  old=-50.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754559671.172088
        msecs: 172.0879077911377
        relativeCreated: 10997.65920639038
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123407671.172147478
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754559671.1721606
        msecs: 172.16062545776367
        relativeCreated: 10997.731924057007
        thread: 140280529299136
        threadName: Thread-4
        processName: MainProcess
        process: 1503
      

      longrepr:

      def test_use_callback_context_manager():
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
              pv.put(0.0, wait=True)
      
              seen_values = []
      
              def callback(value=None, **kwargs):
                  seen_values.append(value)
      
      >       initial_count = len(pv._callbacks)
      E       AttributeError: 'PV' object has no attribute '_callbacks'
      
      tests/test_utils_pv.py:105: AttributeError
      

      📌 Teardown phase

      duration:

      0.00020874803885817528
      

      outcome:

      passed
      
  • 📄 test_utils_tqdm_mod.py

    Function: test_float_alignment_in_bar

    • Test 453

      📌 Setup phase

      duration:

      0.00011511286720633507
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0016535688191652298
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_tqdm_mod.py
      lineno: 130
      message: assert 3 == 1
       +  where 3 = len({50, 64, 65})
       +    where {50, 64, 65} = set([50, 64, 64, 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 3 == 1
      E        +  where 3 = len({50, 64, 65})
      E        +    where {50, 64, 65} = set([50, 64, 64, 65, 65])
      
      tests/test_utils_tqdm_mod.py:130: AssertionError
      

      📌 Teardown phase

      duration:

      0.00017314590513706207
      

      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:
      []
      
morbidissimo (6 tests)
  • morbidissimo
    • Outcome: passed
    • result:
    -   nodeid: morbidissimo/morbidissimo
      type: Package
    
    • morbidissimo/morbidissimo
      • Outcome: passed
      • result:
      -   nodeid: morbidissimo/morbidissimo/modman
        type: Package
      -   nodeid: morbidissimo/morbidissimo/morioc
        type: Package
      
    • morbidissimo/morbidissimo/modman
      • Outcome: passed
      • result:
      -   nodeid: morbidissimo/morbidissimo/modman/scripts
        type: Dir
      
    • morbidissimo/morbidissimo/modman/scripts
      • Outcome: passed
      • result:
      []
      
    • morbidissimo/morbidissimo/morioc
      • Outcome: passed
      • result:
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py
        type: Module
      
    • morbidissimo/morbidissimo/morioc/test_infer_type.py
      • Outcome: passed
      • result:
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_str
        type: Function
        lineno: 14
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_float
        type: Function
        lineno: 17
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_int
        type: Function
        lineno: 20
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_str
        type: Function
        lineno: 24
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_long_str
        type: Function
        lineno: 27
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_float
        type: Function
        lineno: 32
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_int
        type: Function
        lineno: 35
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_str
        type: Function
        lineno: 39
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_float
        type: Function
        lineno: 42
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_int
        type: Function
        lineno: 45
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_str
        type: Function
        lineno: 49
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_float
        type: Function
        lineno: 52
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_int
        type: Function
        lineno: 55
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_str
        type: Function
        lineno: 59
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_float
        type: Function
        lineno: 62
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_int
        type: Function
        lineno: 65
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_None
        type: Function
        lineno: 69
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_True
        type: Function
        lineno: 72
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_False
        type: Function
        lineno: 75
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_nan
        type: Function
        lineno: 78
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_nan
        type: Function
        lineno: 81
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_int
        type: Function
        lineno: 85
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np2D_int
        type: Function
        lineno: 91
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_float
        type: Function
        lineno: 99
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np2D_float
        type: Function
        lineno: 105
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_bool
        type: Function
        lineno: 114
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_object
        type: Function
        lineno: 119
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_int
        type: Function
        lineno: 126
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_float
        type: Function
        lineno: 131
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_bool
        type: Function
        lineno: 136
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_list
        type: Function
        lineno: 145
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_tuple
        type: Function
        lineno: 150
      
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 (43 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_config.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_elog.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_hastyepics.py
      type: Module
    -   nodeid: tests/test_utils_ipy.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_namespace.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_pv.py
      type: Module
    -   nodeid: tests/test_utils_rangebar.py
      type: Module
    -   nodeid: tests/test_utils_readable.py
      type: Module
    -   nodeid: tests/test_utils_registry.py
      type: Module
    -   nodeid: tests/test_utils_richcfg.py
      type: Module
    -   nodeid: tests/test_utils_run_later.py
      type: Module
    -   nodeid: tests/test_utils_sendmail.py
      type: Module
    -   nodeid: tests/test_utils_shortcut.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: passed
      • result:
      -   nodeid: tests/test_utils_argfwd.py::test_split_at[lst0-2-expected0]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_argfwd.py::test_split_at[lst1-1-expected1]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_argfwd.py::test_split_at[lst2-0-expected2]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_argfwd.py::test_merge_lists_unique[a0-b0-expected0]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_argfwd.py::test_merge_lists_unique[a1-b1-expected1]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_argfwd.py::test_merge_lists_unique[a2-b2-expected2]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_argfwd.py::test_merge_dicts_unique[a0-b0-expected0]
        type: Function
        lineno: 26
      -   nodeid: tests/test_utils_argfwd.py::test_merge_dicts_unique[a1-b1-expected1]
        type: Function
        lineno: 26
      -   nodeid: tests/test_utils_argfwd.py::test_merge_dicts_unique[a2-b2-expected2]
        type: Function
        lineno: 26
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_pos_basic[pos0-expected_names0]
        type: Function
        lineno: 35
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_pos_basic[pos1-expected_names1]
        type: Function
        lineno: 35
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_pos_basic[pos2-expected_names2]
        type: Function
        lineno: 35
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_kw_basic[kw0-expected_keys0-expected_defaults0]
        type: Function
        lineno: 48
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_kw_basic[kw1-expected_keys1-expected_defaults1]
        type: Function
        lineno: 48
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_kw_basic[kw2-expected_keys2-expected_defaults2]
        type: Function
        lineno: 48
      -   nodeid: tests/test_utils_argfwd.py::test_make_signature_parametrized[pos0-kw0-(x, y, z=3)]
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_argfwd.py::test_make_signature_parametrized[pos1-kw1-(a, b=1, c=2)]
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_argfwd.py::test_make_signature_parametrized[pos2-kw2-(flag=False)]
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos0-expected_kw0]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos1-expected_kw1]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos2-expected_kw2]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_argfwd.py::test_signature_visible[wrap_all-(a, b, d=30, c=10)]
        type: Function
        lineno: 104
      -   nodeid: tests/test_utils_argfwd.py::test_signature_visible[wrap_skip-(a, b, c=10, d=20)]
        type: Function
        lineno: 104
      -   nodeid: tests/test_utils_argfwd.py::test_signature_visible[wrap_ignore_all-(x, y, c=10, d=20)]
        type: Function
        lineno: 104
      -   nodeid: tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_all-args0-kwargs0-36]
        type: Function
        lineno: 112
      -   nodeid: tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_all-args1-kwargs1-11]
        type: Function
        lineno: 112
      -   nodeid: tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_skip-args2-kwargs2-10]
        type: Function
        lineno: 112
      -   nodeid: tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_ignore_all-args3-kwargs3-10]
        type: Function
        lineno: 112
      
    • 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_config.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_config.py::test_config_with_nested_and_list_data
        type: Function
        lineno: 15
      -   nodeid: tests/test_utils_config.py::test_config_with_strange_and_edge_keys
        type: Function
        lineno: 73
      
    • 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_elog.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_elog.py::test_get_default_elog_instance_with_direct_password_and_real_check
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_elog.py::test_get_default_elog_instance_asks_password_and_opens
        type: Function
        lineno: 45
      -   nodeid: tests/test_utils_elog.py::test_get_default_elog_with_path_home
        type: Function
        lineno: 63
      -   nodeid: tests/test_utils_elog.py::test_post
        type: Function
        lineno: 94
      -   nodeid: tests/test_utils_elog.py::test_screenshot
        type: Function
        lineno: 110
      
    • 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_hastyepics.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_instantiation_fast_vs_epics
        type: Function
        lineno: 11
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_without_suffix_and_dot
        type: Function
        lineno: 38
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_invalid_name_raises
        type: Function
        lineno: 50
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_init_list_has_no_disabled
        type: Function
        lineno: 55
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_initializes_device_attrs
        type: Function
        lineno: 59
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_pv_connection_skipped_by_default
        type: Function
        lineno: 82
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_adds_all_extras_pvs
        type: Function
        lineno: 90
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_PV_method_exists_and_works
        type: Function
        lineno: 109
      
    • tests/test_utils_ipy.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_ipy.py::test_devices_repr_fallback_and_ignore
        type: Function
        lineno: 19
      
    • 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: 7
      
    • 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_namespace.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_namespace.py::test_namespace_pretty_repr_mixed_and_nested
        type: Function
        lineno: 4
      
    • 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: passed
      • result:
      -   nodeid: tests/test_utils_path.py::test_can_create_all_files_user_says_yes
        type: Function
        lineno: 10
      -   nodeid: tests/test_utils_path.py::test_can_create_all_files_user_says_no
        type: Function
        lineno: 36
      -   nodeid: tests/test_utils_path.py::test_make_missing_dir_creates_folder
        type: Function
        lineno: 54
      -   nodeid: tests/test_utils_path.py::test_glob_files_returns_matching_files_only
        type: Function
        lineno: 66
      -   nodeid: tests/test_utils_path.py::test_filter_files_excludes_directories
        type: Function
        lineno: 83
      
    • 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_pv.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[0.0-          -\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[25.0-\u2588\u2588\u258c       -\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[50.0-\u2588\u2588\u2588\u2588\u2588     -\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[75.0-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c  -\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[100.0-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588-\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[150.0->>>>>>>>>>-\x1b[31m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[-50.0-<<<<<<<<<<-\x1b[31m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_use_callback_context_manager
        type: Function
        lineno: 94
      
    • 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_readable.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[59.4-59 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[59.9-60 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[119.9-120 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[120.1-2 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[3599.9-60 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[3600.1-60 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[7199.9-120 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[7200.1-2 hours]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[90.4-90 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[90.6-91 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[121.9-2 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[1296000.0-2 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[2592000.0-4 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[2800000.0-5 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[3888000.0-6 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[5097600.0-8 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[5184000.0-9 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[5270400.0-2 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[23328000.0-9 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[31104000.0-12 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[33696000.0-13 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[59616000.0-23 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[62208000.0-24 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[64208000.0-2 years]
        type: Function
        lineno: 3
      
    • tests/test_utils_registry.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_registry.py::test_metaclass_creates_weakset
        type: Function
        lineno: 13
      -   nodeid: tests/test_utils_registry.py::test_metaclass_tracks_instances
        type: Function
        lineno: 22
      -   nodeid: tests/test_utils_registry.py::test_registry_inheritance
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_registry.py::test_instance_tracking
        type: Function
        lineno: 39
      -   nodeid: tests/test_utils_registry.py::test_collect_instances_recursive
        type: Function
        lineno: 53
      -   nodeid: tests/test_utils_registry.py::test_instances_function
        type: Function
        lineno: 69
      -   nodeid: tests/test_utils_registry.py::test_non_registry_class_error
        type: Function
        lineno: 93
      -   nodeid: tests/test_utils_registry.py::test_signature_preservation
        type: Function
        lineno: 102
      
    • tests/test_utils_richcfg.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_richcfg.py::test_rich_inspector_outputs_more_than_builtin
        type: Function
        lineno: 45
      
    • tests/test_utils_run_later.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_run_later.py::test_init_and_repr
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_run_later.py::test_call
        type: Function
        lineno: 22
      -   nodeid: tests/test_utils_run_later.py::test_matmul_with_string
        type: Function
        lineno: 27
      -   nodeid: tests/test_utils_run_later.py::test_matmul_with_list
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_run_later.py::test_matmul_with_single_int
        type: Function
        lineno: 37
      -   nodeid: tests/test_utils_run_later.py::test_run_at_future_triggered_and_logs
        type: Function
        lineno: 49
      -   nodeid: tests/test_utils_run_later.py::test_run_at_already_past
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_run_later.py::test_run_in_future_triggered_and_logs
        type: Function
        lineno: 72
      -   nodeid: tests/test_utils_run_later.py::test_run_in_past
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_run_later.py::test_run_later_with_seconds
        type: Function
        lineno: 95
      -   nodeid: tests/test_utils_run_later.py::test_run_later_with_past_datetime
        type: Function
        lineno: 105
      -   nodeid: tests/test_utils_run_later.py::test_run_at_tqdm_multiple_updates
        type: Function
        lineno: 115
      -   nodeid: tests/test_utils_run_later.py::test_today_basic
        type: Function
        lineno: 137
      -   nodeid: tests/test_utils_run_later.py::test_tomorrow_basic
        type: Function
        lineno: 143
      -   nodeid: tests/test_utils_run_later.py::test_yesterday_basic
        type: Function
        lineno: 149
      -   nodeid: tests/test_utils_run_later.py::test_today_matmul_string
        type: Function
        lineno: 155
      -   nodeid: tests/test_utils_run_later.py::test_tomorrow_matmul_list
        type: Function
        lineno: 161
      -   nodeid: tests/test_utils_run_later.py::test_yesterday_matmul_single
        type: Function
        lineno: 167
      
    • 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_shortcut.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutInitialization
        type: Class
      -   nodeid: tests/test_utils_shortcut.py::test_run_method
        type: Function
        lineno: 31
      -   nodeid: tests/test_utils_shortcut.py::test_repr_output
        type: Function
        lineno: 54
      -   nodeid: tests/test_utils_shortcut.py::test_source_with_regular_function
        type: Function
        lineno: 62
      -   nodeid: tests/test_utils_shortcut.py::test_source_error_handling
        type: Function
        lineno: 76
      -   nodeid: tests/test_utils_shortcut.py::test_as_shortcut_basic
        type: Function
        lineno: 86
      -   nodeid: tests/test_utils_shortcut.py::test_as_shortcut_with_name
        type: Function
        lineno: 96
      -   nodeid: tests/test_utils_shortcut.py::test_as_shortcut_factory_pattern
        type: Function
        lineno: 104
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton
        type: Class
      -   nodeid: tests/test_utils_shortcut.py::TestFullIntegration
        type: Class
      -   nodeid: tests/test_utils_shortcut.py::test_registry_inheritance
        type: Function
        lineno: 204
      
    • tests/test_utils_shortcut.py::TestFullIntegration
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_shortcut.py::TestFullIntegration::test_workflow
        type: Function
        lineno: 170
      -   nodeid: tests/test_utils_shortcut.py::TestFullIntegration::test_multiple_shortcuts
        type: Function
        lineno: 190
      
    • tests/test_utils_shortcut.py::TestShortcutInitialization
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutInitialization::test_init_with_custom_name
        type: Function
        lineno: 16
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutInitialization::test_init_without_name
        type: Function
        lineno: 23
      
    • tests/test_utils_shortcut.py::TestShortcutsSingleton
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_singleton_behavior
        type: Function
        lineno: 121
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_registration
        type: Function
        lineno: 127
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_getitem_access
        type: Function
        lineno: 141
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_missing_key
        type: Function
        lineno: 149
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_repr_output
        type: Function
        lineno: 154
      
    • 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: morbidissimo
      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