{"diffoscope-json-version": 1, "source1": "/srv/reproducible-results/rbuild-debian/r-b-build.F0yzSYU8/b1/python-inline-snapshot_0.29.1-1_amd64.changes", "source2": "/srv/reproducible-results/rbuild-debian/r-b-build.F0yzSYU8/b2/python-inline-snapshot_0.29.1-1_amd64.changes", "unified_diff": null, "details": [{"source1": "Files", "source2": "Files", "unified_diff": "@@ -1,3 +1,3 @@\n \n- 8c9a0074ea265fe63f3a8d863a00b465 787760 doc optional python-inline-snapshot-doc_0.29.1-1_all.deb\n+ 0652d237180020881a34c51bbc4e1edf 787752 doc optional python-inline-snapshot-doc_0.29.1-1_all.deb\n db2b9b14160db2ab69239eb8c55a948f 53524 python optional python3-inline-snapshot_0.29.1-1_all.deb\n"}, {"source1": "python-inline-snapshot-doc_0.29.1-1_all.deb", "source2": "python-inline-snapshot-doc_0.29.1-1_all.deb", "unified_diff": null, "details": [{"source1": "file list", "source2": "file list", "unified_diff": "@@ -1,3 +1,3 @@\n -rw-r--r-- 0 0 0 4 2025-09-25 15:26:37.000000 debian-binary\n--rw-r--r-- 0 0 0 3384 2025-09-25 15:26:37.000000 control.tar.xz\n--rw-r--r-- 0 0 0 784184 2025-09-25 15:26:37.000000 data.tar.xz\n+-rw-r--r-- 0 0 0 3380 2025-09-25 15:26:37.000000 control.tar.xz\n+-rw-r--r-- 0 0 0 784180 2025-09-25 15:26:37.000000 data.tar.xz\n"}, {"source1": "control.tar.xz", "source2": "control.tar.xz", "unified_diff": null, "details": [{"source1": "control.tar", "source2": "control.tar", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "unified_diff": null, "details": [{"source1": "./md5sums", "source2": "./md5sums", "comments": ["Files differ"], "unified_diff": null}]}]}]}, {"source1": "data.tar.xz", "source2": "data.tar.xz", "unified_diff": null, "details": [{"source1": "data.tar", "source2": "data.tar", "unified_diff": null, "details": [{"source1": "./usr/share/doc/python-inline-snapshot-doc/html/pytest.html", "source2": "./usr/share/doc/python-inline-snapshot-doc/html/pytest.html", "unified_diff": "@@ -1549,47 +1549,47 @@\n assert 1 == snapshot()\n assert 2 <= snapshot(5)\n \n
> pytest test_something.py --inline-snapshot=create,report\n ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\n pytest: error: unrecognized arguments: --inline-snapshot=create,report\n inifile: None\n- rootdir: /tmp/tmp.FKteHGU7tP\n+ rootdir: /tmp/tmp.F1BMua9zEo\n \n give a short report over which changes can be made to the snapshots
\n> pytest test_something.py --inline-snapshot=short-report\n ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]\n __main__.py: error: unrecognized arguments: --inline-snapshot=short-report\n inifile: None\n- rootdir: /tmp/tmp.7iYKDx63fp\n+ rootdir: /tmp/tmp.FErvrT8tgI\n \n Info
\nshort-report exists mainly to show that snapshots have changed with enabled pytest assert-rewriting.\n This option will be replaced with report when this restriction is lifted.
\nShows a diff report over which changes can be made to the snapshots
\n> pytest test_something.py --inline-snapshot=report\n ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\n pytest: error: unrecognized arguments: --inline-snapshot=report\n inifile: None\n- rootdir: /tmp/tmp.MTqde94zuT\n+ rootdir: /tmp/tmp.YCdnX70XEd\n \n Shows a diff report for each category and ask if you want to apply the changes
\n> pytest test_something.py --inline-snapshot=review\n ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\n pytest: error: unrecognized arguments: --inline-snapshot=review\n inifile: None\n- rootdir: /tmp/tmp.EsM6CDrkvG\n+ rootdir: /tmp/tmp.UPLn6uMZ1q\n \n Disables all the snapshot logic. snapshot(x) will just return x and inline-snapshot will not be able to fix snapshots or to generate reports.\n This can be used if you think that snapshot logic causes a problem in your tests. It is also the default for CI runs.
deprecation
\n", "details": [{"source1": "html2text {}", "source2": "html2text {}", "unified_diff": "@@ -88,43 +88,43 @@\n def test_something():\n assert 1 == snapshot()\n assert 2 <= snapshot(5)\n > pytest test_something.py --inline-snapshot=create,report\n ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\n pytest: error: unrecognized arguments: --inline-snapshot=create,report\n inifile: None\n- rootdir: /tmp/tmp.FKteHGU7tP\n+ rootdir: /tmp/tmp.F1BMua9zEo\n \n ***** --inline-snapshot=short-report\u00b6 *****\n give a short report over which changes can be made to the snapshots\n > pytest test_something.py --inline-snapshot=short-report\n ERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]\n __main__.py: error: unrecognized arguments: --inline-snapshot=short-report\n inifile: None\n- rootdir: /tmp/tmp.7iYKDx63fp\n+ rootdir: /tmp/tmp.FErvrT8tgI\n \n Info\n short-report exists mainly to show that snapshots have changed with enabled\n pytest assert-rewriting. This option will be replaced with report when this\n restriction is lifted.\n ***** --inline-snapshot=report\u00b6 *****\n Shows a diff report over which changes can be made to the snapshots\n > pytest test_something.py --inline-snapshot=report\n ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\n pytest: error: unrecognized arguments: --inline-snapshot=report\n inifile: None\n- rootdir: /tmp/tmp.MTqde94zuT\n+ rootdir: /tmp/tmp.YCdnX70XEd\n \n ***** --inline-snapshot=review\u00b6 *****\n Shows a diff report for each category and ask if you want to apply the changes\n > pytest test_something.py --inline-snapshot=review\n ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\n pytest: error: unrecognized arguments: --inline-snapshot=review\n inifile: None\n- rootdir: /tmp/tmp.EsM6CDrkvG\n+ rootdir: /tmp/tmp.UPLn6uMZ1q\n \n ***** --inline-snapshot=disable\u00b6 *****\n Disables all the snapshot logic. snapshot(x) will just return x and inline-\n snapshot will not be able to fix snapshots or to generate reports. This can be\n used if you think that snapshot logic causes a problem in your tests. It is\n also the default for CI runs.\n deprecation\n"}]}, {"source1": "./usr/share/doc/python-inline-snapshot-doc/html/search/search_index.json", "source2": "./usr/share/doc/python-inline-snapshot-doc/html/search/search_index.json", "unified_diff": null, "details": [{"source1": "Pretty-printed", "source2": "Pretty-printed", "unified_diff": "@@ -1272,30 +1272,30 @@\n {\n \"location\": \"pytest.html\",\n \"text\": \"inline-snapshot provides one pytest option with different flags (create, fix, trim, update, short-report, report, disable).
Snapshot comparisons return always True if you use one of the flags create, fix or review. This is necessary because the whole test needs to be run to fix all snapshots like in this case:
from inline_snapshot import snapshot\\n\\n\\ndef test_something():\\n assert 1 == snapshot(5)\\n assert 2 <= snapshot(5)\\n Note
Every flag with the exception of disable and short-report disables the pytest assert-rewriting.
\",\n \"title\": \"pytest integration\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotcreatefixtrimupdate\",\n- \"text\": \"Approve the changes of the given category. These flags can be combined with report and review.
test_something.pyfrom inline_snapshot import snapshot\\n\\n\\ndef test_something():\\n assert 1 == snapshot()\\n assert 2 <= snapshot(5)\\n > pytest test_something.py --inline-snapshot=create,report\\nERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\\npytest: error: unrecognized arguments: --inline-snapshot=create,report\\n inifile: None\\n rootdir: /tmp/tmp.FKteHGU7tP\\n\\n\",\n+ \"text\": \"Approve the changes of the given category. These flags can be combined with report and review.
test_something.pyfrom inline_snapshot import snapshot\\n\\n\\ndef test_something():\\n assert 1 == snapshot()\\n assert 2 <= snapshot(5)\\n > pytest test_something.py --inline-snapshot=create,report\\nERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\\npytest: error: unrecognized arguments: --inline-snapshot=create,report\\n inifile: None\\n rootdir: /tmp/tmp.F1BMua9zEo\\n\\n\",\n \"title\": \"--inline-snapshot=create,fix,trim,update\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotshort-report\",\n- \"text\": \"give a short report over which changes can be made to the snapshots
> pytest test_something.py --inline-snapshot=short-report\\nERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]\\n__main__.py: error: unrecognized arguments: --inline-snapshot=short-report\\n inifile: None\\n rootdir: /tmp/tmp.7iYKDx63fp\\n\\n Info
short-report exists mainly to show that snapshots have changed with enabled pytest assert-rewriting. This option will be replaced with report when this restriction is lifted.
\",\n+ \"text\": \"give a short report over which changes can be made to the snapshots
> pytest test_something.py --inline-snapshot=short-report\\nERROR: usage: __main__.py [options] [file_or_dir] [file_or_dir] [...]\\n__main__.py: error: unrecognized arguments: --inline-snapshot=short-report\\n inifile: None\\n rootdir: /tmp/tmp.FErvrT8tgI\\n\\n Info
short-report exists mainly to show that snapshots have changed with enabled pytest assert-rewriting. This option will be replaced with report when this restriction is lifted.
\",\n \"title\": \"--inline-snapshot=short-report\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotreport\",\n- \"text\": \"Shows a diff report over which changes can be made to the snapshots
> pytest test_something.py --inline-snapshot=report\\nERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\\npytest: error: unrecognized arguments: --inline-snapshot=report\\n inifile: None\\n rootdir: /tmp/tmp.MTqde94zuT\\n\\n\",\n+ \"text\": \"Shows a diff report over which changes can be made to the snapshots
> pytest test_something.py --inline-snapshot=report\\nERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\\npytest: error: unrecognized arguments: --inline-snapshot=report\\n inifile: None\\n rootdir: /tmp/tmp.YCdnX70XEd\\n\\n\",\n \"title\": \"--inline-snapshot=report\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotreview\",\n- \"text\": \"Shows a diff report for each category and ask if you want to apply the changes
> pytest test_something.py --inline-snapshot=review\\nERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\\npytest: error: unrecognized arguments: --inline-snapshot=review\\n inifile: None\\n rootdir: /tmp/tmp.EsM6CDrkvG\\n\\n\",\n+ \"text\": \"Shows a diff report for each category and ask if you want to apply the changes
> pytest test_something.py --inline-snapshot=review\\nERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]\\npytest: error: unrecognized arguments: --inline-snapshot=review\\n inifile: None\\n rootdir: /tmp/tmp.UPLn6uMZ1q\\n\\n\",\n \"title\": \"--inline-snapshot=review\"\n },\n {\n \"location\": \"pytest.html#-inline-snapshotdisable\",\n \"text\": \"Disables all the snapshot logic. snapshot(x) will just return x and inline-snapshot will not be able to fix snapshots or to generate reports. This can be used if you think that snapshot logic causes a problem in your tests. It is also the default for CI runs.
deprecation
This option was previously called --inline-snapshot-disable