old_contents: #-*- coding: utf-8 -*-
  """
  @brief      test log(time=60s)
  """
  
  import sys
  import os
  import unittest
  
  
  try:
      import src
  except ImportError:
      path = os.path.normpath(
          os.path.abspath(
              os.path.join(
                  os.path.split(__file__)[0],
                  "..",
                  "..")))
      if path not in sys.path:
          sys.path.append(path)
      import src
  
  try:
      import pyquickhelper as skip_
  except ImportError:
      path = os.path.normpath(
          os.path.abspath(
              os.path.join(
                  os.path.split(__file__)[0],
                  "..",
                  "..",
                  "..",
                  "pyquickhelper",
                  "src")))
      if path not in sys.path:
          sys.path.append(path)
      import pyquickhelper as skip_
  
  from pyquickhelper.loghelper import fLOG
  from pyquickhelper.pycode import add_missing_development_version
  
  
  class TestPopulationFecondite(unittest.TestCase):
  
      def setUp(self):
          add_missing_development_version(["pymyinstall", "pyensae", "pymmails", "pyrsslocal"],
                                          __file__, hide=True)
  
      def test_population_fecondite(self):
          fLOG(
              __file__,
              self._testMethodName,
              OutputPrint=__name__ == "__main__")
          from src.actuariat_python.data import fecondite_france
          df = fecondite_france()
          fLOG(df.shape)
          assert len(df) > 35
          self.assertEqual(df.shape[1], 3)
          self.assertEqual(df.columns[0], "age")
          self.assertEqual(df.columns[-1], "2015")
  
  
  if __name__ == "__main__":
      unittest.main()
  
new_contents: #-*- coding: utf-8 -*-
  """
  @brief      test log(time=60s)
  """
  
  import sys
  import os
  import unittest
  
  
  try:
      import src
  except ImportError:
      path = os.path.normpath(
          os.path.abspath(
              os.path.join(
                  os.path.split(__file__)[0],
                  "..",
                  "..")))
      if path not in sys.path:
          sys.path.append(path)
      import src
  
  try:
      import pyquickhelper as skip_
  except ImportError:
      path = os.path.normpath(
          os.path.abspath(
              os.path.join(
                  os.path.split(__file__)[0],
                  "..",
                  "..",
                  "..",
                  "pyquickhelper",
                  "src")))
      if path not in sys.path:
          sys.path.append(path)
      import pyquickhelper as skip_
  
  from pyquickhelper.loghelper import fLOG
  from pyquickhelper.pycode import add_missing_development_version
  
  
  class TestPopulationFecondite(unittest.TestCase):
  
      def setUp(self):
          add_missing_development_version(["pymyinstall", "pyensae", "pymmails", "pyrsslocal"],
                                          __file__, hide=True)
  
      def test_population_fecondite(self):
          fLOG(
              __file__,
              self._testMethodName,
              OutputPrint=__name__ == "__main__")
          from src.actuariat_python.data import fecondite_france
          df = fecondite_france()
          fLOG(df.shape)
          self.assertTrue(len(df) >= 35)
          self.assertEqual(df.shape[1], 3)
          self.assertEqual(df.columns[0], "age")
          self.assertEqual(df.columns[-1], "2015")
  
  
  if __name__ == "__main__":
      unittest.main()
  
subject: update unit test