From: Todd Zullinger Date: Wed, 06 Jun 2018 17:10:52 GMT Subject: Re: [PATCH v7 2/2] json-writer: t0019: add Python unit test Message-ID: <20180606171052.GI3094@zaya.teonanacatl.net> In-Reply-To: <20180605163358.119080-3-git@jeffhostetler.com> git@jeffhostetler.com wrote: > +# As a sanity check, ask Python to parse our generated JSON. Let Python > +# recursively dump the resulting dictionary in sorted order. Confirm that > +# that matches our expectations. > +test_expect_success PYTHON 'parse JSON using Python' ' [...] > + python "$TEST_DIRECTORY"/t0019/parse_json_1.py actual && Would this be better using $PYTHON_PATH rather than hard-coding python as the command? -- Todd ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sometimes I think I understand everything, then I regain consciousness.