old_contents: # -*- coding: utf-8 -*-
  """
  @brief      test log(time=28s)
  """
  import unittest
  from pyquickhelper.loghelper import fLOG
  from pyquickhelper.pycode import get_temp_folder, add_missing_development_version
  import ensae_teaching_cs
  
  
  class TestNotebookRunner1a_soft(unittest.TestCase):
  
      def setUp(self):
          add_missing_development_version(["pymyinstall", "pyensae", "pymmails", "jyquickhelper", "mlstatpy"],
                                          __file__, hide=True)
  
      def test_notebook_runner_soft(self):
          fLOG(
              __file__,
              self._testMethodName,
              OutputPrint=__name__ == "__main__")
          temp = get_temp_folder(__file__, "temp_notebook1a_soft")
          from ensae_teaching_cs.automation.notebook_test_helper import ls_notebooks, execute_notebooks, clean_function_1a
          keepnote = ls_notebooks("td1a_soft")
          for n in keepnote:
              fLOG(n)
          execute_notebooks(temp, keepnote,
                            lambda i, n: "csharp" not in n and "edit_correction" not in n and "sql" not in n,
                            fLOG=fLOG,
                            clean_function=clean_function_1a,
                            dump=ensae_teaching_cs)
  
  
  if __name__ == "__main__":
      unittest.main()
  
new_contents: # -*- coding: utf-8 -*-
  """
  @brief      test log(time=53s)
  """
  import unittest
  from pyquickhelper.loghelper import fLOG
  from pyquickhelper.pycode import (
      get_temp_folder, add_missing_development_version, skipif_circleci
  )
  import ensae_teaching_cs
  
  
  class TestNotebookRunner1a_soft(unittest.TestCase):
  
      def setUp(self):
          add_missing_development_version(["pymyinstall", "pyensae", "pymmails", "jyquickhelper", "mlstatpy"],
                                          __file__, hide=True)
  
      @skipif_circleci('too long')
      def test_notebook_runner_soft(self):
          fLOG(
              __file__,
              self._testMethodName,
              OutputPrint=__name__ == "__main__")
          temp = get_temp_folder(__file__, "temp_notebook1a_soft")
          from ensae_teaching_cs.automation.notebook_test_helper import ls_notebooks, execute_notebooks, clean_function_1a
          keepnote = ls_notebooks("td1a_soft")
          for n in keepnote:
              fLOG(n)
          execute_notebooks(temp, keepnote,
                            lambda i, n: "csharp" not in n and "edit_correction" not in n and "sql" not in n,
                            fLOG=fLOG,
                            clean_function=clean_function_1a,
                            dump=ensae_teaching_cs)
  
  
  if __name__ == "__main__":
      unittest.main()
  
subject: disable on test on circleci