old_contents: """
  @brief      test log(time=0s)
  """
  import os
  import unittest
  from pyquickhelper.loghelper import fLOG
  from pyquickhelper.pycode import check_pep8, ExtTestCase
  
  
  class TestCodeStyle(ExtTestCase):
      """Test style."""
  
      def test_style_src(self):
          thi = os.path.abspath(os.path.dirname(__file__))
          src_ = os.path.normpath(os.path.join(thi, "..", "..", "src"))
          check_pep8(src_, fLOG=fLOG,
                     pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613',
                                    'C0111', 'W0703', 'W0223', 'W0107'),
                     skip=["Redefining built-in 'filter'",
                           "geocoding.py:174: E0702",
                           "elections.py:298: W0603",
                           ])
  
      def test_style_test(self):
          thi = os.path.abspath(os.path.dirname(__file__))
          test = os.path.normpath(os.path.join(thi, "..", ))
          check_pep8(test, fLOG=fLOG, neg_pattern="temp_.*",
                     pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613',
                                    'C0111', 'W0107', 'C0415'),
                     skip=["Unable to import 'keyring'",
                           ])
  
  
  if __name__ == "__main__":
      unittest.main()
  
new_contents: """
  @brief      test log(time=0s)
  """
  import os
  import unittest
  from pyquickhelper.loghelper import fLOG
  from pyquickhelper.pycode import check_pep8, ExtTestCase
  
  
  class TestCodeStyle(ExtTestCase):
      """Test style."""
  
      def test_style_src(self):
          thi = os.path.abspath(os.path.dirname(__file__))
          src_ = os.path.normpath(os.path.join(thi, "..", "..", "src"))
          check_pep8(src_, fLOG=fLOG,
                     pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613',
                                    'C0111', 'W0703', 'W0223', 'W0107', 'C0415'),
                     skip=["Redefining built-in 'filter'",
                           "geocoding.py:174: E0702",
                           "elections.py:298: W0603",
                           ])
  
      def test_style_test(self):
          thi = os.path.abspath(os.path.dirname(__file__))
          test = os.path.normpath(os.path.join(thi, "..", ))
          check_pep8(test, fLOG=fLOG, neg_pattern="temp_.*",
                     pylint_ignore=('C0103', 'C1801', 'R0201', 'R1705', 'W0108', 'W0613',
                                    'C0111', 'W0107', 'C0415'),
                     skip=["Unable to import 'keyring'",
                           ])
  
  
  if __name__ == "__main__":
      unittest.main()
  
subject: Update test_code_style.py