Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_difflib.pyo
mò ‚=5Dc @ s§ d k Z d k l Z l Z d k Z d k Z d e i f d „ ƒ YZ d Z d Z d Z d Z d Z d Z d e i f d „ ƒ YZ e i e ƒ Z e e e e ƒ d S( N( s run_unittests findfilet TestSFbugsc B s t Z d „ Z d „ Z RS( Nc C s[ t i d g g ƒ } | i | i ƒ d ƒ | i | i ƒ d ƒ | i | i ƒ d ƒ d S( Ni ( t difflibt SequenceMatchert Nonet st selft assertEqualt ratiot quick_ratiot real_quick_ratio( R R ( ( t' /usr/lib/python2.4/test/test_difflib.pyt test_ratio_for_null_seqn s c C sW t i d g g ƒ i ƒ } | i t | i ƒ t i g g ƒ } | i t | i ƒ d S( N( R R R t get_grouped_opcodest group_genR t assertRaisest StopIterationt nextt unified_difft diff_gen( R R R ( ( R t test_comparing_empty_lists s ( t __name__t __module__R R ( ( ( R R s s 1. Beautiful is beTTer than ugly. 2. Explicit is better than implicit. 3. Simple is better than complex. 4. Complex is better than complicated. s™ 1. Beautiful is better than ugly. 3. Simple is better than complex. 4. Complicated is better than complex. 5. Flat is better than nested. sÞ Line 1: preceeded by from:[tt] to:[ssss] Line 2: preceeded by from:[sstt] to:[sssst] Line 3: preceeded by from:[sstst] to:[ssssss] Line 4: has from:[sst] to:[sss] after : Line 5: has from:[t] to:[ss] at end sá Line 1: preceeded by from:[tt] to:[ssss] Line 2: preceeded by from:[sstt] to:[sssst] Line 3: preceeded by from:[sstst] to:[ssssss] Line 4: has from:[sst] to:[sss] after : Line 5: has from:[t] to:[ss] at end sô line 0 1234567890123456789012345689012345 line 1 line 2 line 3 line 4 changed line 5 changed line 6 changed line 7 line 8 subtracted line 9 1234567890123456789012345689012345 short line just fits in!! just fits in two lines yup!! the endsù line 0 1234567890123456789012345689012345 line 1 line 2 added line 3 line 4 chanGEd line 5a chanGed line 6a changEd line 7 line 8 line 9 1234567890 another long line that needs to be wrapped just fitS in!! just fits in two lineS yup!! the endt TestSFpatchesc B s t Z d „ Z RS( Nc C sÅ t d d d } t d d d } d d | } d d | } | i ƒ } | i ƒ } | i ƒ } | i ƒ } t i ƒ } t i ƒ } t } t } t i ƒ } t i d d ƒ } t i d d ƒ } | i | | d d d t d d ƒ} d i d | i | | d d d t ƒd | i | | d d d t ƒd | i | | d d d t d d ƒd | i | | d d d t d d ƒd | i | | d d d t ƒd | i | | d d d t ƒd | i g g d d d t ƒd | i g g d d d t ƒd | i | | ƒ d | i | | ƒ d | i | i ƒ | i ƒ d t d d ƒd | i | i ƒ | i ƒ ƒ d | i | i t ƒ | i t ƒ ƒ g ƒ } | i d d | ƒ } t t d ƒ ƒ i ƒ } | i"