Open
Description
3 tests fail with the same reason:
def __test_invalid_input(data: str, msg: str, idx: int) -> None:
with pytest.raises(sdjson.JSONDecodeError) as err:
sdjson.loads(data)
if PYPY:
assert err.value.msg.startswith(msg) # Fix for varying messages between PyPy versions
else:
> assert err.value.msg == msg
E AssertionError: assert 'Illegal trai...end of object' == 'Expecting pr...double quotes'
E
E - Expecting property name enclosed in double quotes
E + Illegal trailing comma before end of object
Found in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082269 and I can confirm it locally.