<s> import os <EOL> import unittest <EOL> import pep8 <EOL> class TestFormatting ( unittest . TestCase ) : <EOL> def test_pep8 ( self ) : <EOL> basepath = os . getcwd ( ) <EOL> print '<STR_LIT>' , basepath <EOL> path_list = [ basepath + '<STR_LIT>' , basepath + '<STR_LIT>' ] <EOL> pep8style = pep8 . StyleGuide ( paths = path_list , ignore = [ '<STR_LIT>' , '<STR_LIT>' ] ) <EOL> report = pep8style . check_files ( ) <EOL> if report . total_errors : <EOL> print report . total_errors <EOL> self . assertEqual ( <EOL> report . total_errors , <NUM_LIT:0> , '<STR_LIT>' ) </s>
