def assert_equal_mod_whitespace(first, second, msg=None):
 nose.tools.assert_equal(compact_whitespace(first), compact_whitespace(second), msg)

def assert_equal_mod_whitespace ( first , second , msg = None ) : nose . tools . assert_equal ( compact_whitespace ( first ) , compact_whitespace ( second ) , msg )
asserts that two strings are equal .