Is there anything before the JSON in the output? What I'm wondering is if this can be converted into ``self.assertTrue(p.stdout.startswith('{', p.stdout)`` to ensure it's actually starting the right way & not just the right character being present elsewhere in the output.