from redlines import Redlines test = Redlines("The quick brown fox jumps over the lazy dog.") assert test.compare( 'The quick brown fox walks past the lazy dog.') == "The quick brown fox jumps over walks past the lazy dog." assert test.compare( 'The quick brown fox jumps over the dog.') == 'The quick brown fox jumps over the lazy dog.'