<s> from lino . utils . pythontest import TestCase <EOL> class DocTest ( TestCase ) : <EOL> def test_files ( self ) : <EOL> self . check_doctest ( '<STR_LIT>' ) <EOL> from django import VERSION <EOL> self . assertEqual ( VERSION [ <NUM_LIT:0> ] , <NUM_LIT:1> ) <EOL> if VERSION [ <NUM_LIT:1> ] == <NUM_LIT:6> : <EOL> self . check_doctest ( '<STR_LIT>' ) <EOL> elif VERSION [ <NUM_LIT:1> ] > <NUM_LIT:6> : <EOL> self . check_doctest ( '<STR_LIT>' ) <EOL> else : <EOL> self . fail ( "<STR_LIT>" . format ( VERSION ) ) </s>
