<s> from os import path <EOL> import unittest <EOL> import pep8 <EOL> _project_root = path . abspath ( path . join ( path . dirname ( __file__ ) , '<STR_LIT:..>' ) ) <EOL> _src_dirs = map ( lambda x : path . join ( _project_root , x ) , [ '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> class Pep8TestCase ( unittest . TestCase ) : <EOL> def test_pep8 ( self ) : <EOL> pep8style = pep8 . StyleGuide ( <EOL> show_pep8 = False , <EOL> show_source = True , <EOL> max_line_length = <NUM_LIT> , <EOL> statistics = True , <EOL> ) <EOL> result = pep8style . check_files ( _src_dirs ) <EOL> self . assertEqual ( result . total_errors , <NUM_LIT:0> , '<STR_LIT>' ) </s>
