On Wed, Jan 08, 2025 at 08:34:02PM +0100, Lucas Nussbaum wrote: > > FAIL: test_invalid_json > > (tests.test_ionit.TestCollectContext.test_invalid_json) > > Test: Run collect_context(["tests/config/invalid-json"]) > > ---------------------------------------------------------------------- > > Traceback (most recent call last): > > File "/build/reproducible-path/ionit-0.5.0/tests/test_ionit.py", line > > 115, in test_invalid_json > > self.assertRegex( > > ~~~~~~~~~~~~~~~~^ > > context_manager.output[0], > > ^^^^^^^^^^^^^^^^^^^^^^^^^^ > > ...<4 lines>... > > ), > > ^^ > > ) > > ^ > > AssertionError: Regex didn't match: "ERROR:ionit:Failed to read JSON from > > '[^']*config/invalid-json/invalid.json': Expecting property name enclosed > > in double quotes: line 3 column 1 \\(char 22\\)" not found in > > "ERROR:ionit:Failed to read JSON from > > '/build/reproducible-path/ionit-0.5.0/tests/config/invalid-json/invalid.json': > > Illegal trailing comma before end of object: line 2 column 19 (char 20)"
I proposed https://github.com/bdrung/ionit/pull/3 to fix this. (Upstream, but the upstream maintainer and the Debian maintainer are the same person so I assume that's fine.) -- Colin Watson (he/him) [[email protected]]

