| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/test/ |
Upload File : |
ó
ê=Nc @ s¼ d d l m Z d d l m Z d d l m Z d Z d a d „ Z d e j f d „ ƒ YZ
d e j f d
„ ƒ YZ d e j f d „ ƒ YZ d
e j f d „ ƒ YZ
e
e e g Z d S( iÿÿÿÿ( t unittest( t text( t StringIOs¬ Every attempt to employ mathematical methods in the study of chemical
questions must be considered profoundly irrational and contrary to the
spirit of chemistry ... If mathematical analysis should ever hold a
prominent place in chemistry - an aberration which is happily almost
impossible - it would occasion a rapid and widespread degeneration of that
science.
-- Auguste Comte, Philosophie Positive, Paris, 1838
iH c C s
| a d S( N( t lineWidth( t n( ( s: /usr/lib/python2.7/dist-packages/twisted/test/test_text.pyt
set_lineWidth s t WrapTestc B s, e Z d „ Z d „ Z d „ Z d „ Z RS( c C s( t j ƒ | _ t j t t ƒ | _ d S( N( t
sampleTextt splitt sampleSplitTextR t wordWrapR t output( t self( ( s: /usr/lib/python2.7/dist-packages/twisted/test/test_text.pyt setUp s c C s\ g } x$ | j D] } | j | j ƒ ƒ q Wt | ƒ } t | j ƒ } | j | | ƒ d S( s Compare the number of words.N( R t extendR t lenR t assertEqual( R t wordst linet wordCountt sampleTextWordCount( ( s: /usr/lib/python2.7/dist-packages/twisted/test/test_text.pyt test_wordCount"