def starts_with(text, substring):
 assert text.startswith(substring), ("%r doesn't start with %r" % (text, substring))

def starts_with ( text , substring ) : assert text . startswith ( substring ) , ( "%r doesn't start with %r" % ( text , substring ) )
assert text starts with substring .