tests/test_analyzer.py
def assert_similar_strings(string_1, string_2):
    """Assert that the string are equal to the exception of white spaces and new lines"""
    assert string_1.translate({ord(" "): None, ord("\n"): None}) == string_2.translate(
        {ord(" "): None, ord("\n"): None}
    )
Assert that the string are equal to the exception of white spaces and new lines
Assert that the string are equal to the exception of white spaces and new lines
Assert that the string are equal to the exception of white spaces and new lines
def assert_similar_strings(string_1, string_2):
    assert string_1.translate({ord(" "): None, ord("\n"): None}) == string_2.translate(
        {ord(" "): None, ord("\n"): None}
    )
def assert_similar_strings ( string_1 , string_2 ) : assert string_1 . translate ( { ord ( " " ) : None , ord ( "\n" ) : None } ) == string_2 . translate ( { ord ( " " ) : None , ord ( "\n" ) : None } )
Assert that the string are equal to the exception of white spaces and new lines
Assert that the string are equal to the exception of white spaces and new lines
"""Assert that the string are equal to the exception of white spaces and new lines"""
string_1
string_2