<s> from tests . util import * <EOL> class TestUDiffParsing ( TestCase ) : <EOL> def test_udiff_parsing ( self ) : <EOL> with open ( os . path . join ( TEST_DIR , '<STR_LIT>' ) ) as f : <EOL> example_udiff = f . read ( ) <EOL> lines = list ( modified_lines_from_udiff ( example_udiff ) ) <EOL> assert ( lines == [ ( <NUM_LIT> , <NUM_LIT> ) , ( <NUM_LIT> , <NUM_LIT> ) , ( <NUM_LIT> , <NUM_LIT> ) ] ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> test_main ( ) </s>
