Fixed python expectations.

Via the magic of sed