def METHOD_NAME(self):
    stdout = mock.Mock(encoding=None)
    cfg = config.Config(stdout=stdout)
    cfg.print_stdout("méil %s %s", "x", "y")
    eq_(
        stdout.mock_calls,
        [mock.call.write("m?il x y"), mock.call.write("\n")],
    )