Source: python-inline-snapshot
Version: 0.32.5-1
Severity: serious
User: [email protected]
Usertags: pytest9.1

Dear maintainer,

According to https://ci.debian.net data, your package python-inline-snapshot 
has an
autopkgtest regression with pytest.

The following architectures failed: amd64, arm64, i386, loong64,
ppc64el, riscv64, s390x.

Hopefully relevant excerpt from
https://ci.debian.net/packages/p/python-inline-snapshot/testing/amd64/72542158/
follows:

184s ==================================== ERRORS 
====================================
184s __________________ ERROR at teardown of test_pytest_diff_fix 
___________________
184s tests/test_something.py::test_dict_report FAILED                         
[100%]
184s tests/test_something.py::test_dict_report ERROR                          
[100%]
184s ==================================== ERRORS 
====================================
184s ____________________ ERROR at teardown of test_dict_report 
_____________________
184s =================================== FAILURES 
===================================
184s E       AssertionError: assert {'amount': 1, 'currency': {'code': 'USD', 
'name': 'US Dollar', 'symbol': '$'}, 'b': [1, 2]} == {'amount': 2, 'currency': 
{'name': 'US Dollar', 'code': 'USD', 'symbol': '$'}, 'b': [1, 2]}
184s E         
184s E         Common items:
184s E         {'b': [1, 2], 'currency': {'code': 'USD', 'name': 'US Dollar', 
'symbol': '$'}}
184s E         Differing items:
184s E         {'amount': 1} != {'amount': 2}
184s E         
184s E         Full diff:
184s E           {
184s E         -     'amount': 2,
184s E         ?               ^
184s E         +     'amount': 1,
184s E         ?               ^
184s E               'currency': {
184s E         +         'code': 'USD',
184s E                   'name': 'US Dollar',
184s E         -         'code': 'USD',
184s E                   'symbol': '$',
184s E               },
184s E               'b': [
184s E                   1,
184s E                   2,
184s E               ],
184s E           }
184s FAILED tests/test_something.py::test_dict_report - AssertionError: assert 
{'amount': 1, 'currency': {'code': 'USD', 'name': 'US Dollar', 'symbol': '$'}, 
'b': [1, 2]} == {'amount': 2, 'currency': {'name': 'US Dollar', 'code': 'USD', 
'symbol': '$'}, 'b': [1, 2]}
184s ERROR tests/test_something.py::test_dict_report - Failed: some snapshots 
in this test have incorrect values.
184s ========================== 1 failed, 1 error in 0.12s 
==========================
184s =================================== FAILURES 
===================================
184s     E       AssertionError: assert {'amount': 1, 'currency': {'code': 
'USD', 'name': 'US Dollar', 'symbol': '$'}, 'b': [1, 2]} == {'amount': 2, 
'currency': {'name': 'US Dollar', 'code': 'USD', 'symbol': '$'}, 'b': [1, 2]}
184s     E         \n\
184s     E         Common items:
184s     E         {'b': [1, 2], 'currency': {'code': 'USD', 'name': 'US 
Dollar', 'symbol': '$'}}
184s     E         Differing items:
184s     E         {'amount': 1} != {'amount': 2}
184s     E         \n\
184s     E         Full diff:
184s     E           {
184s     E         -     'amount': 2,
184s     E         ?               ^
184s     E         +     'amount': 1,
184s     E         ?               ^
184s     E               'b': [
184s     E                   1,
184s     E                   2,
184s     E               ],
184s     E               'currency': {
184s     E                   'code': 'USD',
184s     E                   'name': 'US Dollar',
184s     E                   'symbol': '$',
184s     E               },
184s     E           }
184s error = ">       assert price == snapshot({\nE       AssertionError: 
assert {'amount': 1, 'currency': {'code': 'USD', 'name': ...D',\nE              
     'name': 'US Dollar',\nE                   'symbol': '$',\nE               
},\nE           }\n"
184s         error: Snapshot[str] | None = None,
184s E               AssertionError: assert '>       asse...          }\n' == 
'>       asse...          }\n'
184s E                 
184s E                 Skipping 612 identical leading characters in diff, use 
-v to show
184s E                 -          'currency': {
184s E                 - E         +         'code': 'USD',
184s E                 - E                   'name': 'US Dollar',
184s E                 - E         -         'code': 'USD',
184s E                 - E                   'symbol': '$',...
184s E                 
184s E                 ...Full output truncated (13 lines hidden), use '-vv' to 
show
184s tests/test_something.py::test_dict_report FAILED                         
[100%]
184s tests/test_something.py::test_dict_report ERROR                          
[100%]
184s ==================================== ERRORS 
====================================
184s ____________________ ERROR at teardown of test_dict_report 
_____________________
184s =================================== FAILURES 
===================================
184s E       AssertionError: assert {'amount': 1, 'currency': {'code': 'USD', 
'name': 'US Dollar', 'symbol': '$'}, 'b': [1, 2]} == {'amount': 2, 'currency': 
{'name': 'US Dollar', 'code': 'USD', 'symbol': '$'}, 'b': [1, 2]}
184s E         
184s E         Common items:
184s E         {'b': [1, 2], 'currency': {'code': 'USD', 'name': 'US Dollar', 
'symbol': '$'}}
184s E         Differing items:
184s E         {'amount': 1} != {'amount': 2}
184s E         
184s E         Full diff:
184s E           {
184s E         -     'amount': 2,
184s E         ?               ^
184s E         +     'amount': 1,
184s E         ?               ^
184s E               'currency': {
184s E         +         'code': 'USD',
184s E                   'name': 'US Dollar',
184s E         -         'code': 'USD',
184s E                   'symbol': '$',
184s E               },
184s E               'b': [
184s E                   1,
184s E                   2,
184s E               ],
184s E           }
184s FAILED tests/test_something.py::test_dict_report - AssertionError: assert 
{'amount': 1, 'currency': {'code': 'USD', 'name': 'US Dollar', 'symbol': '$'}, 
'b': [1, 2]} == {'amount': 2, 'currency': {'name': 'US Dollar', 'code': 'USD', 
'symbol': '$'}, 'b': [1, 2]}
184s ERROR tests/test_something.py::test_dict_report - Failed: some snapshots 
in this test have incorrect values.
184s ========================== 1 failed, 1 error in 0.12s 
==========================
184s FAILED tests/test_pytest_diff_fix.py::test_pytest_diff_fix - 
AssertionError: ...
184s ERROR tests/test_pytest_diff_fix.py::test_pytest_diff_fix - Failed: some 
snap...
184s = 1 failed, 984 passed, 8 skipped, 12 deselected, 1 xfailed, 3 warnings, 1 
error in 89.31s (0:01:29) =
185s upstream-tests       FAIL non-zero exit status 1
237s upstream-tests       FAIL non-zero exit status 1

Reply via email to