13.7 KB
/srv/reproducible-results/rbuild-debian/r-b-build.HofAferT/b1/python-inline-snapshot_0.12.1-2_amd64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.HofAferT/b2/python-inline-snapshot_0.12.1-2_amd64.changes
324 B
Files
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
  
1 ·65e8bcdc33b38f2f4a332a26d4c7443e·528112·doc·optional·python-inline-snapshot-doc_0.12.1-2_all.deb1 ·6570892329d3be9ee9b3b0a64fefb784·528108·doc·optional·python-inline-snapshot-doc_0.12.1-2_all.deb
2 ·68096f8f9ca06c9cdeeddbfee9ecfefd·25940·python·optional·python3-inline-snapshot_0.12.1-2_all.deb2 ·68096f8f9ca06c9cdeeddbfee9ecfefd·25940·python·optional·python3-inline-snapshot_0.12.1-2_all.deb
13.2 KB
python-inline-snapshot-doc_0.12.1-2_all.deb
367 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-09-08·07:24:48.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-09-08·07:24:48.000000·debian-binary
2 -rw-r--r--···0········0········0·····2972·2024-09-08·07:24:48.000000·control.tar.xz2 -rw-r--r--···0········0········0·····2972·2024-09-08·07:24:48.000000·control.tar.xz
3 -rw-r--r--···0········0········0···524948·2024-09-08·07:24:48.000000·data.tar.xz3 -rw-r--r--···0········0········0···524944·2024-09-08·07:24:48.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
12.7 KB
data.tar.xz
12.7 KB
data.tar
6.93 KB
./usr/share/doc/python-inline-snapshot-doc/html/pytest.html
    
