<s> """<STR_LIT>""" <EOL> import unittest <EOL> from test import test_support <EOL> locals_test = list ( local for local in locals ( ) if not local . startswith ( '<STR_LIT:_>' ) ) <EOL> class GeneratorExpressionsTestCase ( unittest . TestCase ) : <EOL> def test_module_level_locals ( self ) : <EOL> self . assert_ ( sorted ( locals_test ) == [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> def test_long_genexp ( self ) : <EOL> res = ( ( x1 ** <NUM_LIT:3> + x2 ** <NUM_LIT:3> , ( x1 , x2 ) , ( y1 , y2 ) ) <EOL> for x1 in range ( <NUM_LIT:20> ) for x2 in range ( <NUM_LIT:20> ) if x1 < x2 <EOL> for y1 in range ( <NUM_LIT:20> ) for y2 in range ( <NUM_LIT:20> ) if y1 < y2 <EOL> if x1 ** <NUM_LIT:3> + x2 ** <NUM_LIT:3> == y1 ** <NUM_LIT:3> + y2 ** <NUM_LIT:3> <EOL> if ( x1 , x2 ) < ( y1 , y2 ) <EOL> ) <EOL> self . assertEquals ( <NUM_LIT> , res . next ( ) [ <NUM_LIT:0> ] ) <EOL> def test_main ( ) : <EOL> test_support . run_unittest ( GeneratorExpressionsTestCase ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> test_main ( ) </s>
