2023-04-19T13:31:55.3583322Z ====================================================================== 2023-04-19T13:31:55.3583992Z ERROR: test_view (tests.test_segments.TestSegments.test_view) 2023-04-19T13:31:55.3585360Z Given a walkable location, view that location. 2023-04-19T13:31:55.3586030Z {'mm': {'a': 'v1', 'casserole': 'this should keep'}, 'ms': ['a', 'b', 'c', 0]} 2023-04-19T13:31:55.3586545Z spec=re.compile('[a-z]+$') 2023-04-19T13:31:55.3586963Z spec=re.compile('[a-z]+\\d+$') 2023-04-19T13:31:55.3587858Z ---------------------------------------------------------------------- 2023-04-19T13:31:55.3588227Z + Exception Group Traceback (most recent call last): 2023-04-19T13:31:55.3588763Z | File "/home/runner/work/dpath-python/dpath-python/tests/test_segments.py", line 323, in test_view 2023-04-19T13:31:55.3589133Z | def test_view(self, walkable): 2023-04-19T13:31:55.3589376Z | ^^^^^^^ 2023-04-19T13:31:55.3589931Z | File "/home/runner/work/dpath-python/dpath-python/.tox/py311/lib/python3.11/site-packages/hypothesis/core.py", line 1396, in wrapped_test 2023-04-19T13:31:55.3590690Z | raise the_error_hypothesis_found 2023-04-19T13:31:55.3591129Z | ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions) 2023-04-19T13:31:55.3592193Z +-+---------------- 1 ---------------- 2023-04-19T13:31:55.3592498Z | Traceback (most recent call last): 2023-04-19T13:31:55.3593017Z | File "/home/runner/work/dpath-python/dpath-python/tests/test_segments.py", line 331, in test_view 2023-04-19T13:31:55.3593453Z | assert api.get(view, segments) == api.get(node, segments) 2023-04-19T13:31:55.3593792Z spec={[a-z]+\d+$} 2023-04-19T13:31:55.3594508Z () 2023-04-19T13:31:55.3594911Z ['a', '2'] 2023-04-19T13:31:55.3595350Z 0 2023-04-19T13:31:55.3595535Z ... 2023-04-19T13:31:55.3595853Z Created new list in target 2023-04-19T13:31:55.3596225Z {'a': [None]} 2023-04-19T13:31:55.3596575Z {'a': [None, None, 3]} 2023-04-19T13:31:55.3644542Z | ^^^^^^^^^^^^^^^^^^^^^^^ 2023-04-19T13:31:55.3645110Z | File "/home/runner/work/dpath-python/dpath-python/dpath/segments.py", line 99, in get 2023-04-19T13:31:55.3645463Z | current = current[segment] 2023-04-19T13:31:55.3645707Z | ~~~~~~~^^^^^^^^^ 2023-04-19T13:31:55.3645983Z | KeyError: b'[\x06]D\x01' 2023-04-19T13:31:55.3646240Z | Falsifying example: test_view( 2023-04-19T13:31:55.3646599Z | walkable=({b'[\x06]D\x01': -282574974879234.0}, 2023-04-19T13:31:55.3646950Z | ((b'[\x06]D\x01',), -282574974879234.0)), 2023-04-19T13:31:55.3647279Z | self=, 2023-04-19T13:31:55.3647564Z | ) 2023-04-19T13:31:55.3647841Z +---------------- 2 ---------------- 2023-04-19T13:31:55.3648437Z | Traceback (most recent call last): 2023-04-19T13:31:55.3648998Z | File "/home/runner/work/dpath-python/dpath-python/tests/test_segments.py", line 331, in test_view 2023-04-19T13:31:55.3649408Z | assert api.get(view, segments) == api.get(node, segments) 2023-04-19T13:31:55.3649688Z | ^^^^^^^^^^^^^^^^^^^^^^^ 2023-04-19T13:31:55.3650127Z | File "/home/runner/work/dpath-python/dpath-python/dpath/segments.py", line 99, in get 2023-04-19T13:31:55.3650470Z | current = current[segment] 2023-04-19T13:31:55.3650696Z | ~~~~~~~^^^^^^^^^ 2023-04-19T13:31:55.3650946Z | IndexError: list index out of range 2023-04-19T13:31:55.3651215Z | Falsifying example: test_view( 2023-04-19T13:31:55.3664805Z | walkable=([{b'[\x06]': -282574974879234.0}], 2023-04-19T13:31:55.3665197Z | ((, b'[\x06]'), -282574974879234.0)), 2023-04-19T13:31:55.3665551Z | self=, 2023-04-19T13:31:55.3665847Z | ) 2023-04-19T13:31:55.3666121Z +------------------------------------ 2023-04-19T13:31:55.3666286Z 2023-04-19T13:31:55.3666550Z ---------------------------------------------------------------------- 2023-04-19T13:31:55.3666866Z Ran 88 tests in 246.279s 2023-04-19T13:34:08.0816767Z | File "/home/runner/work/dpath-python/dpath-python/tests/test_segments.py", line 323, in test_view 2023-04-19T13:34:08.0817278Z | def test_view(self, walkable): 2023-04-19T13:34:08.0817638Z | ^^^^^^^ 2023-04-19T13:34:08.0818333Z | File "/home/runner/work/dpath-python/dpath-python/.tox/py311/lib/python3.11/site-packages/hypothesis/core.py", line 1396, in wrapped_test 2023-04-19T13:34:08.0818865Z | raise the_error_hypothesis_found 2023-04-19T13:34:08.0819439Z | ExceptionGroup: Hypothesis found 2 distinct failures. (2 sub-exceptions) 2023-04-19T13:34:08.0819970Z +-+---------------- 1 ---------------- 2023-04-19T13:34:08.0820368Z | Traceback (most recent call last): 2023-04-19T13:34:08.0820995Z | File "/home/runner/work/dpath-python/dpath-python/tests/test_segments.py", line 331, in test_view 2023-04-19T13:34:08.0821487Z | assert api.get(view, segments) == api.get(node, segments) 2023-04-19T13:34:08.0828006Z | ^^^^^^^^^^^^^^^^^^^^^^^ 2023-04-19T13:34:08.0828838Z | File "/home/runner/work/dpath-python/dpath-python/dpath/segments.py", line 99, in get 2023-04-19T13:34:08.0829483Z | current = current[segment] 2023-04-19T13:34:08.0829933Z | ~~~~~~~^^^^^^^^^ 2023-04-19T13:34:08.0830317Z | IndexError: list index out of range 2023-04-19T13:34:08.0830689Z | Falsifying example: test_view( 2023-04-19T13:34:08.0831239Z | walkable=([{b'[\x00]': 0}], ((, b'[\x00]'), 0)), 2023-04-19T13:34:08.0831735Z | self=, 2023-04-19T13:34:08.0832127Z | ) 2023-04-19T13:34:08.0832537Z +---------------- 2 ---------------- 2023-04-19T13:34:08.0832940Z | Traceback (most recent call last): 2023-04-19T13:34:08.0833563Z | File "/home/runner/work/dpath-python/dpath-python/tests/test_segments.py", line 331, in test_view 2023-04-19T13:34:08.0834086Z | assert api.get(view, segments) == api.get(node, segments) 2023-04-19T13:34:08.0834884Z | ^^^^^^^^^^^^^^^^^^^^^^^ 2023-04-19T13:34:08.0835577Z | File "/home/runner/work/dpath-python/dpath-python/dpath/segments.py", line 99, in get 2023-04-19T13:34:08.0836046Z | current = current[segment] 2023-04-19T13:34:08.0836730Z | ~~~~~~~^^^^^^^^^ 2023-04-19T13:34:08.0837155Z | KeyError: b'[\x00]' 2023-04-19T13:34:08.0837521Z | Falsifying example: test_view( 2023-04-19T13:34:08.0838008Z | walkable=({b'[\x00]': 0}, ((b'[\x00]',), 0)), 2023-04-19T13:34:08.0845725Z | self=, 2023-04-19T13:34:08.0846312Z | ) 2023-04-19T13:34:08.0846915Z +------------------------------------ 2023-04-19T13:34:08.0847282Z 2023-04-19T13:34:08.0847669Z ---------------------------------------------------------------------- 2023-04-19T13:34:08.0848105Z Ran 88 tests in 129.359s 2023-04-19T13:34:08.0848359Z 2023-04-19T13:34:08.0848554Z FAILED (errors=1)