Offset 885, 15 lines modifiedOffset 885, 15 lines modified
885 <a·id="__codelineno-1-5"·name="__codelineno-1-5"·href="#__codelineno-1-5"></a>····<span·class="k">assert</span>·<span·class="mi">1</span>·<span·class="o">==</span>·<span·class="n">snapshot</span><span·class="p">()</span>885 <a·id="__codelineno-1-5"·name="__codelineno-1-5"·href="#__codelineno-1-5"></a>····<span·class="k">assert</span>·<span·class="mi">1</span>·<span·class="o">==</span>·<span·class="n">snapshot</span><span·class="p">()</span>
886 <a·id="__codelineno-1-6"·name="__codelineno-1-6"·href="#__codelineno-1-6"></a>····<span·class="k">assert</span>·<span·class="mi">2</span>·<span·class="o">&lt;=</span>·<span·class="n">snapshot</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">)</span>886 <a·id="__codelineno-1-6"·name="__codelineno-1-6"·href="#__codelineno-1-6"></a>····<span·class="k">assert</span>·<span·class="mi">2</span>·<span·class="o">&lt;=</span>·<span·class="n">snapshot</span><span·class="p">(</span><span·class="mi">5</span><span·class="p">)</span>
887 </code></pre></div>887 </code></pre></div>
888 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=create,report888 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=create,report
889 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]889 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]
890 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report890 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report
891 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None891 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None
892 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.xIWdImQZLy892 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.YhRjiw5VYB
893 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m893 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m
894 </code></pre></div>894 </code></pre></div>
895 <h2·id="-inline-snapshotshort-report">--inline-snapshot=short-report<a·class="headerlink"·href="#-inline-snapshotshort-report"·title="Permanent·link">&para;</a></h2>895 <h2·id="-inline-snapshotshort-report">--inline-snapshot=short-report<a·class="headerlink"·href="#-inline-snapshotshort-report"·title="Permanent·link">&para;</a></h2>
896 <p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>896 <p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>
897 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=short-report897 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=short-report
898 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0menvironment:·line·10:·python:·command·not·found898 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0menvironment:·line·10:·python:·command·not·found
899 </code></pre></div>899 </code></pre></div>
Offset 904, 24 lines modifiedOffset 904, 24 lines modified
904 </div>904 </div>
905 <h2·id="-inline-snapshotreport">--inline-snapshot=report<a·class="headerlink"·href="#-inline-snapshotreport"·title="Permanent·link">&para;</a></h2>905 <h2·id="-inline-snapshotreport">--inline-snapshot=report<a·class="headerlink"·href="#-inline-snapshotreport"·title="Permanent·link">&para;</a></h2>
906 <p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>906 <p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>
907 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=report907 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=report
908 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]908 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]
909 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=report909 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=report
910 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None910 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None
911 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.j7h6xJo863911 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.UiUGdBZixa
912 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m912 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m
913 </code></pre></div>913 </code></pre></div>
914 <h2·id="-inline-snapshotreview">--inline-snapshot=review<a·class="headerlink"·href="#-inline-snapshotreview"·title="Permanent·link">&para;</a></h2>914 <h2·id="-inline-snapshotreview">--inline-snapshot=review<a·class="headerlink"·href="#-inline-snapshotreview"·title="Permanent·link">&para;</a></h2>
915 <p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>915 <p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>
916 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=review916 <div·class="highlight"><pre><span></span><code><a·id="__codelineno-0-1"·name="__codelineno-0-1"·href="#__codelineno-0-1"></a>\x1b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=review
917 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]917 <a·id="__codelineno-0-2"·name="__codelineno-0-2"·href="#__codelineno-0-2"></a>\x1b[0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]
918 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=review918 <a·id="__codelineno-0-3"·name="__codelineno-0-3"·href="#__codelineno-0-3"></a>pytest:·error:·unrecognized·arguments:·--inline-snapshot=review
919 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None919 <a·id="__codelineno-0-4"·name="__codelineno-0-4"·href="#__codelineno-0-4"></a>··inifile:·None
920 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.BYA5GrDb4e920 <a·id="__codelineno-0-5"·name="__codelineno-0-5"·href="#__codelineno-0-5"></a>··rootdir:·/tmp/tmp.5sRwxSIqkx
921 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m921 <a·id="__codelineno-0-6"·name="__codelineno-0-6"·href="#__codelineno-0-6"></a>\x1b[0m
922 </code></pre></div>922 </code></pre></div>
923 <h2·id="-inline-snapshotdisable">--inline-snapshot=disable<a·class="headerlink"·href="#-inline-snapshotdisable"·title="Permanent·link">&para;</a></h2>923 <h2·id="-inline-snapshotdisable">--inline-snapshot=disable<a·class="headerlink"·href="#-inline-snapshotdisable"·title="Permanent·link">&para;</a></h2>
924 <p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>.924 <p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>.
925 This·can·be·used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,·or·if·you·want·to·speedup·your·CI.</p>925 This·can·be·used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,·or·if·you·want·to·speedup·your·CI.</p>
926 <div·class="admonition·info">926 <div·class="admonition·info">
927 <p·class="admonition-title">deprecation</p>927 <p·class="admonition-title">deprecation</p>
2.13 KB
html2text {}
    
Offset 63, 15 lines modifiedOffset 63, 15 lines modified
63 def·test_something():63 def·test_something():
64 ····assert·1·==·snapshot()64 ····assert·1·==·snapshot()
65 ····assert·2·<=·snapshot(5)65 ····assert·2·<=·snapshot(5)
66 [1;34m>·pytest·test_something.py·--inline-snapshot=create,report66 [1;34m>·pytest·test_something.py·--inline-snapshot=create,report
67 [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]67 [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]
68 pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report68 pytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report
69 ··inifile:·None69 ··inifile:·None
70 ··rootdir:·/tmp/tmp.xIWdImQZLy70 ··rootdir:·/tmp/tmp.YhRjiw5VYB
71 [0m71 [0m
72 *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=s\x8sh\x8ho\x8or\x8rt\x8t-\x8-r\x8re\x8ep\x8po\x8or\x8rt\x8t_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*72 *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=s\x8sh\x8ho\x8or\x8rt\x8t-\x8-r\x8re\x8ep\x8po\x8or\x8rt\x8t_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*
73 give·a·short·report·over·which·changes·can·be·made·to·the·snapshots73 give·a·short·report·over·which·changes·can·be·made·to·the·snapshots
74 [1;34m>·pytest·test_something.py·--inline-snapshot=short-report74 [1;34m>·pytest·test_something.py·--inline-snapshot=short-report
75 [0menvironment:·line·10:·python:·command·not·found75 [0menvironment:·line·10:·python:·command·not·found
76 Info76 Info
77 short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled77 short-report·exists·mainly·to·show·that·snapshots·have·changed·with·enabled
Offset 79, 23 lines modifiedOffset 79, 23 lines modified
79 restriction·is·lifted.79 restriction·is·lifted.
80 *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=r\x8re\x8ep\x8po\x8or\x8rt\x8t_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*80 *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=r\x8re\x8ep\x8po\x8or\x8rt\x8t_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*
81 Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots81 Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots
82 [1;34m>·pytest·test_something.py·--inline-snapshot=report82 [1;34m>·pytest·test_something.py·--inline-snapshot=report
83 [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]83 [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]
84 pytest:·error:·unrecognized·arguments:·--inline-snapshot=report84 pytest:·error:·unrecognized·arguments:·--inline-snapshot=report
85 ··inifile:·None85 ··inifile:·None
86 ··rootdir:·/tmp/tmp.j7h6xJo86386 ··rootdir:·/tmp/tmp.UiUGdBZixa
87 [0m87 [0m
88 *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=r\x8re\x8ev\x8vi\x8ie\x8ew\x8w_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*88 *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=r\x8re\x8ev\x8vi\x8ie\x8ew\x8w_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*
89 Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes89 Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes
90 [1;34m>·pytest·test_something.py·--inline-snapshot=review90 [1;34m>·pytest·test_something.py·--inline-snapshot=review
91 [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]91 [0m\x1b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]
92 pytest:·error:·unrecognized·arguments:·--inline-snapshot=review92 pytest:·error:·unrecognized·arguments:·--inline-snapshot=review
93 ··inifile:·None93 ··inifile:·None
94 ··rootdir:·/tmp/tmp.BYA5GrDb4e94 ··rootdir:·/tmp/tmp.5sRwxSIqkx
95 [0m95 [0m
96 *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=d\x8di\x8is\x8sa\x8ab\x8bl\x8le\x8e_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*96 *\x8**\x8**\x8**\x8**\x8*·-\x8--\x8-i\x8in\x8nl\x8li\x8in\x8ne\x8e-\x8-s\x8sn\x8na\x8ap\x8ps\x8sh\x8ho\x8ot\x8t=\x8=d\x8di\x8is\x8sa\x8ab\x8bl\x8le\x8e_\x8?\x8·*\x8**\x8**\x8**\x8**\x8*
97 Disables·all·the·snapshot·logic.·snapshot(x)·will·just·return·x.·This·can·be97 Disables·all·the·snapshot·logic.·snapshot(x)·will·just·return·x.·This·can·be
98 used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,98 used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,
99 or·if·you·want·to·speedup·your·CI.99 or·if·you·want·to·speedup·your·CI.
100 deprecation100 deprecation
101 This·option·was·previously·called·--inline-snapshot-disable101 This·option·was·previously·called·--inline-snapshot-disable
5.71 KB
./usr/share/doc/python-inline-snapshot-doc/html/search/search_index.json
5.57 KB
Pretty-printed
Similarity: 0.9989837398373984% Differences: {"'docs'": "{108: {'text': '<p>Approve the changes of the given category. These flags can be " 'combined with report and review.</p> test_something.py<pre><code>from inline_snapshot ' 'import snapshot\\n\\n\\ndef test_something():\\n assert 1 == snapshot()\\n ' 'assert 2 &lt;= snapshot(5)\\n</code></pre> <pre><code>\\x1b[1;34m&gt; pytest ' 'test_something.py --inline-snapshot=create,report\\n\\x1b[0m\\x1b[31mERROR: usage: ' 'pytest [options] [file […]
    
Offset 547, 30 lines modifiedOffset 547, 30 lines modified
547 ········{547 ········{
548 ············"location":·"pytest.html",548 ············"location":·"pytest.html",
549 ············"text":·"<p>inline-snapshot·provides·one·pytest·option·with·different·flags·(create,·fix,·trim,·update,·short-report,·report,·disable).</p>·<p>Snapshot·comparisons·return·always·<code>True</code>·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:</p>·<pre><code>from·inline_snapshot·import·snapshot\n\n\ndef·test_something():\n····assert·1·==·snapshot(5)\n····assert·2·&lt;=·snapshot(5)\n</code></pre>·<p>Note</p>·<p>Every·flag·with·the·exception·of·disable·and·short-report·disables·the·pytest·assert-rewriting.</p>",549 ············"text":·"<p>inline-snapshot·provides·one·pytest·option·with·different·flags·(create,·fix,·trim,·update,·short-report,·report,·disable).</p>·<p>Snapshot·comparisons·return·always·<code>True</code>·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:</p>·<pre><code>from·inline_snapshot·import·snapshot\n\n\ndef·test_something():\n····assert·1·==·snapshot(5)\n····assert·2·&lt;=·snapshot(5)\n</code></pre>·<p>Note</p>·<p>Every·flag·with·the·exception·of·disable·and·short-report·disables·the·pytest·assert-rewriting.</p>",
550 ············"title":·"pytest·integration"550 ············"title":·"pytest·integration"
551 ········},551 ········},
552 ········{552 ········{
553 ············"location":·"pytest.html#-inline-snapshotcreatefixtrimupdate",553 ············"location":·"pytest.html#-inline-snapshotcreatefixtrimupdate",
554 ············"text":·"<p>Approve·the·changes·of·the·given·category.·These·flags·can·be·combined·with·report·and·review.</p>·test_something.py<pre><code>from·inline_snapshot·import·snapshot\n\n\ndef·test_something():\n····assert·1·==·snapshot()\n····assert·2·&lt;=·snapshot(5)\n</code></pre>·<pre><code>\u001b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=create,report\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report\n··inifile:·None\n··rootdir:·/tmp/tmp.xIWdImQZLy\n\u001b[0m\n</code></pre>",554 ············"text":·"<p>Approve·the·changes·of·the·given·category.·These·flags·can·be·combined·with·report·and·review.</p>·test_something.py<pre><code>from·inline_snapshot·import·snapshot\n\n\ndef·test_something():\n····assert·1·==·snapshot()\n····assert·2·&lt;=·snapshot(5)\n</code></pre>·<pre><code>\u001b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=create,report\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=create,report\n··inifile:·None\n··rootdir:·/tmp/tmp.YhRjiw5VYB\n\u001b[0m\n</code></pre>",
555 ············"title":·"--inline-snapshot=create,fix,trim,update"555 ············"title":·"--inline-snapshot=create,fix,trim,update"
556 ········},556 ········},
557 ········{557 ········{
558 ············"location":·"pytest.html#-inline-snapshotshort-report",558 ············"location":·"pytest.html#-inline-snapshotshort-report",
559 ············"text":·"<p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>\u001b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=short-report\n\u001b[0menvironment:·line·10:·python:·command·not·found\n</code></pre>·<p>Info</p>·<p>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.</p>",559 ············"text":·"<p>give·a·short·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>\u001b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=short-report\n\u001b[0menvironment:·line·10:·python:·command·not·found\n</code></pre>·<p>Info</p>·<p>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.</p>",
560 ············"title":·"--inline-snapshot=short-report"560 ············"title":·"--inline-snapshot=short-report"
561 ········},561 ········},
562 ········{562 ········{
563 ············"location":·"pytest.html#-inline-snapshotreport",563 ············"location":·"pytest.html#-inline-snapshotreport",
564 ············"text":·"<p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>\u001b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=report\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=report\n··inifile:·None\n··rootdir:·/tmp/tmp.j7h6xJo863\n\u001b[0m\n</code></pre>",564 ············"text":·"<p>Shows·a·diff·report·over·which·changes·can·be·made·to·the·snapshots</p>·<pre><code>\u001b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=report\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=report\n··inifile:·None\n··rootdir:·/tmp/tmp.UiUGdBZixa\n\u001b[0m\n</code></pre>",
565 ············"title":·"--inline-snapshot=report"565 ············"title":·"--inline-snapshot=report"
566 ········},566 ········},
567 ········{567 ········{
568 ············"location":·"pytest.html#-inline-snapshotreview",568 ············"location":·"pytest.html#-inline-snapshotreview",
569 ············"text":·"<p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>·<pre><code>\u001b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=review\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=review\n··inifile:·None\n··rootdir:·/tmp/tmp.BYA5GrDb4e\n\u001b[0m\n</code></pre>",569 ············"text":·"<p>Shows·a·diff·report·for·each·category·and·ask·if·you·want·to·apply·the·changes</p>·<pre><code>\u001b[1;34m&gt;·pytest·test_something.py·--inline-snapshot=review\n\u001b[0m\u001b[31mERROR:·usage:·pytest·[options]·[file_or_dir]·[file_or_dir]·[...]\npytest:·error:·unrecognized·arguments:·--inline-snapshot=review\n··inifile:·None\n··rootdir:·/tmp/tmp.5sRwxSIqkx\n\u001b[0m\n</code></pre>",
570 ············"title":·"--inline-snapshot=review"570 ············"title":·"--inline-snapshot=review"
571 ········},571 ········},
572 ········{572 ········{
573 ············"location":·"pytest.html#-inline-snapshotdisable",573 ············"location":·"pytest.html#-inline-snapshotdisable",
574 ············"text":·"<p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>.·This·can·be·used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,·or·if·you·want·to·speedup·your·CI.</p>·<p>deprecation</p>·<p>This·option·was·previously·called·<code>--inline-snapshot-disable</code></p>",574 ············"text":·"<p>Disables·all·the·snapshot·logic.·<code>snapshot(x)</code>·will·just·return·<code>x</code>.·This·can·be·used·if·you·think·exclude·that·snapshot·logic·causes·a·problem·in·your·tests,·or·if·you·want·to·speedup·your·CI.</p>·<p>deprecation</p>·<p>This·option·was·previously·called·<code>--inline-snapshot-disable</code></p>",
575 ············"title":·"--inline-snapshot=disable"575 ············"title":·"--inline-snapshot=disable"
576 ········},576 ········},