%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/test/ |
Current File : //usr/local/lib/python2.7/test/sample_doctest.pyo |
ó Nêáac @ sc d Z d „ Z d „ Z d „ Z d „ Z d Z d „ Z d „ Z i d d 6d d 6Z d „ Z d S( s This is a sample module that doesn't really test anything all that interesting. It simply has a few tests, some of which succeed and some of which fail. It's important that the numbers remain constant as another test is testing the running of these tests. >>> 2+2 4 c C s d S( s+ >>> 2+2 5 >>> 2+2 4 N( ( ( ( s/ /usr/local/lib/python2.7/test/sample_doctest.pyt foo t c C s d S( s >>> 2+2 4 N( ( ( ( s/ /usr/local/lib/python2.7/test/sample_doctest.pyt bar R c C s d S( sU >>> import test.test_doctest >>> test.test_doctest.sillySetup True N( ( ( ( s/ /usr/local/lib/python2.7/test/sample_doctest.pyt test_silly_setup R c C s d S( sj >>> if 1: ... print 'a' ... print ... print 'b' a <BLANKLINE> b N( ( ( ( s/ /usr/local/lib/python2.7/test/sample_doctest.pyt w_blank( R i c C s d S( s >>> x 1 N( ( ( ( s/ /usr/local/lib/python2.7/test/sample_doctest.pyt x_is_one4 R c C s d S( s >>> y 1 N( ( ( ( s/ /usr/local/lib/python2.7/test/sample_doctest.pyt y_is_one: R sG >>> 42 42 t goodsH >>> 42 666 t badc C s d d l } | j ƒ S( Niÿÿÿÿ( t doctestt DocTestSuite( R ( ( s/ /usr/local/lib/python2.7/test/sample_doctest.pyt test_suiteJ s N( t __doc__R R R R t xR R t __test__R ( ( ( s/ /usr/local/lib/python2.7/test/sample_doctest.pyt <module> s